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 ProblemDomain &a_domain, Real a_dx)
 NodeMGInterp (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const Box &a_domain, Real a_dx)
void define (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const ProblemDomain &a_domain, Real a_dx)
void define (const DisjointBoxLayout &a_grids, int a_numcomps, int a_refRatio, const Box &a_domain, Real a_dx)
void interpToFine (LevelData< NodeFArrayBox > &a_fine, const LevelData< NodeFArrayBox > &a_coarse, bool a_sameGrids=false)
bool isDefined () const

Protected Methods

void clearMemory ()

Protected Attributes

bool is_defined
int m_coarsenings
Vector< LevelData< NodeFArrayBox > * > m_inter
Vector< NodeMGInterp2 * > m_interp2


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 ProblemDomain &    a_domain,
Real    a_dx
 

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


Member Function Documentation

void NodeMGInterp::clearMemory   [protected]
 

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

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

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.\ a_dx: the mesh spacing 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]
 

int NodeMGInterp::m_coarsenings [protected]
 

Vector< LevelData<NodeFArrayBox>* > NodeMGInterp::m_inter [protected]
 

Vector<NodeMGInterp2*> NodeMGInterp::m_interp2 [protected]
 


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