atl_append_newSourceVars Subroutine

public subroutine atl_append_newSourceVars(me, varSys, varSys_data, poss_srcVars, eval_source)

Arguments

Type IntentOptional Attributes Name
type(atl_source_type), intent(inout) :: me

Instance of atl_source_type to be initialized. This instance will contain the source definitions from lua as well as the corresponding variables in the global variable system.

type(tem_varSys_type), intent(inout) :: varSys

The variable system to which the souce variables have to be added

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

Data for the variable System

type(tem_possible_variable_type) :: poss_srcVars

The list of possible source variables. This is used to determine the index of the eval-source_routine in eval_source.

type(atl_eqn_sourceMap_type), allocatable :: eval_source(:)

List of function pointers for each possible source to apply the source term to the state.