Paths of elements from the root node to themselves going through the hierarchy of the tree. Is used to compare to elements
For all [[tem_construction_module::identify_local_element]] "local elements", their actual position in the sparse mesh has to be identified for a given \ref treelmesh_module::treelmesh_type::treeid "treeID". Due to the sparsity of the mesh, the position of a certain element in the total list of elements can not be directly deduced from its \ref treelmesh_module::treelmesh_type::treeid "treeID". As already pointed out, we can rely on binary searches in the sorted list of elements for this task, as long as a comparison between any two elements is possible. A comparison of two nodes to decide their relative position in the ordered list of elements has to take into account the hierarchy of the mesh. The comparison operator is therefore defined as follows.
In a tree with leaves on different levels, this results in children to be considered to be equal to their parents.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
integer, | public | :: | Level |
Levels counted from 1 This level is 1 higher than the actual level. |
|||
integer(kind=long_k), | public | :: | Node(globalMaxLevels+1) |
treeIDs from current leaf to root |