public subroutine atl_create_materialElemList(tree, levelPointer, material_list, varSys, materials, materialFun)
Subroutine to create element index list for constant and non-constant
material parameters.
To create the two lists, one list with elements with constant material
parameters and one list with elements with variable material parameters,
we have to follow several steps split into separate phases:
Phase 1: Determine variable and constant elements
1. Loop over all materials
1.1. Loop over all spacetime functions
1.1.1 Determine whether the element is variable or not and add it to the
according list.
Phase 2: Determine the levelwise element lists
2. Loop over all elements.
2.1. Determine the element's level.
2.2. Add them to intermediate lists.
Phase 3: Create the result
3. Copy intermediate lists into result type.
Phase 2: Determine the levelwise element lists
Phase 3: Create the result
global variable system to which lua variables are to be appended
character(len=labelLen),
intent(in)
::
materials(:)
The list of the variables that should be used as materials.
The indizes of variables in the global varSys that are used as
material's, penalization's or whatever's data sources.
This data is needed to calculate the number of total material components.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.
Nodes of different colours represent the following:
Solid arrows point from a procedure to one which it calls. Dashed
arrows point from an interface to procedures which implement that interface.
This could include the module procedures in a generic interface or the
implementation in a submodule of an interface in a parent module.