11 #ifndef _EDGEDATABOX_H_    12 #define _EDGEDATABOX_H_    18 #include "NamespaceHeader.H"    73   void setVal(
const Real val, 
const int dir, 
const int startComp,
    82               const int startComp, 
const int nComp);
    89             const int destComp, 
const int numComp);
    93             const int destComp, 
const int numComp);
    99   void copy(
const Box& RegionFrom,
   186 #include "NamespaceFooter.H" A FArrayBox-like container for edge-centered fluxes. 
Definition: EdgeDataBox.H:21
 
EdgeDataBox()
default constructor 
 
one dimensional dynamic array 
Definition: Vector.H:53
 
FArrayBox & getData(const int dir)
returns edge-centered data in direction dir 
 
Vector< FArrayBox * > m_data
BL_SPACEDIM FArrayBoxes which hold fluxes. 
Definition: EdgeDataBox.H:175
 
int nComp() const
{ access functions} 
 
const Box & box() const
returns cell-centered box which defines EdgeDataBox 
 
size_t size(const Box &bx, const Interval &comps) const
{ Linearization Functions} 
 
void clear()
this function returns the EdgeDataBox to the undefined state 
 
static int preAllocatable()
Definition: EdgeDataBox.H:161
 
int m_nvar
Definition: EdgeDataBox.H:172
 
Structure for passing component ranges in code. 
Definition: Interval.H:23
 
void * linearOut2(void *buf, const Box &R, const Interval &comps) const
like linearOut, but returns current position in the buffer 
 
double Real
Definition: REAL.H:33
 
FArrayBox & operator[](const int dir)
returns FArrayBox in direction dir 
 
void copy(const EdgeDataBox &src)
copy from src to this EdgeDataBox – sizes must be identical 
 
void define(const Box &bx, int n=1)
resize EdgeDataBox similar to BaseFab::resize() 
 
A Rectangular Domain on an Integer Lattice. 
Definition: Box.H:465
 
EdgeDataBox & operator=(const EdgeDataBox &)
 
EdgeDataBox & plus(const EdgeDataBox &a_src, const Box &a_subbox, int a_srccomp, int a_destcomp, int a_numcomp=1)
Modifes this EdgeDataBox by adding src in the CELL-CENTERED sub-box. 
 
void * linearIn2(void *buf, const Box &R, const Interval &comps)
like linearIn, but returns current position in the buffer 
 
Definition: FArrayBox.H:45
 
void setVal(const Real val)
 
void linearOut(void *buf, const Box &R, const Interval &comps) const
 
Box m_bx
Definition: EdgeDataBox.H:169