Assign reference to spacetime functions to the affected elements. This
means: The position of the variable in the variable system, which reflects
the spacetime function is determined and assigned to the element_list.
This assignment is done as follows:
1. Set each fluid element's spacetime function pointer to null
2. Iterate over all material variables
2.1 Iterate over the first input variable's spacetime function list
2.1.a If it is a global shape spacetime function, have all element's
material stfun pointer set to this spacetime function.
2.1.b Take the spacetime function subtree and assign this spacetime
function to all element's material stfun pointer in this subtree.
2.2 Iterate over all elements and check whether their stfun pointer is
associated, which means, that the material is defined for the element.
If there is one or more elements that are not covered by all materials, the
solver will abort.
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.