atl_initialize Subroutine

public subroutine atl_initialize(params, container, equation, tree, varSys_data, timestepLimit, poly_proj_list)

Routine to initialize the complete Ateles solver.

It reads the configuration from the given Lua script, and creates the necessary data structures for the computation.

For a detailed description see Initialization

COUPLING USING EQUIDISTANT AND NON-EQUIDISTANT POINTS Reminder: For the equidistant and non-equidistant points the call for the setup_indices is included in the atl_write_equiPoints/atl_writenonequiPoints routine.

Arguments

TypeIntentOptionalAttributesName
type(atl_solver_param_type), intent(inout) :: params
type(atl_element_container_type), intent(inout), target:: container

Container of mesh data. This includes information about the mesh parts, the scheme, but also the initial kernel states (i.e. initial conditions).

type(atl_Equations_type), intent(inout), target:: equation

Description on the equation system to solve.

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

Mesh data in treelmesh format.

type(atl_varSys_solverData_type), intent(inout), target:: varSys_data

Data infomation of the variable System

real(kind=rk), intent(inout), optional :: timestepLimit

timesteplimitation due to the precice timestep

type(ply_poly_project_type), intent(inout), allocatable, target:: poly_proj_list(:)

unique list for projection methods


Calls

atl_initializewatl_alloc_temp
w
watl_allocate_sourceData
w
watl_bc_state_set_fromPoint
w
watl_create_fortranVar
w
watl_fill_BCIndex
w
watl_flux_initGodunov
w
watl_init_elem_container
w
watl_init_equation
w
watl_init_materialParams
w
watl_init_penalization
w
watl_init_precice
w
watl_init_spacebasis
w
watl_init_varSys_solverData
w
watl_initialize_sources
w
watl_initRestart
w
watl_initWeights
w
watl_load_initial_condition
w
watl_load_projection
w
watl_readRestart
w
watl_store_bcVarPos
w
wclose_config
w
winit
w
wply_fill_project_list
w
wply_sampled_track_init
w
wtem_create_subTree_of_st_funList
w
wtem_init_convergence
w
wtem_open_distconf
w
wtem_opVar_reduction_transient_init
w
wtem_precice_create
w
wtem_stencil_map_toTreelmDef
w
wtem_variable_load
w
wtem_varSys_append_luaVar
w
wtem_varSys_append_meshInfoVar
w

Called by

proc~~atl_initialize~~CalledByGraph proc~atl_initialize atl_initialize 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
type(dyn_projectionarray_type), private :: dynprojectArray

unique list for projection methods

integer, private, allocatable:: ic_prj_pos_list(:)

position pointing if projection method used for ic

integer, private :: nDofsIO
integer, private :: scheme_dim
integer, private :: stateShape(3)
type(tem_stencilHeader_type), private :: stencil
type(atl_init_source_type), private :: initSource

This structure takes the information about source terms from the equation system and stores them to evaluate the present source terms in the configuration file. After adding the active source terms to the variable system, this structure is not needed anymore.

type(atl_init_material_type), private :: initMaterial
character(len=PathLen), private :: configFile
type(tem_variable_type), private, allocatable:: userVars(:)
type(tem_variable_type), private, allocatable:: atlVars(:)
integer, private, allocatable:: vError(:)
type(tem_varSys_solverData_evalElem_type), private :: solverData_evalElem
type(flu_State), private :: eqn_conf