11 #ifndef _NEWGEOMETRYSHOP_H_ 12 #define _NEWGEOMETRYSHOP_H_ 27 #include "NamespaceHeader.H" 50 const int & a_orderPmax = GEOMETRY_ORDERPMAX,
51 const int & a_degreePmax = GEOMETRY_DEGREEPMAX,
65 const Real & a_dx)
const;
75 const Real & a_dx)
const;
81 const Real & a_dx)
const;
94 const Box & a_validRegion,
95 const Box & a_ghostRegion,
98 const Real & a_dx)
const;
125 #if RECURSIVE_GEOMETRY_GENERATION == 0 146 const int & a_hilo)
const;
167 const int & a_hilo)
const;
207 #if RECURSIVE_GEOMETRY_GENERATION == 0 224 #if RECURSIVE_GEOMETRY_GENERATION == 0 250 #if USING_TOP_FACE_MOMENTS 265 const Real& a_dx)
const;
275 const Real& a_dx)
const;
282 const Real& a_originVal)
const ;
297 MayDay::Abort(
"GeometryShop disallows the assignment operator");
301 #include "NamespaceFooter.H" RealVect m_origin
Definition: NewGeometryShop.H:219
FArrayBox m_residuals
Definition: NewGeometryShop.H:240
void outputGradNormal() const
An irregular domain on an integer lattice.
Definition: IntVectSet.H:44
Definition: NewGeometryShop.H:34
RealVect convert2RelativeCoord(const RealVect &a_rVect) const
#define GEOMETRY_ORDER
Definition: Notation.H:46
bool isCoveredEveryPoint(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual bool canGenerateMultiCells() const
Definition: NewGeometryShop.H:83
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
void fillResiduals(int &a_degreeP) const
bool isRegularEveryPoint(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
IndexTM< int, SpaceDim > convertIntVect2IndexTM(const IntVect &a_intVect) const
static bool s_verbose
Definition: NewGeometryShop.H:256
one dimensional dynamic array
Definition: Vector.H:52
bool isRegular(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
virtual bool isIrregular(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
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 ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const RealVect &a_vectDx, const IntVect &a_iv) const
int m_phase
Definition: NewGeometryShop.H:204
void clipComputedVal(Real &a_volFrac, Vector< Real > a_loAreaFrac[SpaceDim], Vector< Real > a_hiAreaFrac[SpaceDim], Real &a_bndryArea, RealVect &a_volCentroid, RealVect &a_bndryCentroid, Vector< RealVect > a_loFaceCentroid[SpaceDim], Vector< RealVect > a_hiFaceCentroid[SpaceDim], const IntVect &a_iv) const
CutCellMoments< GLOBALDIM > m_cutCellMoments
Definition: NewGeometryShop.H:253
NewGeometryShop()
Definition: NewGeometryShop.H:287
IndexTM< Real, SpaceDim > convertRealVect2IndexTM(const RealVect &a_realVect) const
void fillHiAreaFrac(Vector< Real > a_hiAreaFrac[SpaceDim]) const
virtual bool isIrregularEveryPoint(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx, const Real &a_originVal) const
RealVect m_vectDx
Definition: NewGeometryShop.H:221
const int SpaceDim
Definition: SPACE.H:39
IntVect m_currIv
Definition: NewGeometryShop.H:244
FArrayBox m_gradNormal
Definition: NewGeometryShop.H:241
bool m_useConstraints
Definition: NewGeometryShop.H:231
void fillAreaFrac(Vector< Real > a_AreaFrac[SpaceDim], const int &a_hilo) const
RealVect fillNormal() const
Real m_volScaleFactor
Definition: NewGeometryShop.H:234
NewGeometryShop(const NewGeometryShop &a_workshopin)
Definition: NewGeometryShop.H:291
double Real
Definition: REAL.H:33
#define GEOMETRY_DEGREEP
Definition: Notation.H:49
IntVect convertIndexTM2IntVect(const IndexTM< int, SpaceDim > &a_indexTm) const
Definition: GeometryService.H:37
void operator=(const NewGeometryShop &a_workshopin)
Definition: NewGeometryShop.H:295
void outputResidual(int &type, int &a_degreeP) const
RealVect fillBndryCentroid() const
const BaseIF * m_baseIF
Definition: NewGeometryShop.H:248
RealVect fillvolCentroid() const
void fillHiArc(Vector< int > a_hiArc[SpaceDim], const IntVectSet &a_ivsIrreg) const
#define GEOMETRY_CONSTRAINTS
Definition: Notation.H:64
void fillFaceCentroid(Vector< RealVect >a_loFaceCentroid[SpaceDim], const int &a_hilo) const
void fillArc(Vector< int > a_arc[SpaceDim], const int &a_hilo, const IntVectSet &a_ivsIrreg) const
void fillLoAreaFrac(Vector< Real > a_loAreaFrac[SpaceDim]) const
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
A Real vector in SpaceDim-dimensional space.
Definition: RealVect.H:41
RvgDim m_dxVect
Definition: NewGeometryShop.H:222
Real m_bndryAreaScaleFactor
Definition: NewGeometryShop.H:237
bool isCovered(const Box &a_region, const ProblemDomain &a_domain, const RealVect &a_origin, const Real &a_dx) const
ProblemDomain m_domain
Definition: NewGeometryShop.H:246
void fillHiFaceCentroid(Vector< RealVect >a_hiFaceCentroid[SpaceDim]) const
void fillLoArc(Vector< int > a_loArc[SpaceDim], const IntVectSet &a_ivsIrreg) const
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: FArrayBox.H:44
Real m_threshold
Definition: NewGeometryShop.H:216
Volume of Fluid Index.
Definition: VolIndex.H:31
void fillLoFaceCentroid(Vector< RealVect >a_LOFaceCentroid[SpaceDim]) const
int m_numCellsClipped
Definition: NewGeometryShop.H:215
RealVect convertIndexTM2RealVect(const IndexTM< Real, SpaceDim > &a_indexTm) const
void settCurrIv(const IntVect &a_iv) const
int m_degreeP
Definition: NewGeometryShop.H:226
Real fillBndryArea() const
#define GLOBALDIM
Definition: Notation.H:35
Definition: CutCellMoments.H:32
int m_order
Definition: NewGeometryShop.H:225
#define RECURSIVE_GEOMETRY_GENERATION
Definition: Notation.H:40
static void Abort(const char *const a_msg=m_nullString)
Print out message to cerr and exit via abort() (if serial) or MPI_Abort() (if parallel).