13 #ifndef _EBCOARSEAVERAGE_H_ 14 #define _EBCOARSEAVERAGE_H_ 28 #include "NamespaceHeader.H" 182 const int& a_dir)
const;
223 #include "NamespaceFooter.H"
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)
replaces coarse level data with an average of fine level data.
Definition: EBCoarseAverage.H:38
int m_nComp
Definition: EBCoarseAverage.H:208
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:130
Definition: EBIndexSpace.H:260
bool m_isDefined
Definition: EBCoarseAverage.H:194
EBLevelGrid m_eblgCoFi
Definition: EBCoarseAverage.H:201
Definition: EBLevelGrid.H:30
Definition: EBFaceFAB.H:28
void operator=(const EBCoarseAverage &fabin)
Definition: EBCoarseAverage.H:216
void averageFAB(EBCellFAB &a_coar, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_variables) const
EBCoarseAverage(const EBCoarseAverage &ebcin)
Definition: EBCoarseAverage.H:212
LayoutData< IntVectSet > m_irregSetsFine
Definition: EBCoarseAverage.H:205
LayoutData< IntVectSet > m_irregSetsCoFi
Definition: EBCoarseAverage.H:202
Structure for passing component ranges in code.
Definition: Interval.H:23
Definition: EBCellFAB.H:29
int m_refRat
Definition: EBCoarseAverage.H:207
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.
EBLevelGrid m_eblgCoar
Definition: EBCoarseAverage.H:199
Definition: DataIndex.H:112
EBLevelGrid m_eblgFine
Definition: EBCoarseAverage.H:200
bool m_useFineBuffer
Definition: EBCoarseAverage.H:198
Definition: EBISLayout.H:39
void average(LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables)