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

BaseEBCellFAB< T > Class Template Reference

Array defined at the VolIndexs of an Box in an EBIS. More...

#include <BaseEBCellFAB.H>

Inheritance diagram for BaseEBCellFAB< T >:

Inheritance graph
[legend]
Collaboration diagram for BaseEBCellFAB< T >:

Collaboration graph
[legend]
List of all members.

Public Methods

 BaseEBCellFAB ()
 BaseEBCellFAB (const EBISBox &a_ebisBox, const Box &a_region, int a_nVar)
void define (const EBISBox &a_ebisBox, const Box &a_region, int a_nVar)
virtual ~BaseEBCellFAB ()
void clear ()
void setVal (T value)
bool isDefined () const
int nComp () const
const BoxgetRegion () const
const Boxbox () const
const IntVectSetgetMultiCells () const
const BaseIVFAB< T > & getMultiValuedFAB () const
BaseIVFAB< T > & getMultiValuedFAB ()
const BaseFab< T > & getSingleValuedFAB () const
BaseFab< T > & getSingleValuedFAB ()
const T & operator() (const VolIndex &a_ndin, int a_nVarLoc) const
T & operator() (const VolIndex &a_ndin, int a_nVarLoc)
void copy (const Box &RegionFrom, const Interval &destInt, const Box &RegionTo, const BaseEBCellFAB< T > &source, const Interval &srcInt)
int size (const Box &R, const Interval &comps) const
int regSize (const Box &R, const Interval &comps) const
void linearOut (void *buf, const Box &R, const Interval &comps) const
void regLinearOut (void *buf, const Box &R, const Interval &comps) const
void linearIn (void *buf, const Box &R, const Interval &comps)
void regLinearIn (void *buf, const Box &R, const Interval &comps)
 BaseEBCellFAB (const Box &a_region, int a_nVar)
 invalid but necessary for leveldata to compile

const EBISBoxgetEBISBox () const
void setCoveredCellVal (const T &a_val, const int &a_comp)

Static Public Methods

int preAllocatable ()

Protected Methods

void setDefaultValues ()

Protected Attributes

BaseIVFAB< T > m_irrFAB
 data at multi-valued cells

BaseFab< T > m_regFAB
 data at single-valued cells

EBISBox m_ebisBox
int m_nComp
Box m_region
 region over which the BaseEBCellFAB exists

BaseFab< bool > m_isMultiValued
 whether each given cell is multi-valued

bool m_isDefined
 has full define function been called?


Private Methods

void operator= (const BaseEBCellFAB< T > &ebcin)
 BaseEBCellFAB (const BaseEBCellFAB< T > &ebcin)

Detailed Description

template<class T>
class BaseEBCellFAB< T >

Array defined at the VolIndexs of an Box in an EBIS.

An BaseEBCellFAB is a templated holder for cell-centered data over the intersection of a box and an EbisBox. At every uncovered VolIndex in this intersection, the BaseEBCellFAB contains a specified number of data values. At singly valued cells, the data is stored internally in a BaseFab. At multiply-valued cells, the data is stored internally in an BaseIVFAB. BaseEBCellFAB provides indexing by VolIndex. This class does not provide a copy constructor or assignment operator for all the usual reasons.


Constructor & Destructor Documentation

template<class T>
BaseEBCellFAB< T >::BaseEBCellFAB  
 

template<class T>
BaseEBCellFAB< T >::BaseEBCellFAB const EBISBox   a_ebisBox,
const Box   a_region,
int    a_nVar
 

template<class T>
BaseEBCellFAB< T >::~BaseEBCellFAB   [virtual]
 

template<class T>
BaseEBCellFAB< T >::BaseEBCellFAB const Box   a_region,
int    a_nVar
[inline]
 

invalid but necessary for leveldata to compile

template<class T>
BaseEBCellFAB< T >::BaseEBCellFAB const BaseEBCellFAB< T > &    ebcin [inline, private]
 


