#include <EBCoarToFineRedist.H>
Coarse to fine redistribution class.
EBCoarToFineRedist::EBCoarToFineRedist | ( | ) |
Default constructor. Leaves object undefined.
EBCoarToFineRedist::~EBCoarToFineRedist | ( | ) |
EBCoarToFineRedist::EBCoarToFineRedist | ( | const EBCoarToFineRedist & | ) | [inline, private] |
References MayDay::Error().
void EBCoarToFineRedist::setToZero | ( | ) |
Initialize values of registers to zero.
void EBCoarToFineRedist::increment | ( | const BaseIVFAB< Real > & | a_coarseMass, | |
const DataIndex & | a_coarseDataIndex, | |||
const Interval & | a_variables | |||
) |
Increments the register with data from coarseMass. This is the full redistribution mass. Internally the class figures out what actually goes to the fine level.
void EBCoarToFineRedist::redistribute | ( | LevelData< EBCellFAB > & | a_fineSolution, | |
const Interval & | a_variables | |||
) |
Redistribute the data contained in the internal buffers.
bool EBCoarToFineRedist::isDefined | ( | ) | const |
void EBCoarToFineRedist::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 | redistRad, | |||
const EBIndexSpace * | ebisPtr | |||
) |
ugly but general define fcn
Full define function. Define the stencils with volume weights. If you want mass weights or whatever, use reset weights.
void EBCoarToFineRedist::define | ( | const EBLevelGrid & | a_eblgFine, | |
const EBLevelGrid & | a_eblgCoar, | |||
const int & | a_nref, | |||
const int & | a_nvar, | |||
const int & | a_redistRad | |||
) |
Interface that uses EBLevelGrid potentially can be much faster when the number of boxes gets large.
void EBCoarToFineRedist::resetWeights | ( | const LevelData< EBCellFAB > & | a_modifierCoar, | |
const int & | a_ivar | |||
) |
void EBCoarToFineRedist::setDefaultValues | ( | ) | [protected] |
void EBCoarToFineRedist::defineDataHolders | ( | ) | [protected] |
void EBCoarToFineRedist::operator= | ( | const EBCoarToFineRedist & | ) | [inline, private] |
References MayDay::Error().
friend class EBFluxRegister [friend] |
bool EBCoarToFineRedist::m_isDefined [protected] |
int EBCoarToFineRedist::m_redistRad [protected] |
int EBCoarToFineRedist::m_nComp [protected] |
int EBCoarToFineRedist::m_refRat [protected] |
Box EBCoarToFineRedist::m_domainCoar [protected] |
DisjointBoxLayout EBCoarToFineRedist::m_gridsFine [protected] |
DisjointBoxLayout EBCoarToFineRedist::m_gridsCoar [protected] |
DisjointBoxLayout EBCoarToFineRedist::m_gridsCedFine [protected] |
LevelData<BaseIVFAB<Real> > EBCoarToFineRedist::m_regsCoar [protected] |
LevelData<BaseIVFAB<Real> > EBCoarToFineRedist::m_regsCedFine [protected] |
LevelData<EBCellFAB> EBCoarToFineRedist::m_densityCedFine [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToFineRedist::m_stenCedFine [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToFineRedist::m_volumeStenc [protected] |
LayoutData<BaseIVFAB<VoFStencil> > EBCoarToFineRedist::m_standardStenc [protected] |
LayoutData<IntVectSet> EBCoarToFineRedist::m_setsCedFine [protected] |
LayoutData<IntVectSet> EBCoarToFineRedist::m_setsCoar [protected] |
EBISLayout EBCoarToFineRedist::m_ebislFine [protected] |
EBISLayout EBCoarToFineRedist::m_ebislCoar [protected] |
EBISLayout EBCoarToFineRedist::m_ebislCedFine [protected] |