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