13 #ifndef _EBMGAVERAGE_H_ 14 #define _EBMGAVERAGE_H_ 24 #include "NamespaceHeader.H" 52 const bool& a_layoutChanged =
true);
76 const bool& a_layoutChanged =
true);
158 #include "NamespaceFooter.H" bool m_isDefined
Definition: EBMGAverage.H:117
bool m_coarsenable
Definition: EBMGAverage.H:133
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Definition: EBIndexSpace.H:260
int m_refRat
Definition: EBMGAverage.H:129
void operator=(const EBMGAverage &fabin)
Definition: EBMGAverage.H:151
void averageMG(LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables)
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: LayoutData.H:46
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:137
bool m_layoutChanged
Definition: EBMGAverage.H:132
void define(const DisjointBoxLayout &dblFine, const DisjointBoxLayout &dblCoar, const EBISLayout &ebislFine, const EBISLayout &ebislCoar, const ProblemDomain &domainCoar, const int &nref, const int &nvar, const EBIndexSpace *ebisPtr, const IntVect &ghostCellsRHS, const bool &a_layoutChanged=true)
DisjointBoxLayout m_fineGrids
Definition: EBMGAverage.H:120
EBISLayout m_coarEBISL
Definition: EBMGAverage.H:126
int m_nComp
Definition: EBMGAverage.H:130
Structure for passing component ranges in code.
Definition: Interval.H:23
Definition: EBCellFAB.H:29
EBISLayout m_buffEBISL
Definition: EBMGAverage.H:141
Copier m_copier
Definition: EBMGAverage.H:122
DisjointBoxLayout m_refinedCoarseGrids
Definition: EBMGAverage.H:121
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.
void averageFAB(EBCellFAB &a_coar, const Box &a_box, const EBCellFAB &a_refCoar, const DataIndex &a_datInd, const Interval &a_variables) const
DisjointBoxLayout m_buffGrids
Definition: EBMGAverage.H:140
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
Definition: DataIndex.H:112
ProblemDomain m_coarDomain
Definition: EBMGAverage.H:123
Piecewise constant interpolation.
Definition: EBMGAverage.H:31
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
ProblemDomain m_fineDomain
Definition: EBMGAverage.H:124
Definition: EBISLayout.H:39
IntVect m_ghost
Definition: EBMGAverage.H:118
DisjointBoxLayout m_coarGrids
Definition: EBMGAverage.H:119
EBISLayout m_fineEBISL
Definition: EBMGAverage.H:127
LayoutData< RefCountedPtr< EBStencil > > m_averageEBStencil
Definition: EBMGAverage.H:143
EBMGAverage(const EBMGAverage &ebcin)
Definition: EBMGAverage.H:147
void average(LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables)