The protoTree is used to describe the preliminary tree, before it is actually extended to the full information of the mesh.
This extension will only be done for the actual leaf nodes, in the computational domain.
Keep track of the deepest level in the tree.
Number of leaf nodes.
Number of flooded leaves.
List of all nodes in the tree, each node contains a list of the objects it is intersecting and a property bit mask. It is identified by its treeID.
All components of Node are growing arrays, thus the corresponding component of node inode has to be accessed with component%val(inode).
The index of the first node on a given level in node%treeID%sorted.
The index of the last node on a given level in node%treeID%sorted.
Temporary array intersected objects of 8 children which will later be copied to intersected_object in node_type.
This array is initialized in build_protoTree and destroyed after refine_leaf