#include <EBCoarToCoarRedist.H>
Public Member Functions | |
| EBCoarToCoarRedist () | |
| ~EBCoarToCoarRedist () | |
| void | define (const DisjointBoxLayout &a_dblFine, const DisjointBoxLayout &a_dblCoar, const EBISLayout &a_ebislCoar, const Box &a_domainCoar, const int &a_nref, const int &a_nvar, int a_redistRad=1) |
| void | define (const EBLevelGrid &a_eblgFine, const EBLevelGrid &a_eblgCoar, const int &a_nref, const int &a_nvar, const int &a_redistRad) |
| void | setToZero () |
| void | increment (const BaseIVFAB< Real > &a_coarMass, const DataIndex &a_fineDataIndex, const Interval &a_variables) |
| void | resetWeights (const LevelData< EBCellFAB > &a_modifier, const int &a_ivar) |
| void | redistribute (LevelData< EBCellFAB > &a_coarSolution, const Interval &a_variables) |
| bool | isDefined () const |
Protected Member Functions | |
| void | setDefaultValues () |
| void | defineDataHolders () |
Protected Attributes | |
| bool | m_isDefined |
| int | m_redistRad |
| int | m_nComp |
| int | m_refRat |
| Box | m_domainCoar |
| DisjointBoxLayout | m_gridsCoar |
| LevelData< BaseIVFAB< Real > > | m_regsCoar |
| LayoutData< IntVectSet > | m_setsCoar |
| EBISLayout | m_ebislCoar |
| LayoutData< BaseIVFAB < VoFStencil > > | m_stenCoar |
| LayoutData< BaseIVFAB < VoFStencil > > | m_volumeStenc |
| LayoutData< BaseIVFAB < VoFStencil > > | m_standardStenc |
| LevelData< EBCellFAB > | m_densityCoar |
Private Member Functions | |
| void | operator= (const EBCoarToCoarRedist &) |
| EBCoarToCoarRedist (const EBCoarToCoarRedist &) | |
Friends | |
| class | EBFluxRegister |
| EBCoarToCoarRedist::EBCoarToCoarRedist | ( | ) |
Default constructor. Leaves object undefined.
| EBCoarToCoarRedist::~EBCoarToCoarRedist | ( | ) |
| EBCoarToCoarRedist::EBCoarToCoarRedist | ( | const EBCoarToCoarRedist & | ) | [inline, private] |
References MayDay::Error().
| void EBCoarToCoarRedist::define | ( | const DisjointBoxLayout & | a_dblFine, | |
| const DisjointBoxLayout & | a_dblCoar, | |||
| const EBISLayout & | a_ebislCoar, | |||
| const Box & | a_domainCoar, | |||
| const int & | a_nref, | |||
| const int & | a_nvar, | |||
| int | a_redistRad = 1 | |||
| ) |
Full define function. \ dblCoar: coarse layouts of the data. \ ebislCoar: coarse EBISlayout \ of the geometric description.\ nref: The refinement ratio between the two levels.\ nvar: The number of variables contained in the data at each VoF. \ coarStencil: The redistribution stencil for this level.
| void EBCoarToCoarRedist::define | ( | const EBLevelGrid & | a_eblgFine, | |
| const EBLevelGrid & | a_eblgCoar, | |||
| const int & | a_nref, | |||
| const int & | a_nvar, | |||
| const int & | a_redistRad | |||
| ) |
potentially faster define function, especially with large numbers of boxes.
| void EBCoarToCoarRedist::setToZero | ( | ) |
Initialize values of registers to zero.
| void EBCoarToCoarRedist::increment | ( | const BaseIVFAB< Real > & | a_coarMass, | |
| const DataIndex & | a_fineDataIndex, | |||
| const Interval & | a_variables | |||
| ) |
Increments the register with data from coarseMass. This is the full redistribution mass. Internally the class figures out what actually gets re-redistributed.
| void EBCoarToCoarRedist::resetWeights | ( | const LevelData< EBCellFAB > & | a_modifier, | |
| const int & | a_ivar | |||
| ) |
| void EBCoarToCoarRedist::redistribute | ( | LevelData< EBCellFAB > & | a_coarSolution, | |
| const Interval & | a_variables | |||
| ) |
Reredistribute the data contained in the internal buffers.
| bool EBCoarToCoarRedist::isDefined | ( | ) | const |
| void EBCoarToCoarRedist::setDefaultValues | ( | ) | [protected] |
| void EBCoarToCoarRedist::defineDataHolders | ( | ) | [protected] |
| void EBCoarToCoarRedist::operator= | ( | const EBCoarToCoarRedist & | ) | [inline, private] |
References MayDay::Error().
friend class EBFluxRegister [friend] |
bool EBCoarToCoarRedist::m_isDefined [protected] |
int EBCoarToCoarRedist::m_redistRad [protected] |
int EBCoarToCoarRedist::m_nComp [protected] |
int EBCoarToCoarRedist::m_refRat [protected] |
Box EBCoarToCoarRedist::m_domainCoar [protected] |
DisjointBoxLayout EBCoarToCoarRedist::m_gridsCoar [protected] |
LevelData<BaseIVFAB<Real> > EBCoarToCoarRedist::m_regsCoar [protected] |
LayoutData<IntVectSet> EBCoarToCoarRedist::m_setsCoar [protected] |
EBISLayout EBCoarToCoarRedist::m_ebislCoar [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_stenCoar [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_volumeStenc [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToCoarRedist::m_standardStenc [protected] |
LevelData<EBCellFAB> EBCoarToCoarRedist::m_densityCoar [protected] |
1.5.5