19 #include "NamespaceHeader.H" 51 for (
int idir = 0; idir <
SpaceDim; idir++)
62 for (
int idir = 0; idir <
SpaceDim; idir++)
73 for (
int idir = 0; idir <
SpaceDim; idir++)
84 for (
int idir = 0; idir <
SpaceDim; idir++)
107 return m_fluxes[a_dir]->max(a_comp);
116 return m_fluxes[a_dir]->min(a_comp);
216 #include "NamespaceFooter.H" void clone(const EBFluxFAB &a_input)
defines this from input and copies the values
const Box & getRegion() const
returns cell-centered box which defines fluxBox
EBFluxFAB()
default constructor
int size(const Box &R, const Interval &comps) const
one dimensional dynamic array
Definition: Vector.H:53
void copy(const Box &Rfrom, const Interval &Cdest, const Box &Rto, const EBFluxFAB &src, const Interval &Csrc)
EBFluxFAB & operator*=(const EBFluxFAB &a_ebfab)
Definition: EBFluxFAB.H:71
EBFluxFAB(const EBFluxFAB &)
these are disallowed
Definition: EBFluxFAB.H:204
Definition: EBFaceFAB.H:28
const int SpaceDim
Definition: SPACE.H:38
void operator=(const EBFluxFAB &)
Definition: EBFluxFAB.H:209
void define(const EBFluxFAB &a_fb)
Definition: EBFluxFAB.H:96
A EBFaceFAB-like container for edge-centered fluxes.
Definition: EBFluxFAB.H:25
EBFluxFAB & operator-=(const EBFluxFAB &a_ebfab)
Definition: EBFluxFAB.H:60
Structure for passing component ranges in code.
Definition: Interval.H:23
void linearIn(void *buf, const Box &R, const Interval &comps)
void setVal(const Real &val)
double Real
Definition: REAL.H:33
bool m_aliased
true if facefabs set by hand, false otherwise
Definition: EBFluxFAB.H:185
bool m_isDefined
Definition: EBFluxFAB.H:195
EBISBox m_ebisBox
Definition: EBFluxFAB.H:190
const Box & box() const
Definition: EBFluxFAB.H:91
EBFluxFAB(const Box &bx, int n)
Invalid but necessary for LevelData<EBFluxFAB> to compile.
Definition: EBFluxFAB.H:172
Tuple< EBFaceFAB *, CH_SPACEDIM > m_fluxes
CH_SPACEDIM EBFaceFABes which hold fluxes.
Definition: EBFluxFAB.H:198
static void Error(const char *const a_msg=m_nullString, int m_exitCode=CH_DEFAULT_ERROR_CODE)
Print out message to cerr and exit with the specified exit code.
EBFluxFAB & operator/=(const EBFluxFAB &a_ebfab)
Definition: EBFluxFAB.H:82
Real max(int a_dir, int a_comp=0) const
Definition: EBFluxFAB.H:105
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
Box m_region
Definition: EBFluxFAB.H:187
Real min(int a_dir, int a_comp=0) const
Definition: EBFluxFAB.H:114
void linearOut(void *buf, const Box &R, const Interval &comps) const
EBFluxFAB & operator+=(const EBFluxFAB &a_ebfab)
Definition: EBFluxFAB.H:49
EBISBox getEBISBox() const
Definition: EBFluxFAB.H:176
EBFaceFAB & operator[](const int dir)
returns EBFaceFAB in direction dir
void alias(Vector< EBFaceFAB *> a_inputFAB)
static bool s_verbose
Definition: EBFluxFAB.H:29
void clear()
this function returns the EBFluxFAB to the undefined state
static int preAllocatable()
Definition: EBFluxFAB.H:34
int nComp() const
{ access functions}
int m_nComp
Definition: EBFluxFAB.H:193