Chombo + EB + MF
3.2
|
Copy coarse values from coarse cells to the fine cells covering them. More...
#include <EBCFCopy.H>
Public Member Functions | |
EBCFCopy () | |
~EBCFCopy () | |
EBCFCopy (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 *a_ebisPtr, const IntVect &a_ghostCellsPhi, const bool &a_layoutChanged=true) | |
void | define (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 *a_ebisPtr, const IntVect &a_ghostCellsPhi, const bool &a_layoutChanged=true) |
bool | isDefined () const |
void | copy (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables) |
void | copySameLayout (LevelData< EBCellFAB > &a_fineData, const LevelData< EBCellFAB > &a_coarseData, const Interval &a_variables) |
Protected Member Functions | |
void | copyFAB (EBCellFAB &a_refCoar, const Box &a_coarBox, const EBCellFAB &a_fine, const DataIndex &a_datInd, const Interval &a_variables) const |
void | setDefaultValues () |
void | defineStencils () |
Private Member Functions | |
EBCFCopy (const EBCFCopy &ebcin) | |
void | operator= (const EBCFCopy &fabin) |
Copy coarse values from coarse cells to the fine cells covering them.
Copy coarse values from coarse cells to the fine cells covering them. This was adapted from EBMGInterp to live in EBTools instead of EBAMRTools because it's used by EBIndexSpace.
EBCFCopy::EBCFCopy | ( | ) |
Default constructor. User must subsequently call define().
EBCFCopy::~EBCFCopy | ( | ) |
EBCFCopy::EBCFCopy | ( | 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 * | a_ebisPtr, | ||
const IntVect & | a_ghostCellsPhi, | ||
const bool & | a_layoutChanged = true |
||
) |
Defining constructor. Constructs a valid object. Equivalent to default construction followed by define().
{ 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.
|
inlineprivate |
References MayDay::Error().
void EBCFCopy::define | ( | 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 * | a_ebisPtr, | ||
const IntVect & | a_ghostCellsPhi, | ||
const bool & | a_layoutChanged = true |
||
) |
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 EBCFCopy::isDefined | ( | ) | const |
Returns true if this object was created with the defining constructor or if define() has been called.
void EBCFCopy::copy | ( | LevelData< EBCellFAB > & | a_fineData, |
const LevelData< EBCellFAB > & | a_coarseData, | ||
const Interval & | a_variables | ||
) |
Copy coarse data to the fine data covering them (agglomeration allowed). fine data = coarse data
void EBCFCopy::copySameLayout | ( | LevelData< EBCellFAB > & | a_fineData, |
const LevelData< EBCellFAB > & | a_coarseData, | ||
const Interval & | a_variables | ||
) |
Copy coarse data to the fine data covering them (no agglomeration allowed). There are no copyTo's here. fine data = coarse data
|
protected |
|
protected |
|
protected |
|
inlineprivate |
References MayDay::Error().
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |