#include <NodeMGInterp.H>
Collaboration diagram for NodeMGInterp:
NodeMGInterp manages the interpolation of coarse-level data to fine-level data for multigrid. This class should be considered internal to AMRNodeSolver and not a part of the Chombo API.
Public Member Functions | |
Constructors, destructor and defines | |
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) |
Access functions | |
bool | isDefined () const |
Data modification functions | |
void | interpToFine (LevelData< NodeFArrayBox > &a_fine, const LevelData< NodeFArrayBox > &a_coarse, bool a_sameGrids=false) |
Protected Attributes | |
bool | is_defined |
int | m_refRatio |
BoxLayoutData< NodeFArrayBox > | m_coarsenedFine |
DisjointBoxLayout | m_grids |
ProblemDomain | m_domain |
Box | m_boxRef |
FArrayBox | m_weights |
|
Default constructor. User must subsequently call define(). |
|
Destructor. |
|
Defining constructor. Calls define() function with identical arguments. |
|
Defining constructor. Calls define() function with identical arguments. |
|
Defines this object. Existing information is overridden.
|
|
Defines this object. Existing information is overridden.
|
|
Returns |
|
Adds interpolated coarse-level data to fine-level data.
|
|
has this NodeMGInterp object been defined yet? |
|
the refinement ratio between the two levels |
|
work array for the coarse-level data in a domain that is the outline of the fine level domain on the coarse level |
|
CELL-centered grids at the finer level |
|
CELL-centered physical domain at the finer level |
|
reference box used in interpolation |
|
weights of corners in interpolation |