|
Chombo + EB + MF
3.2
|
#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 |
A EBCoarToCoarRedist handles all the data choreography for coarse to coarse redistribution ("re-redistribution").
| EBCoarToCoarRedist::EBCoarToCoarRedist | ( | ) |
Default constructor. Leaves object undefined.
| EBCoarToCoarRedist::~EBCoarToCoarRedist | ( | ) |
|
inlineprivate |
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 |
|
protected |
|
protected |
|
inlineprivate |
References MayDay::Error().
|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
1.8.13