Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

CFIVS Class Reference

#include <CFIVS.H>

Collaboration diagram for CFIVS:

Collaboration graph
[legend]
List of all members.

Detailed Description

Internal Chombo class to get fine intvectset at CF interface.

Class to get fine intvectset at cf interface for one side of a given fine-level Box. This class should be considered internal to AMRSolver and should not be considered part of the Chombo API.


Public Member Functions

bool isDefined () const
bool isPacked () const
 Returns "true" if this CF IntVectSet can be represented as a simple Box.
const BoxpackedBox () const
 Returns packed box for when isPacked() is true.
const IntVectSetgetFineIVS () const
 Get fine intvects which need to be interpolated.
 CFIVS ()
 ~CFIVS ()
 CFIVS (const Box &Domain, const Box &box_in, const DisjointBoxLayout &Levboxes, int Direction, Side::LoHiSide hiorlo)
 Deprecated constructor (The ProblemDomain class has replaced the Box domain).
 CFIVS (const ProblemDomain &Domain, const Box &box_in, const DisjointBoxLayout &Levboxes, int Direction, Side::LoHiSide hiorlo)
 Full constructor.
void define (const Box &Domain, const Box &box_in, const DisjointBoxLayout &fine_boxes, int Direction, Side::LoHiSide hiorlo)
 Deprecated define function.
void define (const ProblemDomain &Domain, const Box &box_in, const DisjointBoxLayout &fine_boxes, int Direction, Side::LoHiSide hiorlo)
 Full define function.

Static Public Attributes

long long m_packCount
long long m_sparseCount

Protected Member Functions

void setDefaultValues ()

Protected Attributes

IntVectSet fiinterp_ivs
bool m_packed
Box m_packedBox
bool isdefined

Private Member Functions

void operator= (const CFIVS &levcfs_in)
 CFIVS (const CFIVS &levcfs_in)


Constructor & Destructor Documentation

CFIVS::CFIVS  ) 
 

CFIVS::~CFIVS  ) 
 

CFIVS::CFIVS const Box Domain,
const Box box_in,
const DisjointBoxLayout Levboxes,
int  Direction,
Side::LoHiSide  hiorlo
 

Deprecated constructor (The ProblemDomain class has replaced the Box domain).

Replaces Box domain with a ProblemDomain and calls define fn.

CFIVS::CFIVS const ProblemDomain Domain,
const Box box_in,
const DisjointBoxLayout Levboxes,
int  Direction,
Side::LoHiSide  hiorlo
 

Full constructor.

Calls corresponding define function.

CFIVS::CFIVS const CFIVS levcfs_in  )  [inline, private]
 


Member Function Documentation

void CFIVS::setDefaultValues  )  [protected]
 

bool CFIVS::isDefined  )  const
 

bool CFIVS::isPacked  )  const [inline]
 

Returns "true" if this CF IntVectSet can be represented as a simple Box.

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

const Box & CFIVS::packedBox  )  const [inline]
 

Returns packed box for when isPacked() is true.

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

const IntVectSet& CFIVS::getFineIVS  )  const
 

Get fine intvects which need to be interpolated.

This will be empty if isEmpty() returns true

void CFIVS::define const Box Domain,
const Box box_in,
const DisjointBoxLayout fine_boxes,
int  Direction,
Side::LoHiSide  hiorlo
 

Deprecated define function.

Replaces Box domain with a ProblemDomain and calls define fn.

void CFIVS::define const ProblemDomain Domain,
const Box box_in,
const DisjointBoxLayout fine_boxes,
int  Direction,
Side::LoHiSide  hiorlo
 

Full define function.

Parameters:
box_in  Problem Domain at the fine level
fine_boxes  fine-level grid Box
Direction  fine-level grids
hiorlo  direction of the face of interest

void CFIVS::operator= const CFIVS levcfs_in  )  [inline, private]
 


Member Data Documentation

IntVectSet CFIVS::fiinterp_ivs [protected]
 

fine intvects which need to be interpolated

bool CFIVS::m_packed [protected]
 

Can the coarse-fine IntVectSet be represented as a Box?

Box CFIVS::m_packedBox [protected]
 

If m_packed is true, the Box with which the coarse-fine IntVectSet can be represented

bool CFIVS::isdefined [protected]
 

Has this object been defined?

long long CFIVS::m_packCount [static]
 

long long CFIVS::m_sparseCount [static]
 


The documentation for this class was generated from the following file:
Generated on Thu May 12 18:21:08 2005 for Chombo by doxygen 1.3.8