#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 | |
| 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 | |
| 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 | |
| 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 | |
| Real | dotProduct (const MFCellFAB &ebfab2) const |
| (Not implemented) Return the dot product of this MFCellFAB with another | |
| 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 |
| MFCellFAB::MFCellFAB | ( | ) | [inline] |
| virtual MFCellFAB::~MFCellFAB | ( | ) | [virtual] |
| MFCellFAB::MFCellFAB | ( | const Vector< EBISBox > & | a_phaseGraphs, | |
| const Box & | a_region, | |||
| const Vector< int > & | a_nVar | |||
| ) |
| MFCellFAB::MFCellFAB | ( | const Box & | a_region, | |
| int | a_nVar | |||
| ) | [inline] |
| void MFCellFAB::setVal | ( | const Real & | a_value | ) |
| int MFCellFAB::nComp | ( | int | a_phase | ) | const [inline] |
References m_phase.
| int MFCellFAB::numPhases | ( | ) | const [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 | |||
| ) |
| static int MFCellFAB::preAllocatable | ( | ) | [inline, static] |
| MFCellFAB& MFCellFAB::negate | ( | void | ) | [inline] |
Negate the values in all locations
References mult().
Both fabs need the same ebisBox and region.
| MFCellFAB& MFCellFAB::plus | ( | const MFCellFAB & | a_ebfab, | |
| int | a_srccomp, | |||
| int | a_destcomp, | |||
| int | a_numcomp | |||
| ) |
Both fabs need the same ebisBox and region.
| 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.
| MFCellFAB& MFCellFAB::minus | ( | const MFCellFAB & | a_ebfab, | |
| int | a_srccomp, | |||
| int | a_destcomp, | |||
| int | a_numcomp | |||
| ) |
Both fabs need the same ebisBox and region.
Both fabs need the same ebisBox and region.
| 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.
| MFCellFAB& MFCellFAB::divide | ( | const MFCellFAB & | a_ebfab, | |
| int | a_srccomp, | |||
| int | a_destcomp, | |||
| int | a_numcomp | |||
| ) |
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.
Both fabs need the same ebisBox and region.
Current FAB += a_src FAB * a_scalar. Both fabs need the same ebisBox and region.
| virtual Real MFCellFAB::norm | ( | int | a_power, | |
| int | a_comp, | |||
| int | a_numComp | |||
| ) | const [virtual] |
| virtual Real MFCellFAB::norm | ( | const Box & | a_subbox, | |
| int | a_power, | |||
| int | a_comp, | |||
| int | a_numComp | |||
| ) | const [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
| void MFCellFAB::operator= | ( | const MFCellFAB & | rhs | ) | [private] |
Vector<EBCellFAB*> MFCellFAB::m_phase [private] |
Referenced by getPhase(), getPhasePtr(), nComp(), and numPhases().
Box MFCellFAB::m_box [private] |
Referenced by box().
1.5.5