Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

NodeMGInterp Class Reference

Class to interpolate coarse level data to a fine level. More...

#include <NodeMGInterp.H>

List of all members.

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< NodeFArrayBoxm_coarsenedFine
DisjointBoxLayout m_grids
ProblemDomain m_domain
Box m_boxRef
FArrayBox m_weights


Detailed Description

Class to interpolate coarse level data to a fine level.

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.


Constructor & Destructor Documentation

NodeMGInterp::NodeMGInterp  
 

NodeMGInterp::~NodeMGInterp  
 

NodeMGInterp::NodeMGInterp const DisjointBoxLayout &    a_grids,
int    a_numcomps,
int    a_refRatio,
const Box &    a_domain
 

NodeMGInterp::NodeMGInterp const DisjointBoxLayout &    a_grids,
int    a_numcomps,
int    a_refRatio,
const ProblemDomain &    a_domain
 


Member Function Documentation

void NodeMGInterp::define const DisjointBoxLayout &    a_grids,
int    a_numcomps,
int    a_refRatio,
const Box &    a_domain
 

void NodeMGInterp::define const DisjointBoxLayout &    a_grids,
int    a_numcomps,
int    a_refRatio,
const ProblemDomain &    a_domain
 

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.---

void NodeMGInterp::interpToFine LevelData< NodeFArrayBox > &    a_fine,
const LevelData< NodeFArrayBox > &    a_coarse,
bool    a_sameGrids = false
 

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.

bool NodeMGInterp::isDefined   const
 


Member Data Documentation

bool NodeMGInterp::is_defined [protected]
 

Box NodeMGInterp::m_boxRef [protected]
 

BoxLayoutData<NodeFArrayBox> NodeMGInterp::m_coarsenedFine [protected]
 

ProblemDomain NodeMGInterp::m_domain [protected]
 

DisjointBoxLayout NodeMGInterp::m_grids [protected]
 

int NodeMGInterp::m_refRatio [protected]
 

FArrayBox NodeMGInterp::m_weights [protected]
 


The documentation for this class was generated from the following file:
Generated on Tue Apr 15 18:34:55 2003 for AMRNodeElliptic by doxygen1.2.16