atl_append_newMaterialVars Subroutine

public subroutine atl_append_newMaterialVars(varSys, varSys_data, poss_matVars, materialFun, variables)

Adds the configured material variables to the variable system.

All variables in \ref variables are added to the varSys. Their getPoint and getElement routines are confgured to retrieve their data from the corresponding spacetime function that was already added to the varSys.

Todo

We might use default settings here instead, if applicable, as for example for the conductivity in maxwell equations. However, the behavior should be configured by the equation system. Maybe this could also be handled when loading the materials instead.

Arguments

Type IntentOptional Attributes Name
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(inout), target :: varSys_data

Data of the variable System index of the eval-source_routine in eval_source.

type(tem_possible_variable_type) :: poss_matVars
type(atl_materialFun_type), intent(inout) :: materialFun
type(grw_stringkeyvaluepairarray_type), intent(inout) :: variables

Calls

proc~~atl_append_newmaterialvars~~CallsGraph proc~atl_append_newmaterialvars atl_append_newMaterialVars input_varpos input_varpos proc~atl_append_newmaterialvars->input_varpos positionofval positionofval proc~atl_append_newmaterialvars->positionofval proc~atl_get_new_varsys_data_ptr atl_get_new_varSys_data_ptr proc~atl_append_newmaterialvars->proc~atl_get_new_varsys_data_ptr tem_abort tem_abort proc~atl_append_newmaterialvars->tem_abort tem_varSys_append_derVar tem_varSys_append_derVar proc~atl_append_newmaterialvars->tem_varSys_append_derVar

Called by

proc~~atl_append_newmaterialvars~~CalledByGraph proc~atl_append_newmaterialvars atl_append_newMaterialVars proc~atl_init_materialparams atl_init_materialParams proc~atl_init_materialparams->proc~atl_append_newmaterialvars proc~atl_initialize atl_initialize proc~atl_initialize->proc~atl_init_materialparams 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