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

CFStencil Class Reference

Class to encapsulate coarse-fine information for AMR operations. More...

#include <CFStencil.H>

Collaboration diagram for CFStencil:

Collaboration graph
[legend]
List of all members.

Public Methods

bool isDefined () const
 {\bf Access functions}

bool isEmpty () const
const IntVectSetgetFineIVS () const
const IntVectSetgetCoarIVS () const
CFStencil & operator= (const CFStencil &cfs_in)
 CFStencil (const CFStencil &cfs_in)
 CFStencil (const Box &a_b, int a_nComp)
void define (const Box &a_b, int a_nComp)
 CFStencil ()
 ~CFStencil ()
 CFStencil (const Box &FineDomain, const Box &grid, const DisjointBoxLayout &Levboxes, const DisjointBoxLayout &LevCBoxes, int RefRatio, int Direction, Side::LoHiSide hiorlo)
 CFStencil (const ProblemDomain &FineDomain, const Box &grid, const DisjointBoxLayout &Levboxes, const DisjointBoxLayout &LevCBoxes, int RefRatio, int Direction, Side::LoHiSide hiorlo)
void define (const Box &FineDomain, const Box &grid, const DisjointBoxLayout &fine_boxes, const DisjointBoxLayout &coar_boxes, int Refratio, int Direction, Side::LoHiSide hiorlo)
void define (const ProblemDomain &FineDomain, const Box &grid, const DisjointBoxLayout &fine_boxes, const DisjointBoxLayout &coar_boxes, int Refratio, int Direction, Side::LoHiSide hiorlo)
void clear ()

Protected Methods

void setDefaultValues ()

Protected Attributes

int m_direction
Side::LoHiSide m_hiorlo
DataIndex m_dataIndex
IntVectSet m_fineIVS
IntVectSet m_coarIVS
bool m_isDefined

Detailed Description

Class to encapsulate coarse-fine information for AMR operations.

CFStencil is a wrapper around a bunch of things that allow one to do coarse-fine interpolation. This class should be considered internal to QuadCFInterp and should not be considered part of the Chombo API.


Constructor & Destructor Documentation

CFStencil::CFStencil const CFStencil &    cfs_in
 

CFStencil::CFStencil const Box   a_b,
int    a_nComp
 

CFStencil::CFStencil  
 

CFStencil::~CFStencil  
 

CFStencil::CFStencil const Box   FineDomain,
const Box   grid,
const DisjointBoxLayout   Levboxes,
const DisjointBoxLayout   LevCBoxes,
int    RefRatio,
int    Direction,
Side::LoHiSide    hiorlo
 

CFStencil::CFStencil const ProblemDomain   FineDomain,
const Box   grid,
const DisjointBoxLayout   Levboxes,
const DisjointBoxLayout   LevCBoxes,
int    RefRatio,
int    Direction,
Side::LoHiSide    hiorlo
 


Member Function Documentation

void CFStencil::clear  
 

void CFStencil::define const ProblemDomain   FineDomain,
const Box   grid,
const DisjointBoxLayout   fine_boxes,
const DisjointBoxLayout   coar_boxes,
int    Refratio,
int    Direction,
Side::LoHiSide    hiorlo
 

void CFStencil::define const Box   FineDomain,
const Box   grid,
const DisjointBoxLayout   fine_boxes,
const DisjointBoxLayout   coar_boxes,
int    Refratio,
int    Direction,
Side::LoHiSide    hiorlo
 

void CFStencil::define const Box   a_b,
int    a_nComp
 

const IntVectSet& CFStencil::getCoarIVS   const
 

get coarse intvects that underly fiinterpivs. This will be empty if isEmpty() returns true this is the same as getCoarInterpIVS

const IntVectSet& CFStencil::getFineIVS   const
 

get fine intvects which need to be interpolated \ This will be empty if isEmpty() returns true

bool CFStencil::isDefined   const
 

{\bf Access functions}

returns true if CFStencil is defined

bool CFStencil::isEmpty   const
 

are there any interpolation points? \ returns false if so.

CFStencil& CFStencil::operator= const CFStencil &    cfs_in
 

void CFStencil::setDefaultValues   [protected]
 


Member Data Documentation

IntVectSet CFStencil::m_coarIVS [protected]
 

DataIndex CFStencil::m_dataIndex [protected]
 

int CFStencil::m_direction [protected]
 

IntVectSet CFStencil::m_fineIVS [protected]
 

Side::LoHiSide CFStencil::m_hiorlo [protected]
 

bool CFStencil::m_isDefined [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Jan 19 17:55:44 2005 for Chombo&INSwithParticles by doxygen1.2.16