13 #ifndef _EBMGINTERP_H_ 14 #define _EBMGINTERP_H_ 27 #include "NamespaceHeader.H" 68 const bool& layoutChanged =
true,
69 const bool& doLinear =
false);
94 const bool& layoutChanged =
true,
95 const bool& doLinear =
false);
158 const Box & a_boxFine,
159 const Box & a_boxCoar);
166 const Box & a_boxFine,
167 const Box & a_boxCoar);
174 const Box& a_coarBox,
182 const Box& a_coarBox,
239 #include "NamespaceFooter.H" EBMGInterp(const EBMGInterp &ebcin)
Definition: EBMGInterp.H:228
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Definition: EBIndexSpace.H:260
Data that maintains a one-to-one mapping of T to the boxes in a BoxLayout.
Definition: LayoutData.H:46
bool m_isDefined
Definition: EBMGInterp.H:191
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:137
void pwcInterpMG(LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)
Piecewise constant interpolation.
Definition: EBMGInterp.H:33
void pwlInterpFAB(EBCellFAB &a_refCoar, const Box &a_coarBox, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_variables) const
DisjointBoxLayout m_fineGrids
Definition: EBMGInterp.H:194
void pwlInterpMG(LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)
int m_refRat
Definition: EBMGInterp.H:200
void pwcInterp(LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)
void pwcInterpFAB(EBCellFAB &a_refCoar, const Box &a_coarBox, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_variables) const
LayoutData< RefCountedPtr< EBStencil > > m_linearEBStencil
Definition: EBMGInterp.H:224
void pwlInterp(LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables)
Structure for passing component ranges in code.
Definition: Interval.H:23
ProblemDomain m_fineDomain
Definition: EBMGInterp.H:196
void fillGhostCellsPWC(LevelData< EBCellFAB > &a_data, const EBISLayout &a_ebisl, const ProblemDomain &a_dom)
bool m_layoutChanged
Definition: EBMGInterp.H:204
Definition: EBCellFAB.H:29
EBISLayout m_coarEBISL
Definition: EBMGInterp.H:197
EBISLayout m_fineEBISL
Definition: EBMGInterp.H:198
DisjointBoxLayout m_buffGrids
Definition: EBMGInterp.H:212
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 &ghostCellsPhi, const bool &layoutChanged=true, const bool &doLinear=false)
void defineConstantStencil(const DataIndex &a_dit, const Vector< VolIndex > &a_allFineVoFs, const EBISLayout &a_ebislStenFine, const EBISLayout &a_ebislStenCoar, const Box &a_boxFine, const Box &a_boxCoar)
LayoutData< RefCountedPtr< EBStencil > > m_interpEBStencil
Definition: EBMGInterp.H:221
EBISLayout m_buffEBISL
Definition: EBMGInterp.H:213
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
Copier m_copierRCtoF
Definition: EBMGInterp.H:217
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 defineLinearStencil(const DataIndex &a_dit, const Vector< VolIndex > &a_allFineVoFs, const EBISLayout &a_ebislStenFine, const EBISLayout &a_ebislStenCoar, const Box &a_boxFine, const Box &a_boxCoar)
Copier m_copierFtoRC
Definition: EBMGInterp.H:216
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
ProblemDomain m_coarDomain
Definition: EBMGInterp.H:195
Definition: DataIndex.H:112
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
bool m_doLinear
Definition: EBMGInterp.H:203
Definition: EBISLayout.H:39
IntVect m_ghost
Definition: EBMGInterp.H:192
int m_nComp
Definition: EBMGInterp.H:201
DisjointBoxLayout m_coarGrids
Definition: EBMGInterp.H:193
void operator=(const EBMGInterp &fabin)
Definition: EBMGInterp.H:232
bool m_coarsenable
Definition: EBMGInterp.H:205