#include <MultiSlabService.H>
Public Member Functions | |
MultiSlabService (const Vector< Box > &a_coveredRegion) | |
virtual | ~MultiSlabService () |
virtual bool | isRegular (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
virtual bool | isCovered (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
virtual void | fillGraph (BaseFab< int > &a_regIrregCovered, Vector< IrregNode > &a_nodes, const Box &a_validRegion, const Box &a_ghostRegion, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const DataIndex &a_di) const |
virtual InOut | InsideOutside (const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const |
Protected Attributes | |
IntVectSet | m_coveredRegion |
virtual MultiSlabService::~MultiSlabService | ( | ) | [virtual] |
virtual bool MultiSlabService::isRegular | ( | const Box & | a_region, | |
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_dx | |||
) | const [virtual] |
Return true if every cell in region is regular at the refinement described by dx.
Implements GeometryService.
virtual bool MultiSlabService::isCovered | ( | const Box & | a_region, | |
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_dx | |||
) | const [virtual] |
Return true if every cell in region is covered at the refinement described by dx.
Implements GeometryService.
virtual void MultiSlabService::fillGraph | ( | BaseFab< int > & | a_regIrregCovered, | |
Vector< IrregNode > & | a_nodes, | |||
const Box & | a_validRegion, | |||
const Box & | a_ghostRegion, | |||
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_dx, | |||
const DataIndex & | a_di | |||
) | const [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);
Implements GeometryService.
virtual InOut MultiSlabService::InsideOutside | ( | const Box & | a_region, | |
const ProblemDomain & | a_domain, | |||
const RealVect & | a_origin, | |||
const Real & | a_dx | |||
) | const [virtual] |
Reimplemented from GeometryService.
IntVectSet MultiSlabService::m_coveredRegion [protected] |