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

EBFluxFAB Class Reference

A EBFaceFAB-like container for edge-centered fluxes. More...

#include <EBFluxFAB.H>

Collaboration diagram for EBFluxFAB:

Collaboration graph
[legend]
List of all members.

Public Methods

 EBFluxFAB ()
 default constructor

 ~EBFluxFAB ()
 destructor

void clear ()
 this function returns the EBFluxFAB to the undefined state

int nComp () const
 {\bf access functions} number of components

const BoxgetRegion () const
 returns cell-centered box which defines fluxBox

EBFaceFABoperator[] (const int dir)
 returns EBFaceFAB in direction dir

const EBFaceFABoperator[] (const int dir) const
 constant version

void setVal (const Real &val)
void copy (const Box &Rfrom, const Interval &Cdest, const Box &Rto, const EBFluxFAB &src, const Interval &Csrc)
bool isDefined () const
 EBFluxFAB (const EBISBox &a_ebisBox, const Box &bx, int n)
void define (const EBISBox &a_ebisBox, const Box &bx, int n)
 EBFluxFAB (const Box &bx, int n)
 invalid but necessary for leveldata to compile


Protected Methods

void setDefaultValues ()

Protected Attributes

Box m_region
EBISBox m_ebisBox
int m_nComp
bool m_isDefined
Tuple< EBFaceFAB *, CH_SPACEDIM > m_fluxes
 CH_SPACEDIM EBFaceFABes which hold fluxes.


Private Methods

 EBFluxFAB (const EBFluxFAB &)
 these are disallowed

void operator= (const EBFluxFAB &)

Detailed Description

A EBFaceFAB-like container for edge-centered fluxes.

This is a class to contain face-centered fluxes on a box.


Constructor & Destructor Documentation

EBFluxFAB::EBFluxFAB  
 

default constructor

EBFluxFAB::~EBFluxFAB  
 

destructor

EBFluxFAB::EBFluxFAB const EBISBox   a_ebisBox,
const Box   bx,
int    n
 

EBFluxFAB::EBFluxFAB const Box   bx,
int    n
[inline]
 

invalid but necessary for leveldata to compile

EBFluxFAB::EBFluxFAB const EBFluxFAB &    [inline, private]
 

these are disallowed


Member Function Documentation

void EBFluxFAB::clear  
 

this function returns the EBFluxFAB to the undefined state

void EBFluxFAB::copy const Box   Rfrom,
const Interval   Cdest,
const Box   Rto,
const EBFluxFAB &    src,
const Interval   Csrc
 

Copies from a subsection of one box into another. Assumes the boxes are both in the same index space, and that box R is completely contained in both the src and destination boxes. This function equired by BoxLayoutData

void EBFluxFAB::define const EBISBox   a_ebisBox,
const Box   bx,
int    n
 

const Box& EBFluxFAB::getRegion   const
 

returns cell-centered box which defines fluxBox

bool EBFluxFAB::isDefined   const
 

int EBFluxFAB::nComp   const
 

{\bf access functions} number of components

void EBFluxFAB::operator= const EBFluxFAB &    [inline, private]
 

const EBFaceFAB& EBFluxFAB::operator[] const int    dir const
 

constant version

EBFaceFAB& EBFluxFAB::operator[] const int    dir
 

returns EBFaceFAB in direction dir

void EBFluxFAB::setDefaultValues   [protected]
 

void EBFluxFAB::setVal const Real   val
 


Member Data Documentation

EBISBox EBFluxFAB::m_ebisBox [protected]
 

Tuple<EBFaceFAB*, CH_SPACEDIM> EBFluxFAB::m_fluxes [protected]
 

CH_SPACEDIM EBFaceFABes which hold fluxes.

bool EBFluxFAB::m_isDefined [protected]
 

int EBFluxFAB::m_nComp [protected]
 

Box EBFluxFAB::m_region [protected]
 


The documentation for this class was generated from the following file:
Generated on Wed Apr 16 14:35:12 2003 for EBChombo by doxygen1.2.16