24 #include "NamespaceHeader.H" 66 template<
unsigned int C>
67 FArrayBox(
const Proto::BoxData<Real, C>& a_bd)
72 template<
unsigned int C>
73 FArrayBox(
const Proto::BoxData<Real, C>& a_bd, Proto::Point a_center)
92 FArrayBox& a_original)
105 Real* a_alias = NULL)
131 FArrayBox& a_original)
152 Real* a_alias = NULL)
174 int a_numcomp = 1)
const;
187 int a_numcomp = 1)
const;
197 int a_numcomp = 1)
const;
217 Real min(
int a_comp = 0)
const;
226 int a_comp = 0)
const;
232 Real max(
int a_comp = 0)
const;
241 int a_comp = 0)
const;
255 int a_comp = 0)
const;
269 int a_comp = 0)
const;
279 int a_comp = 0)
const;
290 int a_comp = 0)
const;
300 int a_comp = 0)
const;
309 int a_comp = 0)
const;
319 int a_comp = 0)
const;
341 void abs (
const Box& a_subbox,
350 int a_numcomp = 1)
const;
358 int a_numcomp = 1)
const;
399 FArrayBox&
negate(
int a_comp,
450 return this->
plus(a_r);
460 FArrayBox&
plus(
const FArrayBox& a_x);
468 FArrayBox&
plus(
const FArrayBox& a_src,
469 const Real& a_scale);
477 FArrayBox&
plus(
const FArrayBox& a_src,
490 FArrayBox&
plus(
const FArrayBox& a_src,
503 FArrayBox&
plus(
const FArrayBox& a_src,
521 FArrayBox&
plus(
const FArrayBox& a_src,
523 const Box& a_destbox,
529 FArrayBox&
plus(
const FArrayBox& a_src,
531 const Box& a_destbox,
558 FArrayBox&
minus(
const FArrayBox& a_x);
567 FArrayBox&
minus(
const FArrayBox& a_src,
579 FArrayBox&
minus(
const FArrayBox& a_src,
597 FArrayBox&
minus(
const FArrayBox& a_src,
599 const Box& a_destbox,
649 FArrayBox&
mult(
const FArrayBox& a_x);
659 FArrayBox&
mult(
const FArrayBox& a_src,
672 FArrayBox&
mult(
const FArrayBox& a_src,
690 FArrayBox&
mult(
const FArrayBox& a_src,
692 const Box& a_destbox,
742 FArrayBox&
divide(
const FArrayBox& a_x);
751 FArrayBox&
divide(
const FArrayBox& a_src,
764 FArrayBox&
divide(
const FArrayBox& a_src,
781 FArrayBox&
divide(
const FArrayBox& a_src,
783 const Box& a_destbox,
804 FArrayBox&
axby(
const FArrayBox& a_X,
const FArrayBox& a_Y,
810 FArrayBox&
axby(
const FArrayBox& a_X,
const FArrayBox& a_Y,
812 int a_destComp,
int a_xComp,
int a_yComp);
817 FArrayBox&
operator=(FArrayBox&& a_in)=
default;
822 const Box& a_destbox,
835 #include "NamespaceFooter.H" FArrayBox & operator+=(Real a_r)
FArrayBox & operator=(FArrayBox &&a_in)=default
FArrayBox & plus(Real a_r, const Box &a_subbox, int a_comp=0, int a_numcomp=1)
FArrayBox & operator/=(Real a_r)
Real max(int a_comp=0) const
FArrayBox & invert(Real a_r)
virtual Real norm(const Box &a_subbox, int a_p=2, int a_comp=0, int a_numcomp=1) const
IntVect maxIndex(int a_comp=0) const
Real sum(int a_comp, int a_numcomp=1) const
int maskEQ(BaseFab< int > &a_mask, Real a_val, int a_comp=0) const
FArrayBox & divide(Real a_r)
FArrayBox & axby(const FArrayBox &a_X, const FArrayBox &a_Y, Real a_A, Real a_B)
Computes a_A * a_X + a_B * a_Y, placing the result in this FArrayBox.
virtual Real sumPow(const Box &a_subbox, int a_p=2, int a_comp=0, int a_numcomp=1) const
int maskGE(BaseFab< int > &a_mask, Real a_val, int a_comp=0) const
int maskGT(BaseFab< int > &a_mask, Real a_val, int a_comp=0) const
virtual void resize(const Box &a_box, int a_comps, Real *a_alias=NULL)
Definition: FArrayBox.H:150
Structure for passing component ranges in code.
Definition: Interval.H:23
Real dotProduct(const FArrayBox &a_fab2) const
Return the dot product of this FArrayBox with another.
virtual void define(const Interval &a_comps, BaseFab< Real > &a_original)
Definition: FArrayBox.H:141
double Real
Definition: REAL.H:33
void define()
Definition: BaseFabImplem.H:672
FArrayBox & operator-=(Real a_r)
FArrayBox & minus(const FArrayBox &a_x)
FArrayBox & operator*=(Real a_r)
IntVect minIndex(int a_comp=0) const
virtual void define(const Box &a_box, int a_ncomp, Real *a_alias=NULL)
Definition: FArrayBox.H:103
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
int maskLT(BaseFab< int > &a_mask, Real a_val, int a_comp=0) const
int maskLE(BaseFab< int > &a_mask, Real a_val, int a_comp=0) const
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Real & operator()(const IntVect &a_p, int a_N)
Definition: BaseFabImplem.H:291
virtual void define(const Interval &a_comps, FArrayBox &a_original)
Definition: FArrayBox.H:130
virtual void performCopy(const BaseFab< Real > &a_src, const Box &a_srcbox, int a_srccomp, const Box &a_destbox, int a_destcomp, int a_numcomp)
Definition: FArrayBox.H:45
Real min(int a_comp=0) const
FArrayBox & plus_real(Real a_r)
Definition: FArrayBox.H:448
void resize(const Box &a_b, int a_n=1, T *a_alias=NULL)
Definition: BaseFabImplem.H:173
FArrayBox(const Interval &a_comps, FArrayBox &a_original)
Definition: FArrayBox.H:91
FArrayBox & mult(Real a_r)