Loading...
Searching...
No Matches
Public Member Functions | List of all members
bitpit::VolumeSkdTree Class Reference

The VolumeSkdTree implements a Bounding Volume Hierarchy tree for volume patches. More...

Inheritance diagram for bitpit::VolumeSkdTree:
Inheritance graph
[legend]
Collaboration diagram for bitpit::VolumeSkdTree:
Collaboration graph
[legend]

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 SkdNodegetNode (std::size_t nodeId) const
 
std::size_t getNodeCount () const
 
const SkdBoxgetPartitionBox (int rank) const
 
const PatchKernelgetPatch () 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< SkdNodem_nodes
 
int m_nProcessors
 
std::vector< SkdBoxm_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
patchis the volume patch that will be use to build the tree
interiorCellsOnlyif 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:
--- layout: doxygen_footer ---