Class to hold the Oct decomposition tree. More...
#include <Sorter.h>
Public Member Functions | |
void | makeSubTree (int refineLevel, CkVec< OctDecompNode * > *active) |
Make a balanced subtree of OctDecompNode. More... | |
int64_t | buildCounts () |
void | deleteBeneath () |
void | combine (int thresh, vector< NodeKey > &finalKeys, vector< uint64_t > &counts) |
void | getLeafNodes (CkVec< OctDecompNode * > *activeNodes) |
Public Attributes | |
NodeKey | key |
OctDecompNode * | children |
int | nchildren |
int64_t | nparticles |
Static Public Attributes | |
static int | maxNumChildren = 2 |
static int | lgMaxNumChildren = 1 |
Class to hold the Oct decomposition tree.
void OctDecompNode::makeSubTree | ( | int | refineLevel, |
CkVec< OctDecompNode * > * | active | ||
) |
Make a balanced subtree of OctDecompNode.
refineLevel | depth of subtree |
active | CkVec of leaves |