14#include "../Definitions.H"
15#include "../Utils/RealBox.H"
16#include "../Utils/RealTensor2.H"
17#include "../Utils/Types.H"
18#include "../Utils/Vec3.H"
90 constexpr bool ext()
const {
103 return (
int) (
lchild & (~extNode));
#define TREE_RIGIDITY_BINS
Number of rigidity bins to use in the CR tree.
Definition Definitions.H:85
Define classes for field quantities and their gradients.
Class to hold and compute field quantities.
Definition FieldQty.H:53
Class that represents a 3D rectangular prism.
Definition RealBox.H:30
Class that represents a rank 2 tensor.
Definition RealTensor2.H:34
The primary namespace for criptic objects.
Definition AdvancePacket.H:25
constexpr IdxType maxIdx
Definition Types.H:55
constexpr IdxType extNode
Definition CRTreeNode.H:30
struct criptic::LocalNodeStruct_ LocalNode
Struct representing a node of the local KD tree.
std::vector< Real >::size_type IdxType
Definition Types.H:45
constexpr IdxType nullNode
Definition CRTreeNode.H:28
double Real
Definition Types.H:38
constexpr IdxType nullPacket
Definition CRTreeNode.H:29
constexpr IdxType rootNode
Definition CRTreeNode.H:27
Struct representing a node of the global KD tree.
Definition CRTreeNode.H:40
int splitDim
Definition CRTreeNode.H:46
IdxType srcCount
Definition CRTreeNode.H:44
IdxType start
Definition CRTreeNode.H:41
RealBox box
Definition CRTreeNode.H:49
IdxType srcStart
Definition CRTreeNode.H:43
int owner
Definition CRTreeNode.H:45
Real splitVal
Definition CRTreeNode.H:48
IdxType count
Definition CRTreeNode.H:42
Struct representing a node of the local KD tree.
Definition CRTreeNode.H:58
RealVec cm
Definition CRTreeNode.H:74
RealBox bnd
Definition CRTreeNode.H:71
Real splitVal
Definition CRTreeNode.H:69
RealTensor2 cov
Definition CRTreeNode.H:76
IdxType count
Definition CRTreeNode.H:60
IdxType start
Definition CRTreeNode.H:59
IdxType order
Definition CRTreeNode.H:64
IdxType lchild
Definition CRTreeNode.H:61
RealBox box
Definition CRTreeNode.H:70
IdxType parent
Definition CRTreeNode.H:63
IdxType rchild
Definition CRTreeNode.H:62
FieldQty fQ[TREE_RIGIDITY_BINS]
Definition CRTreeNode.H:77
Real wSum
Definition CRTreeNode.H:72
Real w2Sum
Definition CRTreeNode.H:73
int splitDim
Definition CRTreeNode.H:67
constexpr bool ext() const
Flag if this node refers to packets on an external rank.
Definition CRTreeNode.H:90
constexpr int rank() const
Rank that owns the children of an external node.
Definition CRTreeNode.H:102