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

Type IntentOptional Attributes Name
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