#include <EBMGAverage.H>

Finedata += coarse data.
Public Member Functions | |
| EBMGAverage () | |
| ~EBMGAverage () | |
| EBMGAverage (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislFine, const EBISLayout &a_ebislCoar, const ProblemDomain &a_domainCoar, const int &a_nref, const int &a_nvar, const EBIndexSpace *ebisPtr, const IntVect &a_ghostCellsRHS) | |
| 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 &ghostCellsRHS) |
| bool | isDefined () const |
| void | average (LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables) |
| void | averageMG (LevelData< EBCellFAB > &a_coarData, const LevelData< EBCellFAB > &a_fineData, const Interval &a_variables) |
Protected Member Functions | |
| void | averageFAB (EBCellFAB &a_coar, const EBCellFAB &a_refCoar, const DataIndex &a_datInd, const Interval &a_variables) const |
| void | setDefaultValues () |
Protected Attributes | |
| bool | m_isDefined |
| IntVect | m_ghost |
| DisjointBoxLayout | m_coarGrids |
| DisjointBoxLayout | m_fineGrids |
| DisjointBoxLayout | m_refinedCoarseGrids |
| Copier | m_copier |
| ProblemDomain | m_coarDomain |
| ProblemDomain | m_fineDomain |
| EBISLayout | m_coarEBISL |
| EBISLayout | m_fineEBISL |
| EBISLayout | m_refinedCoarseEBISL |
| int | m_refRat |
| int | m_nComp |
| LevelData< EBCellFAB > | m_refinedCoarseData |
| LayoutData< RefCountedPtr < EBStencil > > | m_averageEBStencil |
Private Member Functions | |
| EBMGAverage (const EBMGAverage &ebcin) | |
| void | operator= (const EBMGAverage &fabin) |
| EBMGAverage::EBMGAverage | ( | ) |
Default constructor. User must subsequently call define().
| EBMGAverage::~EBMGAverage | ( | ) |
| EBMGAverage::EBMGAverage | ( | const DisjointBoxLayout & | a_dblFine, | |
| const DisjointBoxLayout & | a_dblCoar, | |||
| const EBISLayout & | a_ebislFine, | |||
| const EBISLayout & | a_ebislCoar, | |||
| const ProblemDomain & | a_domainCoar, | |||
| const int & | a_nref, | |||
| const int & | a_nvar, | |||
| const EBIndexSpace * | ebisPtr, | |||
| const IntVect & | a_ghostCellsRHS | |||
| ) |
| EBMGAverage::EBMGAverage | ( | const EBMGAverage & | ebcin | ) | [inline, private] |
References MayDay::Error().
| void EBMGAverage::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 & | ghostCellsRHS | |||
| ) |
Defines this object. Existing information is overriden.
{ Arguments:}\ dblFine, dblCoar: The fine and coarse layouts of the data.\ ebislFine, ebislCoar: The fine and coarse layouts of the geometric description.\ nref: The refinement ratio between the two levels. \ nvar: The number of variables contained in the data at each VoF.
| bool EBMGAverage::isDefined | ( | ) | const |
Returns true if this object was created with the defining constructor or if define() has been called.
| void EBMGAverage::average | ( | LevelData< EBCellFAB > & | a_coarData, | |
| const LevelData< EBCellFAB > & | a_fineData, | |||
| const Interval & | a_variables | |||
| ) |
Piecewise constant interpolation function FineData += coarseData
| void EBMGAverage::averageMG | ( | LevelData< EBCellFAB > & | a_coarData, | |
| const LevelData< EBCellFAB > & | a_fineData, | |||
| const Interval & | a_variables | |||
| ) |
Piecewise constant interpolation function for unchanged layouts (no agglomeration) there are no copies here FineData += coarseData
| void EBMGAverage::averageFAB | ( | EBCellFAB & | a_coar, | |
| const EBCellFAB & | a_refCoar, | |||
| const DataIndex & | a_datInd, | |||
| const Interval & | a_variables | |||
| ) | const [protected] |
| void EBMGAverage::setDefaultValues | ( | ) | [protected] |
| void EBMGAverage::operator= | ( | const EBMGAverage & | fabin | ) | [inline, private] |
References MayDay::Error().
bool EBMGAverage::m_isDefined [protected] |
IntVect EBMGAverage::m_ghost [protected] |
DisjointBoxLayout EBMGAverage::m_coarGrids [protected] |
DisjointBoxLayout EBMGAverage::m_fineGrids [protected] |
DisjointBoxLayout EBMGAverage::m_refinedCoarseGrids [protected] |
Copier EBMGAverage::m_copier [protected] |
ProblemDomain EBMGAverage::m_coarDomain [protected] |
ProblemDomain EBMGAverage::m_fineDomain [protected] |
EBISLayout EBMGAverage::m_coarEBISL [protected] |
EBISLayout EBMGAverage::m_fineEBISL [protected] |
EBISLayout EBMGAverage::m_refinedCoarseEBISL [protected] |
int EBMGAverage::m_refRat [protected] |
int EBMGAverage::m_nComp [protected] |
LevelData<EBCellFAB> EBMGAverage::m_refinedCoarseData [protected] |
LayoutData<RefCountedPtr<EBStencil> > EBMGAverage::m_averageEBStencil [protected] |
1.5.5