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

NodeMGInterp2 Class Reference

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

#include <NodeMGInterp2.H>

List of all members.

Public Methods

 NodeMGInterp2 ()
 ~NodeMGInterp2 ()
 NodeMGInterp2 (const DisjointBoxLayout &a_grids, int a_numcomps, Real a_dx)
void define (const DisjointBoxLayout &a_grids, int a_numcomps, Real a_dx)
void getWeights (const DisjointBoxLayout &a_gridsFine, Real a_dx)
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
Box m_boxRef
BoxLayoutData< NodeFArrayBoxm_weights


Detailed Description

Class to interpolate coarse level data to a fine level.

NodeMGInterp2 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

NodeMGInterp2::NodeMGInterp2  
 

NodeMGInterp2::~NodeMGInterp2  
 

NodeMGInterp2::NodeMGInterp2 const DisjointBoxLayout &    a_grids,
int    a_numcomps,
Real    a_dx
 


Member Function Documentation

void NodeMGInterp2::define const DisjointBoxLayout &    a_grids,
int    a_numcomps,
Real    a_dx
 

specify the fine level domain and refinement ratio.

void NodeMGInterp2::getWeights const DisjointBoxLayout &    a_gridsFine,
Real    a_dx
 

Get weights.

void NodeMGInterp2::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_data (modified): data at the finer level.\ a_coarse_data (not modified): data at the coarser level.\

bool NodeMGInterp2::isDefined   const
 


Member Data Documentation

bool NodeMGInterp2::is_defined [protected]
 

Box NodeMGInterp2::m_boxRef [protected]
 

BoxLayoutData<NodeFArrayBox> NodeMGInterp2::m_coarsenedFine [protected]
 

DisjointBoxLayout NodeMGInterp2::m_grids [protected]
 

int NodeMGInterp2::m_refRatio [protected]
 

BoxLayoutData<NodeFArrayBox> NodeMGInterp2::m_weights [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