![]() |
Shamrock 2025.10.0
Astrophysical Code
|
Node information in the patchtree + held patch info. More...
#include <shamrock/include/shamrock/scheduler/PatchTreeNode.hpp>
Collaboration diagram for shamrock::scheduler::PatchTreeNode:Public Types | |
| using | PatchCoord = patch::PatchCoord< 3 > |
Public Member Functions | |
| std::array< PatchTreeNode, split_count > | get_split_nodes (u32 cur_id) |
| bool | is_leaf () |
| u64 | get_child_nid (u32 id) |
| template<class vec > | |
| SerialPatchNode< vec > | convert (const shamrock::patch::PatchCoordTransform< vec > box_transform) |
| Convert PatchTreeNode to SerialPatchNode using given coordinate transform. | |
Public Attributes | |
| PatchCoord | patch_coord |
| LinkedTreeNode | tree_node |
| u64 | linked_patchid |
| u64 | load_value = u64_max |
Static Public Attributes | |
| static constexpr u32 | split_count = patch::PatchCoord<3>::splts_count |
Node information in the patchtree + held patch info.
Definition at line 70 of file PatchTreeNode.hpp.
Definition at line 73 of file PatchTreeNode.hpp.
|
inline |
Convert PatchTreeNode to SerialPatchNode using given coordinate transform.
| vec | The vector type |
| box_transform | Coordinate transform from patch coordinate space to real one |
Definition at line 97 of file PatchTreeNode.hpp.
Definition at line 87 of file PatchTreeNode.hpp.
|
inline |
Definition at line 124 of file PatchTreeNode.hpp.
|
inline |
Definition at line 85 of file PatchTreeNode.hpp.
| u64 shamrock::scheduler::PatchTreeNode::linked_patchid |
Definition at line 78 of file PatchTreeNode.hpp.
Definition at line 81 of file PatchTreeNode.hpp.
| PatchCoord shamrock::scheduler::PatchTreeNode::patch_coord |
Definition at line 75 of file PatchTreeNode.hpp.
|
staticconstexpr |
Definition at line 72 of file PatchTreeNode.hpp.
| LinkedTreeNode shamrock::scheduler::PatchTreeNode::tree_node |
Definition at line 77 of file PatchTreeNode.hpp.