![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Node information in the PatchTree link list. More...
#include <shamrock/include/shamrock/scheduler/PatchTreeNode.hpp>
Collaboration diagram for shamrock::scheduler::LinkedTreeNode:Public Attributes | |
| u32 | level |
| Level of the tree node. | |
| u64 | parent_nid |
| Parent node id. | |
| std::array< u64, 8 > | childs_nid {u64_max} |
| Array of childs node ids. | |
| bool | is_leaf = true |
| Is this node a leaf. | |
| bool | child_are_all_leafs = false |
| Store true if all childrens of this node are leafs. | |
Node information in the PatchTree link list.
Definition at line 34 of file PatchTreeNode.hpp.
| bool shamrock::scheduler::LinkedTreeNode::child_are_all_leafs = false |
Store true if all childrens of this node are leafs.
This condition is mandatory for a merge to be possible
Definition at line 56 of file PatchTreeNode.hpp.
Array of childs node ids.
Childs nodes are stored in a fixed size array.
If the node has no child the [0] == u64_max. Otherwise the 8 childs ids are valid.
Definition at line 47 of file PatchTreeNode.hpp.
| bool shamrock::scheduler::LinkedTreeNode::is_leaf = true |
Is this node a leaf.
Definition at line 49 of file PatchTreeNode.hpp.
| u32 shamrock::scheduler::LinkedTreeNode::level |
Level of the tree node.
Definition at line 36 of file PatchTreeNode.hpp.
| u64 shamrock::scheduler::LinkedTreeNode::parent_nid |
Parent node id.
Definition at line 37 of file PatchTreeNode.hpp.