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

SphereBL Class Reference

#include <SphereBL.H>

Inheritance diagram for SphereBL:

Inheritance graph
[legend]
Collaboration diagram for SphereBL:

Collaboration graph
[legend]
List of all members.

Public Methods

 SphereBL (const Real &a_radius, const RealVect &a_center, const bool &a_insideRegular, const Real &a_dx)
virtual ~SphereBL ()
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

Protected Attributes

RealVect m_center
Real m_radius
bool m_insideRegular
Real m_dx

Private Methods

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

Constructor & Destructor Documentation

SphereBL::SphereBL const Real   a_radius,
const RealVect   a_center,
const bool &    a_insideRegular,
const Real   a_dx
 

virtual SphereBL::~SphereBL   [virtual]
 

SphereBL::SphereBL   [inline, private]
 

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


Member Function Documentation

virtual bool SphereBL::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 SphereBL::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 SphereBL::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 SphereBL::magnitude const RealVect   vec const [virtual]
 

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

virtual BaseLevelSet* SphereBL::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 SphereBL::operator= const SphereBL &    a_radius [inline, private]
 

virtual pair<int, Side::LoHiSide> SphereBL::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

RealVect SphereBL::m_center [protected]
 

Real SphereBL::m_dx [protected]
 

bool SphereBL::m_insideRegular [protected]
 

Real SphereBL::m_radius [protected]
 


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