Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

MultiSphereBL Class Reference

#include <MultiSphereBL.H>

Inheritance diagram for MultiSphereBL:

Inheritance graph
[legend]
Collaboration diagram for MultiSphereBL:

Collaboration graph
[legend]
List of all members.

Public Methods

 MultiSphereBL (const Vector< Real > &a_radius, const Vector< RealVect > &a_center, const Real &a_dx)
virtual ~MultiSphereBL ()
virtual bool isRegular (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
virtual bool isCovered (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
virtual pair< int, Side::LoHiSideupDirection (const RealVect &a_midpt, const IntVect &a_iv) const
virtual Real localFuncValue (const RealVect &a_independentCoords, const int &a_upDirection, const IntVect &a_iv, const Box &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual BaseLevelSetnew_baseLevelSet () const
virtual Real max (const RealVect &vec) const
virtual Real magnitude (const RealVect &vec) const
int closestSphere (const RealVect &a_vec) const

Protected Attributes

Vector< RealVectm_center
Vector< Realm_radius
Real m_dx
int m_numSpheres

Private Methods

 MultiSphereBL ()
 MultiSphereBL (const MultiSphereBL &a_radius)
void operator= (const MultiSphereBL &a_radius)

Constructor & Destructor Documentation

MultiSphereBL::MultiSphereBL const Vector< Real > &    a_radius,
const Vector< RealVect > &    a_center,
const Real   a_dx
 

virtual MultiSphereBL::~MultiSphereBL   [virtual]
 

MultiSphereBL::MultiSphereBL   [inline, private]
 

MultiSphereBL::MultiSphereBL const MultiSphereBL &    a_radius [inline, private]
 


Member Function Documentation

int MultiSphereBL::closestSphere const RealVect   a_vec const
 

virtual bool MultiSphereBL::isCovered const Box   region,
const Box   domain,
const RealVect   origin,
const Real   dx
const [virtual]
 

Return true if every cell in region is covered at the refinement described by dx.

Implements BaseLevelSet.

virtual bool MultiSphereBL::isRegular const Box   region,
const Box   domain,
const RealVect   origin,
const Real   dx
const [virtual]
 

Return true if every cell in region is regular at the refinement described by dx.

Implements BaseLevelSet.

virtual Real MultiSphereBL::localFuncValue const RealVect   a_independentCoords,
const int &    a_upDirection,
const IntVect   a_iv,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx
const [virtual]
 

Return the value at the dependent coordinate given the independent coordinates.

Implements BaseLevelSet.

virtual Real MultiSphereBL::magnitude const RealVect   vec const [virtual]
 

virtual Real MultiSphereBL::max const RealVect   vec const [virtual]
 

virtual BaseLevelSet* MultiSphereBL::new_baseLevelSet   const [virtual]
 

Return a newly allocated derived class. The responsibility for deleting the memory is left to the calling function.

Implements BaseLevelSet.

void MultiSphereBL::operator= const MultiSphereBL &    a_radius [inline, private]
 

virtual pair<int, Side::LoHiSide> MultiSphereBL::upDirection const RealVect   a_midpt,
const IntVect   a_iv
const [virtual]
 

This returns the signed integer which most closely represents the normal direction. The first integer of the pair is of the interface at an irregular cell (which coordinate direction has the largest normal component). This will only be called if the cell is irregular.

Implements BaseLevelSet.


Member Data Documentation

Vector<RealVect> MultiSphereBL::m_center [protected]
 

Real MultiSphereBL::m_dx [protected]
 

int MultiSphereBL::m_numSpheres [protected]
 

Vector<Real> MultiSphereBL::m_radius [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:25 2003 for EBChombo by doxygen1.2.16