Chombo + EB  3.0
AllRegularService.H
Go to the documentation of this file.
1 #ifdef CH_LANG_CC
2 /*
3  * _______ __
4  * / ___/ / ___ __ _ / / ___
5  * / /__/ _ \/ _ \/ V \/ _ \/ _ \
6  * \___/_//_/\___/_/_/_/_.__/\___/
7  * Please refer to Copyright.txt, in Chombo's root directory.
8  */
9 #endif
10 
11 // ANAG, LBNL, DTG
12 
13 #ifndef _ALLREGULARSERVICE_H_
14 #define _ALLREGULARSERVICE_H_
15 
16 #include "GeometryService.H"
17 #include "NamespaceHeader.H"
18 
19 /// A geometry service that is always regular.
20 /**
21  */
23 {
24 public:
26 
27  virtual ~AllRegularService();
28 
29  ///
30  /**
31  Return true if every cell in region is regular at the
32  refinement described by dx.
33  */
34  virtual bool isRegular(const Box& a_region,
35  const ProblemDomain& a_domain,
36  const RealVect& a_origin,
37  const Real& a_dx) const;
38 
39  ///
40  /**
41  Return true if every cell in region is covered at the
42  refinement described by dx.
43  */
44  virtual bool isCovered(const Box& a_region,
45  const ProblemDomain& a_domain,
46  const RealVect& a_origin,
47  const Real& a_dx) const;
48 
49  ///
50  /**
51  */
52  virtual void fillGraph(BaseFab<int>& a_regIrregCovered,
53  Vector<IrregNode>& a_nodes,
54  const Box& a_validRegion,
55  const Box& a_ghostRegion,
56  const ProblemDomain& a_domain,
57  const RealVect& a_origin,
58  const Real& a_dx) const;
59 };
60 #include "NamespaceFooter.H"
61 #endif
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
one dimensional dynamic array
Definition: Vector.H:52
A geometry service that is always regular.
Definition: AllRegularService.H:22
virtual bool isRegular(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual ~AllRegularService()
double Real
Definition: REAL.H:33
Definition: GeometryService.H:37
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
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
virtual bool isCovered(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const