Loading...
Searching...
No Matches
bitpit::VolumeSkdTree Class Reference
The VolumeSkdTree implements a Bounding Volume Hierarchy tree for volume patches. More...
Inheritance diagram for bitpit::VolumeSkdTree:

Collaboration diagram for bitpit::VolumeSkdTree:

Public Member Functions | |
VolumeSkdTree (const VolumeKernel *patch, bool interiorCellsOnly=false) | |
![]() | |
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 | |
![]() | |
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) |
![]() | |
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 |
Detailed Description
The VolumeSkdTree implements a Bounding Volume Hierarchy tree for volume patches.
Definition at line 33 of file volume_skd_tree.hpp.
Constructor & Destructor Documentation
◆ VolumeSkdTree()
bitpit::VolumeSkdTree::VolumeSkdTree | ( | const VolumeKernel * | patch, |
bool | interiorCellsOnly = false ) |
Constructor.
- Parameters
-
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.
The documentation for this class was generated from the following files:
- src/patchkernel/volume_skd_tree.hpp
- src/patchkernel/volume_skd_tree.cpp
