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

GeometryShop Class Reference

#include <GeometryShop.H>

Inheritance diagram for GeometryShop:

Inheritance graph
[legend]
Collaboration diagram for GeometryShop:

Collaboration graph
[legend]
List of all members.

Public Methods

 GeometryShop (const BaseLevelSet &a_localGeom, int verbosity=0, RealVect a_vectDx=RealVect::Zero)
 ~GeometryShop ()
bool twoEdgeIntersections (edgeMo a_edges[4]) const
bool tooManyUpDir (const IntVect &a_iv, const Real &a_dx, const int &a_faceNormal) const
bool isRegular (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
bool isCovered (const Box &region, const Box &domain, const RealVect &origin, const Real &dx) const
virtual void fillGraph (BaseFab< int > &a_regIrregCovered, Vector< IrregNode > &a_nodes, const Box &a_validRegion, const Box &a_ghostRegion, const Box &a_domain, const RealVect &a_origin, const Real &a_dx) const
void computeVoFInternals (Real &a_volFrac, Vector< int > a_loArc[SpaceDim], Vector< int > a_hiArc[SpaceDim], Vector< Real > a_loAreaFrac[SpaceDim], Vector< Real > a_hiAreaFrac[SpaceDim], Real &a_bndryArea, RealVect &a_normal, RealVect &a_volCentroid, RealVect &a_bndryCentroid, Vector< RealVect > a_loFaceCentroid[SpaceDim], Vector< RealVect > a_hiFaceCentroid[SpaceDim], const IntVectSet &a_ivsIrreg, const VolIndex &a_vof, const Box &a_domain, const RealVect &a_origin, const Real &a_dx, const RealVect &a_vectDx, const IntVect &a_iv) const

Private Methods

void edgeData3D (edgeMo a_edges[4], bool &a_faceCovered, bool &a_faceRegular, bool &a_faceDontKnow, const int a_hiLoFace, const int a_faceNormal, const Real &a_dx, const RealVect &a_vectDx, const IntVect &a_coord, const Box &a_domain, const RealVect &a_origin) const
 local geometry description

void edgeData2D (edgeMo a_edges[4], bool &a_faceCovered, bool &a_faceRegular, bool &a_faceDontKnow, const Real &a_dx, const RealVect &a_vectDx, const IntVect &a_coord, const Box &a_domain, const RealVect &a_origin) const
void edgeType (bool &a_regular, bool &a_covered, bool &a_dontKnow, Real &a_signHi, Real &a_signLo, const pair< int, Side::LoHiSide > &a_upDir) const
Real BrentRootFinder (const RealVect &a_x1, const RealVect &a_x2, const int &a_upDir, const IntVect &a_iv, const Box &a_domain, const RealVect &a_origin, const Real &a_dx, const int &a_range) const
int getNumCellsClipped ()
Real Min (const Real x, const Real y) const
 GeometryShop ()
 GeometryShop (const GeometryShop &a_workshopin)
void operator= (const GeometryShop &a_workshopin)

Private Attributes

int m_numCellsClipped
int m_verbosity
Real m_threshold
RealVect m_vectDx
const BaseLevelSetm_localGeomPtr

Detailed Description

This is the base class for the workshop algorithm. It forms the interface between the workshop classes and the geometryservice class.


Constructor & Destructor Documentation

GeometryShop::GeometryShop const BaseLevelSet   a_localGeom,
int    verbosity = 0,
RealVect    a_vectDx = RealVect::Zero
 

Define the workshop using the local geometry description

GeometryShop::~GeometryShop  
 

GeometryShop::GeometryShop   [inline, private]
 

GeometryShop::GeometryShop const GeometryShop &    a_workshopin [inline, private]
 


Member Function Documentation

Real GeometryShop::BrentRootFinder const RealVect   a_x1,
const RealVect   a_x2,
const int &    a_upDir,
const IntVect   a_iv,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx,
const int &    a_range
const [private]
 

void GeometryShop::computeVoFInternals Real   a_volFrac,
Vector< int >    a_loArc[SpaceDim],
Vector< int >    a_hiArc[SpaceDim],
Vector< Real   a_loAreaFrac[SpaceDim],
Vector< Real   a_hiAreaFrac[SpaceDim],
Real   a_bndryArea,
RealVect   a_normal,
RealVect   a_volCentroid,
RealVect   a_bndryCentroid,
Vector< RealVect   a_loFaceCentroid[SpaceDim],
Vector< RealVect   a_hiFaceCentroid[SpaceDim],
const IntVectSet   a_ivsIrreg,
const VolIndex   a_vof,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx,
const RealVect   a_vectDx,
const IntVect   a_iv
const
 

void GeometryShop::edgeData2D edgeMo    a_edges[4],
bool &    a_faceCovered,
bool &    a_faceRegular,
bool &    a_faceDontKnow,
const Real   a_dx,
const RealVect   a_vectDx,
const IntVect   a_coord,
const Box   a_domain,
const RealVect   a_origin
const [private]
 

void GeometryShop::edgeData3D edgeMo    a_edges[4],
bool &    a_faceCovered,
bool &    a_faceRegular,
bool &    a_faceDontKnow,
const int    a_hiLoFace,
const int    a_faceNormal,
const Real   a_dx,
const RealVect   a_vectDx,
const IntVect   a_coord,
const Box   a_domain,
const RealVect   a_origin
const [private]
 

local geometry description

void GeometryShop::edgeType bool &    a_regular,
bool &    a_covered,
bool &    a_dontKnow,
Real   a_signHi,
Real   a_signLo,
const pair< int, Side::LoHiSide > &    a_upDir
const [private]
 

virtual void GeometryShop::fillGraph BaseFab< int > &    a_regIrregCovered,
Vector< IrregNode > &    a_nodes,
const Box   a_validRegion,
const Box   a_ghostRegion,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx
const [virtual]
 

Define the internals of the input ebisRegion.

Implements GeometryService.

int GeometryShop::getNumCellsClipped   [private]
 

bool GeometryShop::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 GeometryService.

bool GeometryShop::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 GeometryService.

Real GeometryShop::Min const Real    x,
const Real    y
const [private]
 

void GeometryShop::operator= const GeometryShop &    a_workshopin [inline, private]
 

bool GeometryShop::tooManyUpDir const IntVect   a_iv,
const Real   a_dx,
const int &    a_faceNormal
const
 

bool GeometryShop::twoEdgeIntersections edgeMo    a_edges[4] const
 


Member Data Documentation

const BaseLevelSet* GeometryShop::m_localGeomPtr [private]
 

int GeometryShop::m_numCellsClipped [private]
 

Real GeometryShop::m_threshold [private]
 

RealVect GeometryShop::m_vectDx [private]
 

int GeometryShop::m_verbosity [private]
 


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