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

GeometryService Class Reference

#include <GeometryService.H>

Inheritance diagram for GeometryService:

Inheritance graph
[legend]
List of all members.

Public Methods

 GeometryService ()
virtual ~GeometryService ()
virtual bool isRegular (const Box &a_region, const Box &a_domain, const RealVect &a_origin, const Real &a_dx) const=0
virtual bool isCovered (const Box &a_region, const Box &a_domain, const RealVect &a_origin, const Real &a_dx) const=0
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=0

Detailed Description

This is a pure base class that EBIndexSpace uses to interface with geometry-generation classes.


Constructor & Destructor Documentation

GeometryService::GeometryService  
 

virtual GeometryService::~GeometryService   [virtual]
 


Member Function Documentation

virtual void GeometryService::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 [pure virtual]
 

irregGraph contains a complete list of irregular vofs. \ validRegion is the the region of the graph \ domain is the domain of compuation \ regIrregCovered = 1 for regular, 0 for irregular, -1 for covered. regIrregCovered must contain the valid region grown by 1. \ In chombospeak, \ ghostregion = (grow(validRegion, 1) & domain);

Implemented in AllRegularService, SlabService, and GeometryShop.

virtual bool GeometryService::isCovered const Box   a_region,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx
const [pure virtual]
 

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

Implemented in AllRegularService, SlabService, and GeometryShop.

virtual bool GeometryService::isRegular const Box   a_region,
const Box   a_domain,
const RealVect   a_origin,
const Real   a_dx
const [pure virtual]
 

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

Implemented in AllRegularService, SlabService, and GeometryShop.


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