#include <CoarseAverageEdge.H>
Collaboration diagram for CoarseAverageEdge:
Public Methods | |
CoarseAverageEdge () | |
Default constructor. | |
CoarseAverageEdge (const DisjointBoxLayout &a_fineGrids, int a_nComp, int a_nRef) | |
defining constructor | |
~CoarseAverageEdge () | |
destructor | |
void | define (const DisjointBoxLayout &a_fineGrids, int a_nComp, int a_nRef) |
defines the object | |
bool | isDefined () const |
void | averageToCoarse (LevelData< FluxBox > &a_coarse_data, const LevelData< FluxBox > &a_fine_data) |
averages fine-level data to coarse level | |
Protected Methods | |
void | averageGridData (FluxBox &a_coarsenedFine, const FluxBox &fine) const |
averages entire single grid data from fine->crse | |
Protected Attributes | |
bool | m_isDefined |
int | m_nRef |
LevelData< FluxBox > | m_coarsenedFineData |
This class replaces edge-centered data on a coarse level of refinement with the average of the finer-level data which overlays the edge. This class is similar to CoarseAverage
|
Default constructor.
|
|
defining constructor
|
|
destructor
|
|
averages entire single grid data from fine->crse
|
|
averages fine-level data to coarse level
|
|
defines the object
|
|
|
|
|
|
|
|
|