13 #ifndef _GEOMETRYSERVICE_H_ 14 #define _GEOMETRYSERVICE_H_ 30 #include "NamespaceHeader.H" 60 const Real& a_dx)
const = 0;
70 const Real& a_dx)
const = 0;
75 const Real& a_dx)
const ;
88 const Box& a_validRegion,
89 const Box& a_ghostRegion,
92 const Real& a_dx)
const = 0;
101 const Box& a_validRegion,
102 const Box& a_ghostRegion,
108 return fillGraph( a_regIrregCovered, a_nodes, a_validRegion, a_ghostRegion,
109 a_domain, a_origin, a_dx );
118 const Real& a_dx)
const ;
161 const int& a_maxGridSize,
162 const int& a_maxIrregGridSize )
168 #include "NamespaceFooter.H"
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
virtual bool canGenerateMultiCells() const
one dimensional dynamic array
Definition: Vector.H:52
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
Definition: GeometryService.H:99
Definition: GeometryService.H:43
virtual ~GeometryService()
virtual bool isIrregular(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
InOut
Definition: GeometryService.H:41
Definition: GeometryService.H:44
virtual bool isRegular(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const =0
virtual bool isCovered(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const =0
double Real
Definition: REAL.H:33
Definition: GeometryService.H:37
static bool intersection(const RealVect &a_lo1, const RealVect &a_hi1, const RealVect &a_lo2, const RealVect &a_hi2)
handy functions to do rectangle intersections in real space
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
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 =0
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
Definition: GeometryService.H:45
Definition: DataIndex.H:112
virtual InOut InsideOutside(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual InOut InsideOutside(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const DataIndex &a_di) const
Definition: GeometryService.H:126
virtual void makeGrids(const ProblemDomain &a_domain, DisjointBoxLayout &a_grids, const int &a_maxGridSize, const int &a_maxIrregGridSize)
Definition: GeometryService.H:159
virtual void postMakeBoxLayout(const DisjointBoxLayout &a_dbl, const RealVect &a_dx)