atl_init_precice Subroutine

public subroutine atl_init_precice(params, equation, tree, mesh_list, timestepLimit)

Read from preCICE the requested points

If coupling with precice is used, precice need to be initilized to calcualte e.g. the mapping, and communication and the precice_timestep loaded from the config file as input need to be called after precice_create and set?read/write/mesh positions to precice and before initial condition is writen to precice

get the internal precice name for the action writining initial data with this name we check is this action is required

check if action is required and if so, write initial condition to precice call to precice to exchange the initialize Data

Arguments

TypeIntentOptionalAttributesName
type(atl_solver_param_type), intent(inout) :: params
type(atl_Equations_type), intent(inout), target:: equation

Description on the equation system to solve.

type(treelmesh_type), intent(in) :: tree

Mesh data in treelmesh format.

type(atl_cube_elem_type), intent(in) :: mesh_list(tree%global%minLevel:tree%global%maxLevel)
real(kind=rk), intent(inout) :: timestepLimit

timesteplimitation due to the precice timestep


Calls

proc~~atl_init_precice~~CallsGraph proc~atl_init_precice atl_init_precice tem_precice_initialize_data tem_precice_initialize_data proc~atl_init_precice->tem_precice_initialize_data proc~tem_stoptimer tem_stopTimer proc~atl_init_precice->proc~tem_stoptimer tem_precice_init tem_precice_init proc~atl_init_precice->tem_precice_init tem_precice_action_required tem_precice_action_required proc~atl_init_precice->tem_precice_action_required proc~atl_write_precice atl_write_precice proc~atl_init_precice->proc~atl_write_precice proc~atl_write_precice_getpoint atl_write_precice_getPoint proc~atl_init_precice->proc~atl_write_precice_getpoint tem_precice_fulfilled_action tem_precice_fulfilled_action proc~atl_init_precice->tem_precice_fulfilled_action proc~tem_horizontalspacer tem_horizontalSpacer proc~atl_init_precice->proc~tem_horizontalspacer tem_precice_action_write_initdata tem_precice_action_write_initdata proc~atl_init_precice->tem_precice_action_write_initdata proc~atl_read_precice atl_read_precice proc~atl_init_precice->proc~atl_read_precice proc~tem_starttimer tem_startTimer proc~atl_init_precice->proc~tem_starttimer tem_precice_write tem_precice_write proc~atl_write_precice->tem_precice_write proc~atl_write_nonequipoints atl_write_nonequiPoints proc~atl_write_precice_getpoint->proc~atl_write_nonequipoints proc~atl_write_equipoints atl_write_equiPoints proc~atl_write_precice_getpoint->proc~atl_write_equipoints tem_precice_set_vertices_pos tem_precice_set_vertices_pos proc~atl_read_precice->tem_precice_set_vertices_pos proc~atl_write_nonequipoints->tem_precice_set_vertices_pos interface~append~2 append proc~atl_write_nonequipoints->interface~append~2 proc~atl_nearest_projection atl_nearest_projection proc~atl_write_nonequipoints->proc~atl_nearest_projection proc~atl_write_equipoints->tem_precice_set_vertices_pos tem_create_surface_equidistant_points tem_create_surface_equidistant_points proc~atl_write_equipoints->tem_create_surface_equidistant_points proc~atl_reftophyscoord atl_refToPhysCoord proc~atl_write_equipoints->proc~atl_reftophyscoord proc~tem_coordofreal tem_CoordOfReal proc~atl_write_equipoints->proc~tem_coordofreal proc~atl_write_equipoints->interface~append~2 proc~tem_baryofid tem_BaryOfId proc~atl_write_equipoints->proc~tem_baryofid proc~tem_idofcoord tem_IdOfCoord proc~atl_write_equipoints->proc~tem_idofcoord proc~atl_write_equipoints->proc~atl_nearest_projection posids posids proc~atl_nearest_projection->posids tem_precice_set_triangle tem_precice_set_triangle proc~atl_nearest_projection->tem_precice_set_triangle tem_precice_set_edge tem_precice_set_edge proc~atl_nearest_projection->tem_precice_set_edge triangles triangles proc~atl_nearest_projection->triangles tem_create_edges_triangles tem_create_edges_triangles proc~atl_nearest_projection->tem_create_edges_triangles edges edges proc~atl_nearest_projection->edges

Called by

proc~~atl_init_precice~~CalledByGraph proc~atl_init_precice atl_init_precice proc~atl_initialize atl_initialize proc~atl_initialize->proc~atl_init_precice proc~atl_initialize_program atl_initialize_program proc~atl_initialize_program->proc~atl_initialize program~atl_harvesting atl_harvesting program~atl_harvesting->proc~atl_initialize program~ateles ateles program~ateles->proc~atl_initialize_program

Contents


Variables

TypeVisibilityAttributesNameInitial
character(len=labelLen), private :: nameaction
integer, private :: action_isrequired