Chombo + EB
3.0
|
Class to do summing operation in the context of CopyTo. More...
#include <ReductionOps.H>
Public Member Functions | |
SumOp () | |
SumOp (int a_summingDir) | |
SumOp (const Vector< int > &a_summingDir) | |
virtual void | linearOut (const FArrayBox &arg, void *buf, const Box &R, const Interval &comps) const |
virtual void | linearIn (FArrayBox &arg, void *buf, const Box &R, const Interval &comps) const |
void | op (FArrayBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FArrayBox &src, const Interval &Csrc) const |
Public Member Functions inherited from LDOperator< FArrayBox > | |
virtual | ~LDOperator () |
virtual int | size (const FArrayBox &arg, const Box &b, const Interval &comps) const |
Public Attributes | |
Real | scale |
Vector< int > | m_summingDir |
Class to do summing operation in the context of CopyTo.
This class will perform a summing operation of the data in src in the summingDir direction(s), multiplying by the scale, and placing the sum in the corresponding location in dest
SumOp::SumOp | ( | ) |
SumOp::SumOp | ( | int | a_summingDir | ) |
SumOp::SumOp | ( | const Vector< int > & | a_summingDir | ) |
|
virtual |
Reimplemented from LDOperator< FArrayBox >.
|
virtual |
Reimplemented from LDOperator< FArrayBox >.
|
virtual |
Reimplemented from LDOperator< FArrayBox >.
Real SumOp::scale |
Vector<int> SumOp::m_summingDir |