#include <EBCoarToCoarRedist.H>
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_ebislFine, | |||
const EBISLayout & | a_ebislCoar, | |||
const Box & | a_domainCoar, | |||
const int & | a_nref, | |||
const int & | a_nvar, | |||
int | a_redistRad = 1 | |||
) |
Full define function. \ 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. \ 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_gridsFine [protected] |
DisjointBoxLayout EBCoarToCoarRedist::m_gridsCoar [protected] |
LevelData<BaseIVFAB<Real> > EBCoarToCoarRedist::m_regsCoar [protected] |
LayoutData<IntVectSet> EBCoarToCoarRedist::m_setsCoar [protected] |
EBISLayout EBCoarToCoarRedist::m_ebislFine [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] |