Chombo + EB + MF
3.2
|
#include <MFCellFAB.H>
Public Member Functions | |
MFCellFAB () | |
virtual | ~MFCellFAB () |
MFCellFAB (const Vector< EBISBox > &a_phaseGraphs, const Box &a_region, const Vector< int > &a_nVar) | |
void | setVal (Vector< Real > a_value) |
void | setVal (const Real &a_value) |
void | setVal (Real a_val, const Box &a_region, int startcomp, int ncomp) |
int | nComp (int a_phase) const |
int | numPhases () const |
const Box & | box () const |
EBCellFAB & | getPhase (int a_phase) |
const EBCellFAB & | getPhase (int a_phase) const |
EBCellFAB * | getPhasePtr (int a_phase) |
void | copy (const Box &RegionFrom, const Interval &destInt, const Box &RegionTo, const MFCellFAB &source, const Interval &srcInt) |
int | size (const Box &R, const Interval &comps) const |
void | linearOut (void *buf, const Box &R, const Interval &comps) const |
void | linearIn (void *buf, const Box &R, const Interval &comps) |
MFCellFAB (const Box &a_region, int a_nVar) | |
invalid but necessary for leveldata to compile More... | |
MFCellFAB & | negate (void) |
MFCellFAB & | operator+= (const MFCellFAB &a_mffab) |
MFCellFAB & | plus (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
MFCellFAB & | plus (const MFCellFAB &a_src, const Box &a_srcbox, const Box &a_destbox, const Real &a_scale, int a_srccomp, int a_destcomp, int a_numcomp) |
MFCellFAB & | operator-= (const MFCellFAB &a_mffab) |
MFCellFAB & | minus (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
MFCellFAB & | operator*= (const MFCellFAB &a_mffab) |
MFCellFAB & | mult (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
MFCellFAB & | operator/= (const MFCellFAB &a_mffab) |
MFCellFAB & | divide (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
MFCellFAB & | operator+= (const Real &a_scalar) |
MFCellFAB & | operator-= (const Real &a_scalar) |
MFCellFAB & | operator*= (const Real &a_scalar) |
MFCellFAB & | mult (Real a_scalar) |
MFCellFAB & | operator/= (const Real &a_scalar) |
MFCellFAB & | plus (const MFCellFAB &a_src, Real a_scalar) |
MFCellFAB & | copy (const MFCellFAB &a_src) |
virtual Real | norm (int a_power, int a_comp, int a_numComp) const |
(Not implemented) Returns the Lp-norm of this MFCellFAB More... | |
virtual Real | norm (const Box &a_subbox, int a_power, int a_comp, int a_numComp) const |
(Not implemented) Returns the Lp-norm of this MFCellFAB within a region More... | |
virtual Real | sumPow (const Box &a_subbox, int a_power, int a_comp, int a_numComp) const |
(Not implemented) Returns a sum of powers of a subset of this MFCellFAB More... | |
Real | dotProduct (const MFCellFAB &ebfab2) const |
(Not implemented) Return the dot product of this MFCellFAB with another More... | |
Real | dotProduct (const MFCellFAB &ebfab2, const Box &a_box) const |
Static Public Member Functions | |
static int | preAllocatable () |
Private Member Functions | |
void | operator= (const MFCellFAB &rhs) |
Private Attributes | |
Vector< EBCellFAB * > | m_phase |
Box | m_box |
|
inline |
References setVal(), and ~MFCellFAB().
|
virtual |
Referenced by MFCellFAB().
MFCellFAB::MFCellFAB | ( | const Vector< EBISBox > & | a_phaseGraphs, |
const Box & | a_region, | ||
const Vector< int > & | a_nVar | ||
) |
|
inline |
invalid but necessary for leveldata to compile
References MayDay::Error().
Referenced by MFCellFAB().
void MFCellFAB::setVal | ( | const Real & | a_value | ) |
|
inline |
References m_phase.
|
inline |
References m_phase, and Vector< T >::size().
void MFCellFAB::copy | ( | const Box & | RegionFrom, |
const Interval & | destInt, | ||
const Box & | RegionTo, | ||
const MFCellFAB & | source, | ||
const Interval & | srcInt | ||
) |
Referenced by getPhasePtr(), and negate().
|
inlinestatic |
References linearIn(), linearOut(), and size().
Referenced by preAllocatable().
Referenced by preAllocatable().
Referenced by preAllocatable().
|
inline |
Negate the values in all locations
References copy(), divide(), dotProduct(), minus(), mult(), norm(), operator*=(), operator+=(), operator-=(), operator/=(), operator=(), plus(), and sumPow().
Both fabs need the same ebisBox and region.
Referenced by negate().
MFCellFAB& MFCellFAB::plus | ( | const MFCellFAB & | a_ebfab, |
int | a_srccomp, | ||
int | a_destcomp, | ||
int | a_numcomp | ||
) |
Both fabs need the same ebisBox and region.
Referenced by negate().
MFCellFAB& MFCellFAB::plus | ( | const MFCellFAB & | a_src, |
const Box & | a_srcbox, | ||
const Box & | a_destbox, | ||
const Real & | a_scale, | ||
int | a_srccomp, | ||
int | a_destcomp, | ||
int | a_numcomp | ||
) |
Both fabs need the same ebisBox and region.
Referenced by negate().
MFCellFAB& MFCellFAB::minus | ( | const MFCellFAB & | a_ebfab, |
int | a_srccomp, | ||
int | a_destcomp, | ||
int | a_numcomp | ||
) |
Both fabs need the same ebisBox and region.
Referenced by negate().
Both fabs need the same ebisBox and region.
Referenced by negate().
MFCellFAB& MFCellFAB::mult | ( | const MFCellFAB & | a_ebfab, |
int | a_srccomp, | ||
int | a_destcomp, | ||
int | a_numcomp | ||
) |
Both fabs need the same ebisBox and region.
Referenced by negate().
Both fabs need the same ebisBox and region.
Referenced by negate().
MFCellFAB& MFCellFAB::divide | ( | const MFCellFAB & | a_ebfab, |
int | a_srccomp, | ||
int | a_destcomp, | ||
int | a_numcomp | ||
) |
Both fabs need the same ebisBox and region.
Referenced by negate().
Both fabs need the same ebisBox and region.
Both fabs need the same ebisBox and region.
Both fabs need the same ebisBox and region.
Both fabs need the same ebisBox and region.
Current FAB += a_src FAB * a_scalar. Both fabs need the same ebisBox and region.
|
virtual |
|
virtual |
(Not implemented) Returns the Lp-norm of this MFCellFAB within a region
(Not implemented) Returns the Lp-norm of this MFCellFAB using components (a_comp : a_comp + a_numcomp - 1) and within the a_subbox. a_power < 0 -> ERROR. a_power = 0 -> infinity norm (max norm). a_power = 1 -> L1-norm a_power > 1 -> Lp-norm
Referenced by getPhase(), getPhasePtr(), nComp(), and numPhases().