13 #ifndef _EBCOARSEAVERAGE_H_ 14 #define _EBCOARSEAVERAGE_H_ 28 #include "NamespaceHeader.H" 177 const Interval& a_coarInterv)
const;
185 const int& a_dir)
const;
226 #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:211
A class to facilitate interaction with physical boundary conditions.
Definition: ProblemDomain.H:141
Definition: EBIndexSpace.H:50
bool m_isDefined
Definition: EBCoarseAverage.H:197
EBLevelGrid m_eblgCoFi
Definition: EBCoarseAverage.H:204
Definition: EBLevelGrid.H:30
Definition: EBFaceFAB.H:28
void operator=(const EBCoarseAverage &fabin)
Definition: EBCoarseAverage.H:219
EBCoarseAverage(const EBCoarseAverage &ebcin)
Definition: EBCoarseAverage.H:215
LayoutData< IntVectSet > m_irregSetsFine
Definition: EBCoarseAverage.H:208
LayoutData< IntVectSet > m_irregSetsCoFi
Definition: EBCoarseAverage.H:205
Structure for passing component ranges in code.
Definition: Interval.H:23
Definition: EBCellFAB.H:29
int m_refRat
Definition: EBCoarseAverage.H:210
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:30
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:202
Definition: DataIndex.H:112
EBLevelGrid m_eblgFine
Definition: EBCoarseAverage.H:203
void averageFAB(EBCellFAB &a_coar, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_fineInterv, const Interval &a_coarInterv) const
bool m_useFineBuffer
Definition: EBCoarseAverage.H:201
Definition: EBISLayout.H:39
void average(LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables)