#include <EBCellFAB.H>
Public Member Functions | |
EBCellFAB () | |
EBCellFAB (const EBISBox &a_ebisBox, const Box &a_region, int a_nVar) | |
void | setInvalidData (const Real &a_val, const int &a_comp) |
virtual | ~EBCellFAB () |
const FArrayBox & | getFArrayBox () const |
FArrayBox & | getFArrayBox () |
EBCellFAB & | negate (void) |
EBCellFAB & | operator+= (const EBCellFAB &a_ebfab) |
EBCellFAB & | plus (const EBCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
EBCellFAB & | plus (const EBCellFAB &a_ebfab, const Box &a_region, int a_srccomp, int a_destcomp, int a_numcomp) |
EBCellFAB & | operator-= (const EBCellFAB &a_ebfab) |
EBCellFAB & | minus (const EBCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
EBCellFAB & | operator*= (const EBCellFAB &a_ebfab) |
EBCellFAB & | mult (const EBCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
EBCellFAB & | operator/= (const EBCellFAB &a_ebfab) |
EBCellFAB & | divide (const EBCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp) |
EBCellFAB & | operator+= (const Real &a_scalar) |
EBCellFAB & | operator-= (const Real &a_scalar) |
EBCellFAB & | operator*= (const Real &a_scalar) |
EBCellFAB & | mult (Real a_scalar) |
EBCellFAB & | operator/= (const Real &a_scalar) |
EBCellFAB & | plus (const EBCellFAB &a_src, Real a_scalar) |
EBCellFAB & | axby (const EBCellFAB &a_X, const EBCellFAB &a_Y, const Real &a_A, const Real &a_B) |
EBCellFAB & | axby (const EBCellFAB &a_X, const EBCellFAB &a_Y, const Real &a_A, const Real &a_B, const int &a_destComp, const int &a_xComp, const int &a_yComp) |
virtual Real | norm (int a_power, int a_comp, int a_numComp) const |
(Not implemented) Returns the Lp-norm of this EBCellFAB | |
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 EBCellFAB 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 EBCellFAB | |
Real | dotProduct (const EBCellFAB &ebfab2) const |
(Not implemented) Return the dot product of this EBCellFAB with another | |
EBCellFAB (const Box &a_region, int a_nComp) | |
void | clone (const EBCellFAB &a_arg) |
good for making temps. | |
Private Member Functions | |
EBCellFAB (const EBCellFAB &ebcin) | |
void | operator= (const EBCellFAB &fabin) |
EBCellFAB::EBCellFAB | ( | ) |
virtual EBCellFAB::~EBCellFAB | ( | ) | [virtual] |
EBCellFAB::EBCellFAB | ( | const Box & | a_region, | |
int | a_nComp | |||
) | [inline] |
References MayDay::Error().
EBCellFAB::EBCellFAB | ( | const EBCellFAB & | ebcin | ) | [inline, private] |
References MayDay::Error().
void EBCellFAB::setInvalidData | ( | const Real & | a_val, | |
const int & | a_comp | |||
) |
const FArrayBox& EBCellFAB::getFArrayBox | ( | ) | const |
FArrayBox& EBCellFAB::getFArrayBox | ( | ) |
Does a dynamic cast of the BaseFab<Real> to a FArrayBox for arithmetic purposes.
EBCellFAB& EBCellFAB::negate | ( | void | ) |
Negate the values in all locations
done over intersection of src, dst Both fabs need the same ncomp
EBCellFAB& EBCellFAB::plus | ( | const EBCellFAB & | a_ebfab, | |
int | a_srccomp, | |||
int | a_destcomp, | |||
int | a_numcomp | |||
) |
done over intersection of src, dst
EBCellFAB& EBCellFAB::plus | ( | const EBCellFAB & | a_ebfab, | |
const Box & | a_region, | |||
int | a_srccomp, | |||
int | a_destcomp, | |||
int | a_numcomp | |||
) |
done over a_region
done over intersection of src, dst Both fabs need the same ncomp
EBCellFAB& EBCellFAB::minus | ( | const EBCellFAB & | a_ebfab, | |
int | a_srccomp, | |||
int | a_destcomp, | |||
int | a_numcomp | |||
) |
done over intersection of src, dst
done over intersection of src, dst Both fabs need the same ncomp
EBCellFAB& EBCellFAB::mult | ( | const EBCellFAB & | a_ebfab, | |
int | a_srccomp, | |||
int | a_destcomp, | |||
int | a_numcomp | |||
) |
done over intersection of src, dst
done over intersection of src, dst Both fabs need the same ncomp
EBCellFAB& EBCellFAB::divide | ( | const EBCellFAB & | a_ebfab, | |
int | a_srccomp, | |||
int | a_destcomp, | |||
int | a_numcomp | |||
) |
done over intersection of src, dst
Current FAB += a_src FAB * a_scalar. Both fabs need the same ebisBox and region.
EBCellFAB& EBCellFAB::axby | ( | const EBCellFAB & | a_X, | |
const EBCellFAB & | a_Y, | |||
const Real & | a_A, | |||
const Real & | a_B | |||
) |
Current FAB = a_X FAB * a_A + a_Y FAB * a_B.
EBCellFAB& EBCellFAB::axby | ( | const EBCellFAB & | a_X, | |
const EBCellFAB & | a_Y, | |||
const Real & | a_A, | |||
const Real & | a_B, | |||
const int & | a_destComp, | |||
const int & | a_xComp, | |||
const int & | a_yComp | |||
) |
Current FAB = a_X FAB * a_A + a_Y FAB * a_B.
virtual Real EBCellFAB::norm | ( | int | a_power, | |
int | a_comp, | |||
int | a_numComp | |||
) | const [virtual] |
virtual Real EBCellFAB::norm | ( | const Box & | a_subbox, | |
int | a_power, | |||
int | a_comp, | |||
int | a_numComp | |||
) | const [virtual] |
(Not implemented) Returns the Lp-norm of this EBCellFAB within a region
(Not implemented) Returns the Lp-norm of this EBCellFAB 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 EBCellFAB::clone | ( | const EBCellFAB & | a_arg | ) |
good for making temps.
void EBCellFAB::operator= | ( | const EBCellFAB & | fabin | ) | [inline, private] |
References MayDay::Error().