MFCellFAB Class Reference

#include <MFCellFAB.H>

List of all members.

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 Boxbox () const
EBCellFABgetPhase (int a_phase)
const EBCellFABgetPhase (int a_phase) const
EBCellFABgetPhasePtr (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
MFCellFABnegate (void)
MFCellFABoperator+= (const MFCellFAB &a_mffab)
MFCellFABplus (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp)
MFCellFABplus (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)
MFCellFABoperator-= (const MFCellFAB &a_mffab)
MFCellFABminus (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp)
MFCellFABoperator*= (const MFCellFAB &a_mffab)
MFCellFABmult (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp)
MFCellFABoperator/= (const MFCellFAB &a_mffab)
MFCellFABdivide (const MFCellFAB &a_ebfab, int a_srccomp, int a_destcomp, int a_numcomp)
MFCellFABoperator+= (const Real &a_scalar)
MFCellFABoperator-= (const Real &a_scalar)
MFCellFABoperator*= (const Real &a_scalar)
MFCellFABmult (Real a_scalar)
MFCellFABoperator/= (const Real &a_scalar)
MFCellFABplus (const MFCellFAB &a_src, Real a_scalar)
MFCellFABcopy (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


Constructor & Destructor Documentation

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]

invalid but necessary for leveldata to compile

References MayDay::Error().


Member Function Documentation

void MFCellFAB::setVal ( Vector< Real a_value  ) 

void MFCellFAB::setVal ( const Real a_value  ) 

void MFCellFAB::setVal ( Real  a_val,
const Box a_region,
int  startcomp,
int  ncomp 
)

int MFCellFAB::nComp ( int  a_phase  )  const [inline]

References m_phase.

int MFCellFAB::numPhases (  )  const [inline]

References m_phase, and Vector< T >::size().

const Box& MFCellFAB::box (  )  const [inline]

References m_box.

EBCellFAB& MFCellFAB::getPhase ( int  a_phase  )  [inline]

References m_phase.

const EBCellFAB& MFCellFAB::getPhase ( int  a_phase  )  const [inline]

References m_phase.

EBCellFAB* MFCellFAB::getPhasePtr ( int  a_phase  )  [inline]

References m_phase.

void MFCellFAB::copy ( const Box RegionFrom,
const Interval destInt,
const Box RegionTo,
const MFCellFAB source,
const Interval srcInt 
)

static int MFCellFAB::preAllocatable (  )  [inline, static]

int MFCellFAB::size ( const Box R,
const Interval comps 
) const

void MFCellFAB::linearOut ( void *  buf,
const Box R,
const Interval comps 
) const

void MFCellFAB::linearIn ( void *  buf,
const Box R,
const Interval comps 
)

MFCellFAB& MFCellFAB::negate ( void   )  [inline]

Negate the values in all locations

References mult().

MFCellFAB& MFCellFAB::operator+= ( const MFCellFAB a_mffab  ) 

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 
)

MFCellFAB& MFCellFAB::operator-= ( const MFCellFAB a_mffab  ) 

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.

MFCellFAB& MFCellFAB::operator*= ( const MFCellFAB a_mffab  ) 

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().

MFCellFAB& MFCellFAB::operator/= ( const MFCellFAB a_mffab  ) 

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.

MFCellFAB& MFCellFAB::operator+= ( const Real a_scalar  ) 

Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::operator-= ( const Real a_scalar  ) 

Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::operator*= ( const Real a_scalar  ) 

Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::mult ( Real  a_scalar  ) 

Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::operator/= ( const Real a_scalar  ) 

Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::plus ( const MFCellFAB a_src,
Real  a_scalar 
)

Current FAB += a_src FAB * a_scalar. Both fabs need the same ebisBox and region.

MFCellFAB& MFCellFAB::copy ( const MFCellFAB a_src  ) 

virtual Real MFCellFAB::norm ( int  a_power,
int  a_comp,
int  a_numComp 
) const [virtual]

(Not implemented) Returns the Lp-norm of this MFCellFAB

(Not implemented) Returns the Lp-norm of this MFCellFAB using components (a_comp : a_comp + a_numcomp - 1). a_power < 0 -> ERROR. a_power = 0 -> infinity norm (max norm). a_power = 1 -> L1-norm a_power > 1 -> Lp-norm

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

virtual Real MFCellFAB::sumPow ( const Box a_subbox,
int  a_power,
int  a_comp,
int  a_numComp 
) const [virtual]

(Not implemented) Returns a sum of powers of a subset of this MFCellFAB

(Not implemented) Returns a sum of powers of a subset of this MFCellFAB, specifically components a_comp to a_comp+a_numcomp-1 within a_subbox. a_power >= 2 only.

Real MFCellFAB::dotProduct ( const MFCellFAB ebfab2  )  const

(Not implemented) Return the dot product of this MFCellFAB with another

(Not implemented) Return the dot product of this MFCellFAB and "ebfab2" over their overlap region and all components.

Real MFCellFAB::dotProduct ( const MFCellFAB ebfab2,
const Box a_box 
) const

void MFCellFAB::operator= ( const MFCellFAB rhs  )  [private]


Member Data Documentation

Box MFCellFAB::m_box [private]

Referenced by box().


The documentation for this class was generated from the following file:

Generated on Wed Aug 23 03:27:13 2017 for Chombo + EB + MF by  doxygen 1.5.5