public subroutine proximity(scheme, geometry, iGInc, pot_nElems, pot_lp, pot_lp_tree)
A subroutine which checks the proximity condition and generates a new
treeID list of potential target elements which can then be checked against
various thresholds as defined in the lua configuration file.
Proximity condition means that an element can be solidified only if it has
at least one wall as a neighboring element.
In biological clotting models it ensures that no isolated clot is produced
in the fluid domain.
Furthermore the noSolidification property is checked for every element.
It is used to define spaces where solidification is not allowed.
Acc the proximity condition, as soon as its found that any of the
neighbors of current element is solid, that element is stored in
the new list of potential elements. Loop is terminated for this
element and check is performed for other element.
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.