BISICLES AMR ice sheet model
0.9
|
replaces fine level BaseFAB<int> data with coarse level data More...
#include <IntFineInterp.H>
Public Member Functions | |
IntFineInterp () | |
~IntFineInterp () | |
IntFineInterp (const DisjointBoxLayout &a_fine_domain, const int &a_numcomps, const int &a_ref_ratio, const IntVect &a_ghost, const Box &a_fine_problem_domain) | |
IntFineInterp (const DisjointBoxLayout &a_fine_domain, const int &a_numcomps, const int &a_ref_ratio, const IntVect &a_ghost, const ProblemDomain &a_fine_problem_domain) | |
void | define (const DisjointBoxLayout &a_fine_domain, const int &a_numcomps, const int &a_ref_ratio, const IntVect &a_ghost, const Box &a_fine_problem_domain) |
void | define (const DisjointBoxLayout &a_fine_domain, const int &a_numcomps, const int &a_ref_ratio, const IntVect &a_ghost, const ProblemDomain &a_fine_problem_domain) |
bool | isDefined () const |
void | pwcInterpToFine (LevelData< BaseFab< int > > &a_fine_data, const LevelData< BaseFab< int > > &a_coarse_data) |
Protected Attributes | |
bool | is_defined |
int | m_ref_ratio |
LevelData< BaseFab< int > > | m_coarsened_fine_data |
ProblemDomain | m_coarse_problem_domain |
IntVect | m_fineGhost |
replaces fine level BaseFAB<int> data with coarse level data
IntFineInterp::IntFineInterp | ( | ) |
Default constructor. User must subsequently call define().
IntFineInterp::~IntFineInterp | ( | ) |
Destructor.
IntFineInterp::IntFineInterp | ( | const DisjointBoxLayout & | a_fine_domain, |
const int & | a_numcomps, | ||
const int & | a_ref_ratio, | ||
const IntVect & | a_ghost, | ||
const Box & | a_fine_problem_domain | ||
) |
Defining constructor. Constructs a valid object. Equivalent to default construction followed by define().
{ Arguments:}\ a_fine_domain (not modified): the fine level domain.\ a_numcomps (not modified): the number of components.\ a_ref_ratio (not modified): the refinement ratio.\ a_ghost (not modified): ghost regions to fill.\ a_fine_problem_domain (not modified): problem domain at the fine level.\
References define().
IntFineInterp::IntFineInterp | ( | const DisjointBoxLayout & | a_fine_domain, |
const int & | a_numcomps, | ||
const int & | a_ref_ratio, | ||
const IntVect & | a_ghost, | ||
const ProblemDomain & | a_fine_problem_domain | ||
) |
Defining constructor. Constructs a valid object. Equivalent to default construction followed by define().
{ Arguments:}\ a_fine_domain (not modified): the fine level domain.\ a_numcomps (not modified): the number of components.\ a_ref_ratio (not modified): the refinement ratio.\ a_ghost (not modified): ghost regions to fill.\ a_fine_problem_domain (not modified): problem domain at the fine level.\
References define().
void IntFineInterp::define | ( | const DisjointBoxLayout & | a_fine_domain, |
const int & | a_numcomps, | ||
const int & | a_ref_ratio, | ||
const IntVect & | a_ghost, | ||
const Box & | a_fine_problem_domain | ||
) |
Defines this object. Existing information is overriden.
{ Arguments:}\ a_fine_domain (not modified): the fine level domain.\ a_numcomps (not modified): the number of components.\ a_ref_ratio (not modified): the refinement ratio.\ a_ghost (not modified): ghost regions to fill.\ a_fine_problem_domain (not modified): problem domain at the fine level.\
{ This:}\ —This object is modified.—
Referenced by IntFineInterp().
void IntFineInterp::define | ( | const DisjointBoxLayout & | a_fine_domain, |
const int & | a_numcomps, | ||
const int & | a_ref_ratio, | ||
const IntVect & | a_ghost, | ||
const ProblemDomain & | a_fine_problem_domain | ||
) |
Defines this object. Existing information is overriden.
{ Arguments:}\ a_fine_domain (not modified): the fine level domain.\ a_numcomps (not modified): the number of components.\ a_ref_ratio (not modified): the refinement ratio.\ a_ghost (not modified): ghost regions to fill.\ a_fine_problem_domain (not modified): problem domain at the fine level.\
{ This:}\ —This object is modified.—
References is_defined, m_coarse_problem_domain, m_coarsened_fine_data, m_fineGhost, and m_ref_ratio.
bool IntFineInterp::isDefined | ( | ) | const |
Returns true if this object was created with the defining constructor or if define() has been called.
{ This:}\ This object is not modified.
References is_defined.
void IntFineInterp::pwcInterpToFine | ( | LevelData< BaseFab< int > > & | a_fine_data, |
const LevelData< BaseFab< int > > & | a_coarse_data | ||
) |
References is_defined, m_coarsened_fine_data, and m_ref_ratio.
Referenced by LevelSigmaCS::interpFromCoarse().
|
protected |
Referenced by define(), isDefined(), and pwcInterpToFine().
|
protected |
Referenced by define().
|
protected |
Referenced by define(), and pwcInterpToFine().
|
protected |
Referenced by define().
|
protected |
Referenced by define(), and pwcInterpToFine().