#include <NodeMGInterp.H>
Public Methods | |
NodeMGInterp () | |
~NodeMGInterp () | |
NodeMGInterp (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const Box &a_domain) | |
NodeMGInterp (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const ProblemDomain &a_domain) | |
void | define (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const ProblemDomain &a_domain) |
void | define (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const Box &a_domain) |
void | interpToFine (LevelData< NodeFArrayBox > &a_fine, const LevelData< NodeFArrayBox > &a_coarse, bool a_sameGrids=false) |
bool | isDefined () const |
Protected Attributes | |
bool | is_defined |
int | m_refRatio |
BoxLayoutData< NodeFArrayBox > | m_coarsenedFine |
DisjointBoxLayout | m_grids |
ProblemDomain | m_domain |
Box | m_boxRef |
FArrayBox | m_weights |
NodeMGInterp manages the interpolation of coarse-level data to fine-level data for multigrid. This class should be considered internal to AMRSolver and not a part of the Chombo API.
|
|
|
|
|
|
|
|
|
|
|
Defines this object. Existing information is overriden. {\bf Arguments:}\ a_grids: the grids at the fine level.\ a_numcomps: the number of components.\ a_refRatio: the refinement ratio.\ a_domain: the physical domain at the fine level.\ {\bf This:}\ ---This object is modified.--- |
|
Adds interpolated coarse-level data to fine-level data. {\bf Arguments:}\ a_fine (modified): data at the finer level.\ a_coarse (not modified): data at the coarser level.\ a_sameGrids: whether the finer-level grids are refinements of the coarser-level grids. |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|