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

BaseLevelSet Class Reference

#include <BaseLevelSet.H>

Inheritance diagram for BaseLevelSet:

Inheritance graph
[legend]
List of all members.

Public Methods

 BaseLevelSet ()
virtual ~BaseLevelSet ()
virtual bool isRegular (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const=0
virtual bool isCovered (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const=0
virtual pair< int, Side::LoHiSideupDirection (const RealVect &a_midpt, const IntVect &a_iv) const=0
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=0
virtual BaseLevelSet * new_baseLevelSet () const=0
Vector< RealVectgetBoxLocations (const Box &a_region, const RealVect &a_origin, const Real &a_dx) const
Vector< IntVectgetBoxCornerCells (const Box &a_region, const RealVect &a_origin, const Real &a_dx) const
Vector< RealVectgetBoxLocations (const Box &a_region, const RealVect &a_origin, const RealVect &a_vectDx) const

Detailed Description

This is a pure base class that encapsulates the description of a surface as a locally-defined function. This is the class that Workshop uses to create embedded boundary descriptions of geometry from functional descriptions.


Constructor & Destructor Documentation

BaseLevelSet::BaseLevelSet   [inline]
 

virtual BaseLevelSet::~BaseLevelSet   [inline, virtual]
 


Member Function Documentation

Vector<IntVect> BaseLevelSet::getBoxCornerCells const Box   a_region,
const RealVect   a_origin,
const Real   a_dx
const
 

Vector<RealVect> BaseLevelSet::getBoxLocations const Box   a_region,
const RealVect   a_origin,
const RealVect   a_vectDx
const
 

Vector<RealVect> BaseLevelSet::getBoxLocations const Box   a_region,
const RealVect   a_origin,
const Real   a_dx
const
 

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

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

Implemented in AnisSphereBL, ChannelBL, ConcentricSphereBL, CylinderBL, DEMBL, DoubleCylBL, DumbBellBL, MultiSphereBL, PolarBL, RampBL, SphereBL, and TiltedCylinderBL.

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

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

Implemented in AnisSphereBL, ChannelBL, ConcentricSphereBL, CylinderBL, DEMBL, DoubleCylBL, DumbBellBL, MultiSphereBL, PolarBL, RampBL, SphereBL, and TiltedCylinderBL.

virtual Real BaseLevelSet::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 [pure virtual]
 

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

Implemented in AnisSphereBL, ChannelBL, ConcentricSphereBL, CylinderBL, DEMBL, DoubleCylBL, DumbBellBL, MultiSphereBL, PolarBL, RampBL, SphereBL, and TiltedCylinderBL.

virtual BaseLevelSet* BaseLevelSet::new_baseLevelSet   const [pure virtual]
 

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

Implemented in AnisSphereBL, ChannelBL, ConcentricSphereBL, CylinderBL, DEMBL, DoubleCylBL, DumbBellBL, MultiSphereBL, PolarBL, RampBL, SphereBL, and TiltedCylinderBL.

virtual pair<int, Side::LoHiSide> BaseLevelSet::upDirection const RealVect   a_midpt,
const IntVect   a_iv
const [pure 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.

Implemented in AnisSphereBL, ChannelBL, ConcentricSphereBL, CylinderBL, DEMBL, DoubleCylBL, DumbBellBL, MultiSphereBL, PolarBL, RampBL, SphereBL, and TiltedCylinderBL.


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