The VolumeSkdTree implements a Bounding Volume Hierarchy tree for volume patches. More...
Public Member Functions | |
VolumeSkdTree (const VolumeKernel *patch, bool interiorCellsOnly=false) | |
Public Member Functions inherited from bitpit::PatchSkdTree | |
bool | areLookupsThreadSafe () const |
void | build (std::size_t leaftThreshold=1, bool squeezeStorage=false) |
void | clear (bool release=false) |
void | enableThreadSafeLookups (bool enable) |
std::size_t | evalMaxDepth (std::size_t rootId=0) const |
std::size_t | getLeafCount () const |
std::size_t | getLeafMaxCellCount () const |
std::size_t | getLeafMinCellCount () const |
const SkdNode & | getNode (std::size_t nodeId) const |
std::size_t | getNodeCount () const |
const SkdBox & | getPartitionBox (int rank) const |
const PatchKernel & | getPatch () const |
Additional Inherited Members | |
Protected Member Functions inherited from bitpit::PatchSkdTree | |
PatchSkdTree (const PatchKernel *patch, bool interiorCellsOnly=false) | |
SkdNode & | _getNode (std::size_t nodeId) |
void | freeCommunicator () |
const MPI_Comm & | getCommunicator () const |
bool | isCommunicatorSet () const |
void | setCommunicator (MPI_Comm communicator) |
Protected Attributes inherited from bitpit::PatchSkdTree | |
std::vector< std::size_t > | m_cellRawIds |
MPI_Comm | m_communicator |
bool | m_interiorCellsOnly |
std::size_t | m_nLeafs |
std::size_t | m_nMaxLeafCells |
std::size_t | m_nMinLeafCells |
std::vector< SkdNode > | m_nodes |
int | m_nProcessors |
std::vector< SkdBox > | m_partitionBoxes |
SkdPatchInfo | m_patchInfo |
int | m_rank |
bool | m_threadSafeLookups |
The VolumeSkdTree implements a Bounding Volume Hierarchy tree for volume patches.
Definition at line 33 of file volume_skd_tree.hpp.
bitpit::VolumeSkdTree::VolumeSkdTree | ( | const VolumeKernel * | patch, |
bool | interiorCellsOnly = false ) |
Constructor.
patch | is the volume patch that will be use to build the tree |
interiorCellsOnly | if set to true, only interior cells will be considered |
Definition at line 42 of file volume_skd_tree.cpp.