11 #ifndef _EDGEDATABOX_H_ 12 #define _EDGEDATABOX_H_ 18 #include "NamespaceHeader.H" 74 void setVal(
const Real val,
const int dir,
const int startComp,
83 const int startComp,
const int nComp);
90 const int destComp,
const int numComp);
94 const int destComp,
const int numComp);
100 void copy(
const Box& RegionFrom,
151 #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:52
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:140
int nComp() const
{ access functions}
const Box & box() const
returns cell-centered box which defines EdgeDataBox
void clear()
this function returns the EdgeDataBox to the undefined state
int m_nvar
Definition: EdgeDataBox.H:137
static bool preAllocatable()
Definition: EdgeDataBox.H:126
Structure for passing component ranges in code.
Definition: Interval.H:23
double Real
Definition: REAL.H:33
void resize(const Box &bx, int n=1)
resize EdgeDataBox similar to BaseFab::resize()
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)
int size(const Box &bx, const Interval &comps) const
{ Linearization Functions}
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:465
EdgeDataBox & operator=(const EdgeDataBox &)
Definition: FArrayBox.H:44
void setVal(const Real val)
void linearOut(void *buf, const Box &R, const Interval &comps) const
Box m_bx
Definition: EdgeDataBox.H:134