11 #ifndef _COARSEAVERAGE_H_ 12 #define _COARSEAVERAGE_H_ 18 #include "NamespaceHeader.H" 215 #include "NamespaceFooter.H" averageType
Definition: CoarseAverage.H:173
replaces coarse level data with an average of fine level data.
Definition: CoarseAverage.H:30
Definition: CoarseAverage.H:175
Definition: CoarseAverage.H:176
void averageToCoarseHarmonic(LevelData< FArrayBox > &a_coarse_data, const LevelData< FArrayBox > &a_fine_data)
similar to averageToCoarse, except does a harmonic average
A strange but true thing to make copying from one boxlayoutdata to another fast.
Definition: Copier.H:137
void define(const DisjointBoxLayout &a_fine_domain, int a_numcomps, int a_ref_ratio)
int m_ref_ratio
Definition: CoarseAverage.H:203
bool is_defined
Definition: CoarseAverage.H:200
A BoxLayout that has a concept of disjointedness.
Definition: DisjointBoxLayout.H:31
LevelData< FArrayBox > m_coarsened_fine_data
Definition: CoarseAverage.H:206
static const IntVect Zero
Definition: IntVect.H:627
void computeAverages(LevelData< FArrayBox > &a_coarse_data, const LevelData< FArrayBox > &a_fine_data, int a_averageType)
Copier m_copier
Definition: CoarseAverage.H:212
void averageGridData(BaseFab< Real > &a_coarse, const BaseFab< Real > &a_fine, int a_ref_ratio, int a_averageType) const
bool m_is_copier_defined
Definition: CoarseAverage.H:209
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Definition: CoarseAverage.H:177
void averageToCoarse(LevelData< FArrayBox > &a_coarse_data, const LevelData< FArrayBox > &a_fine_data)