11 #ifndef _CUTCELLMOMENTS_H_ 12 #define _CUTCELLMOMENTS_H_ 14 #if defined(CH_Darwin) && defined(__GNUC__) && ( __GNUC__ == 3 ) 17 #define _GLIBCPP_USE_C99 1 30 #include "NamespaceHeader.H" 75 PthMomentLesserDimension & a_map2);
78 OneDMoments & a_map2);
95 const int & a_degreeP,
97 const int & a_degreePmax,
99 const bool & a_useConstraints,
109 const EBorVol & a_EBorVOL)
const;
117 const int & a_normJ)
const;
120 const int & a_iDegree,
121 const int & a_normJ);
130 void print(ostream& out)
const;
188 OneDMoments & a_map2);
202 const int & a_degreeP,
204 const int & a_degreePmax,
206 const bool & a_useConstraints,
212 const EBorVol & a_EBorVOL)
const;
226 void print(ostream& out)
const;
244 #include "NamespaceFooter.H"
bool isCovered() const
Definition: CutCellMomentsImplem.H:664
Real getVol(const EBorVol &a_EBorVol) const
Definition: CutCellMomentsImplem.H:582
BdCutCellMoments m_bdCutCellMoments
Definition: CutCellMoments.H:144
IndexTM< Real, dim > RvDim
Definition: CutCellMoments.H:36
Definition: CoordinateSystem.H:34
Definition: CutCellMoments.H:163
map< IndexTM< int, 1 >, Real > OneDMoments
Definition: CutCellMoments.H:42
Real getResidual(const int &a_iDegree, const int &a_normJ) const
Definition: CutCellMomentsImplem.H:621
map< IndexTM< int, 1 >, Real > OneDMoments
Definition: CutCellMoments.H:166
void changeMomentCoordinatesToCellCenter()
Definition: CutCellMomentsImplem.H:399
EBorVol
Definition: Notation.H:101
Vector< Real > sliceResidual(const int &a_iDegree) const
Definition: CutCellMomentsImplem.H:651
Real getMoment(const IvDim &a_mono, const EBorVol &a_EBorVOL) const
Definition: CutCellMomentsImplem.H:541
bool m_badNormal
Definition: CutCellMoments.H:159
map< Iv2, CutCellMoments< dim-1 >, LexLT< Iv2 > > BdCutCellMoments
Definition: CutCellMoments.H:46
IFData< 1 > m_IFData
Definition: CutCellMoments.H:235
~CutCellMoments()
Definition: CutCellMomentsImplem.H:96
OneDMoments m_EBmoments
Definition: CutCellMoments.H:241
void print(ostream &out) const
Definition: CutCellMomentsImplem.H:674
CutCellMoments()
Definition: CutCellMomentsImplem.H:35
void setResidual(const Real &a_value, const int &a_iDegree, const int &a_normJ)
Definition: CutCellMomentsImplem.H:637
IFData< dim > m_IFData
Definition: CutCellMoments.H:147
Vector< Vector< Real > > m_residual
Definition: CutCellMoments.H:153
bool m_bdCCOn
Definition: CutCellMoments.H:150
double Real
Definition: REAL.H:33
Real fullCellQuadrature(const IndexTM< int, dim > &a_mono, const CoordinateSystem< dim > &a_coord)
Definition: CutCellMomentsImplem.H:269
bool isRegular() const
Definition: CutCellMomentsImplem.H:669
map< IvDim, int, LexLT< IvDim > > PthMomentLoc
Definition: CutCellMoments.H:44
IndexTM< int, dim > IvDim
Definition: CutCellMoments.H:35
map< IndexTM< int, dim-1 >, Real, LexLT< IndexTM< int, dim-1 > > > PthMomentLesserDimension
Definition: CutCellMoments.H:40
void initialize(CutCellMoments< dim > &a_refinedCutCell)
Definition: CutCellMomentsImplem.H:443
int m_numActiveBounds
Definition: CutCellMoments.H:156
map< int, IvDim > LocPthMoment
Definition: CutCellMoments.H:43
void changeMomentCoordinatesToParentCenter()
Definition: CutCellMomentsImplem.H:421
PthMoment m_moments
Definition: CutCellMoments.H:138
OneDMoments m_moments
Definition: CutCellMoments.H:234
int m_numActiveBounds
Definition: CutCellMoments.H:237
void addBdMoments(CutCellMoments< dim > &a_coarseCutCell, const IFData< dim+1 > &a_IFData, const int &a_degreeP, const bool &a_useConstraints, const IndexTM< Real, dim > &a_refinedCenterDelta, const IndexTM< int, dim > &a_localHilo)
Definition: CutCellMomentsImplem.H:116
Real getBdMoment(const IvDim &a_mono, const IFData< dim+1 > &a_IFData, const IndexTM< Real, dim > &a_refinedCenterDelta, PthMoment a_fullCellMap=PthMoment())
Definition: CutCellMomentsImplem.H:494
Definition: Notation.H:92
void initializeMap(PthMoment &a_map1, PthMoment &a_map2)
Definition: CutCellMomentsImplem.H:476
RvDim getCentroid(const EBorVol &a_EBorVOL) const
Definition: CutCellMomentsImplem.H:593
PthMoment m_EBmoments
Definition: CutCellMoments.H:141
const CutCellMoments< dim - 1 > getBdCutCellMoments(const Iv2 &a_bdId) const
Definition: CutCellMomentsImplem.H:100
map< IvDim, Real, LexLT< IvDim > > PthMoment
Definition: CutCellMoments.H:38
void operator=(const CutCellMoments< dim > &a_cutCellMoments)
Definition: CutCellMomentsImplem.H:787
IndexTM< int, 2 > Iv2
Definition: Notation.H:108
Real getBdEBMoment(const IvDim &a_mono, const IFData< dim+1 > &a_IFData, const IndexTM< Real, dim > &a_refinedCenterDelta)
Definition: CutCellMomentsImplem.H:520
void dump() const
Definition: CutCellMomentsImplem.H:781
int dim
Definition: EBInterface.H:146
bool m_badNormal
Definition: CutCellMoments.H:238
Definition: CutCellMoments.H:32
Real changeMomentCoordinates(PthMoment &a_refinedMomentMap, const IndexTM< int, dim > &a_monomial, const IndexTM< Real, dim > &a_refinedCenterDelta)
Definition: CutCellMomentsImplem.H:293
#define RECURSIVE_GEOMETRY_GENERATION
Definition: Notation.H:40
bool m_bdCCOn
Definition: CutCellMoments.H:236