atl_init_equation Subroutine

public subroutine atl_init_equation(equation, conf, varSys_data, initSource, initMaterial)

This subroutine reads the equation system to solve from the configuration.

It creates the necessary data structures and sets the required values according to the configuration.

Todo

All equation specific initialization routines should have a default

Arguments

Type IntentOptional Attributes Name
type(atl_Equations_type), intent(out) :: equation

Equation system to set with this routine.

type(flu_State), intent(in) :: conf

Handle to the Lua configuration

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

the pointer to the data required for the varsys

type(atl_init_source_type), intent(inout) :: initSource

Type to be filled with the possible source variables for the equation system. These source variables are later on used to extract the corresponding information from the configuration file.

type(atl_init_material_type), intent(inout) :: initMaterial

Type to be filled with the possible material variables for the equation system. These material variables are later on used to extract the corresponding information from the configuration file.