Chombo + EB  3.2
Public Member Functions | Protected Attributes | Private Member Functions | List of all members
SphereTree Class Reference

#include <MultiSphereIF.H>

Public Member Functions

 SphereTree (const RealBox &a_bbox, const Vector< Real > &a_radii, const Vector< RealVect > &a_centers)
 
virtual ~SphereTree ()
 
const SphereTreefindNode (const RealVect &a_point) const
 
const int & getNumSpheres () const
 
int getNumSpheres ()
 
const Vector< Real > & getRadii () const
 
Vector< RealgetRadii ()
 
const Vector< RealVect > & getCenters () const
 
Vector< RealVectgetCenters ()
 

Protected Attributes

RealBox m_bbox
 
int m_numSpheres
 
Vector< Realm_radii
 
Vector< RealVectm_centers
 
SphereTreem_left
 
SphereTreem_right
 

Private Member Functions

 SphereTree ()
 
void operator= (const SphereTree &a_inputIF)
 

Constructor & Destructor Documentation

◆ SphereTree() [1/2]

SphereTree::SphereTree ( const RealBox a_bbox,
const Vector< Real > &  a_radii,
const Vector< RealVect > &  a_centers 
)

◆ ~SphereTree()

virtual SphereTree::~SphereTree ( )
inlinevirtual

◆ SphereTree() [2/2]

SphereTree::SphereTree ( )
inlineprivate

References MayDay::Abort().

Member Function Documentation

◆ findNode()

const SphereTree& SphereTree::findNode ( const RealVect a_point) const
inline

References MayDay::Error(), findNode(), and pout().

Referenced by findNode().

◆ getNumSpheres() [1/2]

const int& SphereTree::getNumSpheres ( ) const
inline

◆ getNumSpheres() [2/2]

int SphereTree::getNumSpheres ( )
inline

◆ getRadii() [1/2]

const Vector<Real>& SphereTree::getRadii ( ) const
inline

◆ getRadii() [2/2]

Vector<Real> SphereTree::getRadii ( )
inline

◆ getCenters() [1/2]

const Vector<RealVect>& SphereTree::getCenters ( ) const
inline

◆ getCenters() [2/2]

Vector<RealVect> SphereTree::getCenters ( )
inline

◆ operator=()

void SphereTree::operator= ( const SphereTree a_inputIF)
inlineprivate

References MayDay::Abort().

Member Data Documentation

◆ m_bbox

RealBox SphereTree::m_bbox
protected

◆ m_numSpheres

int SphereTree::m_numSpheres
protected

◆ m_radii

Vector<Real> SphereTree::m_radii
protected

◆ m_centers

Vector<RealVect> SphereTree::m_centers
protected

◆ m_left

SphereTree* SphereTree::m_left
protected

◆ m_right

SphereTree* SphereTree::m_right
protected

The documentation for this class was generated from the following file: