public subroutine sdr_proto2treelm(proto, geometry, temData, header)
This subroutine creates the treelmesh from the flooded prototree.
It will create the treelmesh out of all flooded elements and refine those
leaves intersected by a refinement object.
This routine will also identify the elements with boundary conditions
and store the boundary information accordingly.
Please keep in mind, that the flooding only considered the 6 face
neighbors, while we create boundary informations for all 26 neighbors.
Todo
Neighbors that do not intersect boundary objects.
This means, that it might happen, that any of the 20 further neighbors
does not actually intersect a boundary object. We need to deal with
this case properly.
For example, a boundary condition might be selected based on the
adjacent face neighbors for the direction in question.
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.