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

NodeCFIVS Class Reference

Class to get fine IntVectSet at coarse/fine interface. More...

#include <NodeCFIVS.H>

List of all members.

Public Methods

 NodeCFIVS ()
 {\bf constructors, destructor and defines}

 ~NodeCFIVS ()
 NodeCFIVS (const Box &a_domain, const Box &a_box, const DisjointBoxLayout &a_levelBoxes, int a_idir, Side::LoHiSide a_hiorlo)
 NodeCFIVS (const ProblemDomain &a_domain, const Box &a_box, const DisjointBoxLayout &a_levelBoxes, int a_idir, Side::LoHiSide a_hiorlo)
void define (const Box &a_domain, const Box &a_box, const DisjointBoxLayout &a_levelBoxes, int a_idir, Side::LoHiSide a_hiorlo)
void define (const ProblemDomain &a_domain, const Box &a_box, const DisjointBoxLayout &a_levelBoxes, int a_idir, Side::LoHiSide a_hiorlo)
bool isDefined () const
bool isPacked () const
const Box & packedBox () const
const IntVectSet & getFineIVS () const

Static Public Attributes

long long m_packCount
long long m_sparseCount

Protected Methods

void setDefaultValues ()

Protected Attributes

IntVectSet m_fineInterpIVS
bool m_packed
Box m_packedBox
bool m_isdefined


Detailed Description

Class to get fine IntVectSet at coarse/fine interface.

Class to get IntVectSet of nodes of a particular box that lie on interface with next coarser level.\ This class should be considered internal to AMRNodeSolver and should not be considered part of the Chombo API.


Constructor & Destructor Documentation

NodeCFIVS::NodeCFIVS  
 

{\bf constructors, destructor and defines}

Default constructor. User must subsequently call define().

NodeCFIVS::~NodeCFIVS  
 

Destructor.

NodeCFIVS::NodeCFIVS const Box &    a_domain,
const Box &    a_box,
const DisjointBoxLayout &    a_levelBoxes,
int    a_idir,
Side::LoHiSide    a_hiorlo
 

Constructor calls setDefaultValues() and then calls define() with the same arguments.

NodeCFIVS::NodeCFIVS const ProblemDomain &    a_domain,
const Box &    a_box,
const DisjointBoxLayout &    a_levelBoxes,
int    a_idir,
Side::LoHiSide    a_hiorlo
 

Constructor calls setDefaultValues() and then calls define() with the same arguments.


Member Function Documentation

void NodeCFIVS::define const ProblemDomain &    a_domain,
const Box &    a_box,
const DisjointBoxLayout &    a_levelBoxes,
int    a_idir,
Side::LoHiSide    a_hiorlo
 

Full define function. The current level is taken to be the fine level.

{\bf Arguments:}\ a_domain: CELL-centered physical domain at this level.\ a_box: the box at this level.\ a_levelBoxes: the set of all boxes at this level.\ a_idir, a_hiorlo: which face of a_box.

void NodeCFIVS::define const Box &    a_domain,
const Box &    a_box,
const DisjointBoxLayout &    a_levelBoxes,
int    a_idir,
Side::LoHiSide    a_hiorlo
 

Full define function. The current level is taken to be the fine level.

{\bf Arguments:}\ a_domain: CELL-centered physical domain at this level.\ a_box: the box at this level.\ a_levelBoxes: the set of all boxes at this level.\ a_idir, a_hiorlo: which face of a_box.

const IntVectSet& NodeCFIVS::getFineIVS   const
 

Return indices of fine nodes, on the face of the box, that lie on the interface with the coarser level and where data need to be interpolated. This will be empty if isEmpty() returns true.

bool NodeCFIVS::isDefined   const
 

bool NodeCFIVS::isPacked   const [inline]
 

returns 'true' if this coarse-fine IntVectSet can be represented as just a Box, i.e., a user can perform a dense computation instead of a pointwise calculation using IVSIterator.

const Box & NodeCFIVS::packedBox   const [inline]
 

if isPacked() returns 'true', then the box returned by this function is a suitable substitute for this IntVectSet

void NodeCFIVS::setDefaultValues   [protected]
 


Member Data Documentation

IntVectSet NodeCFIVS::m_fineInterpIVS [protected]
 

bool NodeCFIVS::m_isdefined [protected]
 

long long NodeCFIVS::m_packCount [static]
 

bool NodeCFIVS::m_packed [protected]
 

Box NodeCFIVS::m_packedBox [protected]
 

long long NodeCFIVS::m_sparseCount [static]
 


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