Member Function Documentation

template<class T>
const Box & BaseEBCellFAB< T >::box   const
 

template<class T>
void BaseEBCellFAB< T >::clear  
 

template<class T>
void BaseEBCellFAB< T >::copy const Box   RegionFrom,
const Interval   destInt,
const Box   RegionTo,
const BaseEBCellFAB< T > &    source,
const Interval   srcInt
 

template<class T>
void BaseEBCellFAB< T >::define const EBISBox   a_ebisBox,
const Box   a_region,
int    a_nVar
 

template<class T>
const EBISBox & BaseEBCellFAB< T >::getEBISBox   const
 

template<class T>
const IntVectSet & BaseEBCellFAB< T >::getMultiCells   const
 

template<class T>
BaseIVFAB< T > & BaseEBCellFAB< T >::getMultiValuedFAB  
 

template<class T>
const BaseIVFAB< T > & BaseEBCellFAB< T >::getMultiValuedFAB   const
 

template<class T>
const Box & BaseEBCellFAB< T >::getRegion   const
 

template<class T>
BaseFab< T > & BaseEBCellFAB< T >::getSingleValuedFAB  
 

template<class T>
const BaseFab< T > & BaseEBCellFAB< T >::getSingleValuedFAB   const
 

template<class T>
bool BaseEBCellFAB< T >::isDefined   const
 

template<class T>
void BaseEBCellFAB< T >::linearIn void *    buf,
const Box   R,
const Interval   comps
 

template<class T>
void BaseEBCellFAB< T >::linearOut void *    buf,
const Box   R,
const Interval   comps
const
 

template<class T>
int BaseEBCellFAB< T >::nComp   const
 

template<class T>
T & BaseEBCellFAB< T >::operator() const VolIndex   a_ndin,
int    a_nVarLoc
 

template<class T>
const T & BaseEBCellFAB< T >::operator() const VolIndex   a_ndin,
int    a_nVarLoc
const
 

template<class T>
void BaseEBCellFAB< T >::operator= const BaseEBCellFAB< T > &    ebcin [inline, private]
 

template<class T>
int BaseEBCellFAB< T >::preAllocatable   [inline, static]
 

This stuff required by LevelData in parallel:

template<class T>
void BaseEBCellFAB< T >::regLinearIn void *    buf,
const Box   R,
const Interval   comps
 

template<class T>
void BaseEBCellFAB< T >::regLinearOut void *    buf,
const Box   R,
const Interval   comps
const
 

template<class T>
int BaseEBCellFAB< T >::regSize const Box   R,
const Interval   comps
const
 

template<class T>
void BaseEBCellFAB< T >::setCoveredCellVal const T &    a_val,
const int &    a_comp
 

template<class T>
void BaseEBCellFAB< T >::setDefaultValues   [protected]
 

template<class T>
void BaseEBCellFAB< T >::setVal   value
 

template<class T>
int BaseEBCellFAB< T >::size const Box   R,
const Interval   comps
const
 


Member Data Documentation

template<class T>
EBISBox BaseEBCellFAB< T >::m_ebisBox [protected]
 

template<class T>
BaseIVFAB<T> BaseEBCellFAB< T >::m_irrFAB [protected]
 

data at multi-valued cells

template<class T>
bool BaseEBCellFAB< T >::m_isDefined [protected]
 

has full define function been called?

template<class T>
BaseFab<bool> BaseEBCellFAB< T >::m_isMultiValued [protected]
 

whether each given cell is multi-valued

template<class T>
int BaseEBCellFAB< T >::m_nComp [protected]
 

template<class T>
BaseFab<T> BaseEBCellFAB< T >::m_regFAB [protected]
 

data at single-valued cells

template<class T>
Box BaseEBCellFAB< T >::m_region [protected]
 

region over which the BaseEBCellFAB exists


The documentation for this class was generated from the following files:
Generated on Wed Apr 16 14:34:59 2003 for EBChombo by doxygen1.2.16