11 #ifndef _CFARRAYBOX_H_ 12 #define _CFARRAYBOX_H_ 18 #include "NamespaceHeader.H" 56 Complex* a_alias = NULL);
65 BaseFab<Complex>(a_comps, a_original)
68 virtual void define(
const Box& a_box,
int a_ncomp, Complex* a_alias=NULL)
143 int a_numcomp = 1)
const;
156 int a_numcomp = 1)
const;
163 virtual Complex
sumPow(
const Box& a_subbox,
166 int a_numcomp = 1)
const;
202 void abs (
const Box& a_subbox,
210 Complex
sum(
int a_comp,
211 int a_numcomp = 1)
const;
217 Complex
sum(
const Box& a_subbox,
219 int a_numcomp = 1)
const;
326 const Complex& a_scale);
335 const Complex& a_scale,
380 const Box& a_destbox,
388 const Box& a_destbox,
389 const Complex& a_scale,
456 const Box& a_destbox,
549 const Box& a_destbox,
654 const Box& a_destbox,
676 Complex a_A, Complex a_B);
682 Complex a_A, Complex a_B,
683 int a_destComp,
int a_xComp,
int a_yComp);
689 const Box& a_destbox,
702 #include "NamespaceFooter.H" virtual Real norm(const Box &a_subbox, int a_p=2, int a_comp=0, int a_numcomp=1) const
virtual void performCopy(const BaseFab< Complex > &a_src, const Box &a_srcbox, int a_srccomp, const Box &a_destbox, int a_destcomp, int a_numcomp)
Complex dotProduct(const CFArrayBox &a_fab2) const
Return the dot product of this CFArrayBox with another.
CFArrayBox & plus(Complex a_r, const Box &a_subbox, int a_comp=0, int a_numcomp=1)
virtual void define(const Interval &a_comps, CFArrayBox &a_original)
Definition: CFArrayBox.H:108
virtual void define(const Box &a_box, int a_ncomp, Complex *a_alias=NULL)
Definition: CFArrayBox.H:68
Structure for passing component ranges in code.
Definition: Interval.H:23
CFArrayBox & divide(Complex a_r)
double Real
Definition: REAL.H:33
void define()
Definition: BaseFabImplem.H:672
virtual Complex sumPow(const Box &a_subbox, int a_p=2, int a_comp=0, int a_numcomp=1) const
CFArrayBox(const Interval &a_comps, CFArrayBox &a_original)
Definition: CFArrayBox.H:62
virtual void define(const Interval &a_comps, BaseFab< Complex > &a_original)
Definition: CFArrayBox.H:119
CFArrayBox & mult(Complex a_r)
A Rectangular Domain on an Integer Lattice.
Definition: Box.H:469
CFArrayBox & axby(const CFArrayBox &a_X, const CFArrayBox &a_Y, Complex a_A, Complex a_B)
Computes a_A * a_X + a_B * a_Y, placing the result in this CFArrayBox.
CFArrayBox & invert(Complex a_r)
CFArrayBox & operator=(CFArrayBox &&a_in)=default
An integer Vector in SpaceDim-dimensional space.
Definition: CHArray.H:42
Complex & operator()(const IntVect &a_p, int a_N)
Definition: BaseFabImplem.H:291
Definition: CFArrayBox.H:38
CFArrayBox & operator/=(Complex a_r)
CFArrayBox & minus(const CFArrayBox &a_x)
CFArrayBox & operator*=(Complex a_r)
CFArrayBox & operator+=(Complex a_r)
Complex sum(int a_comp, int a_numcomp=1) const
CFArrayBox & operator-=(Complex a_r)