#include <ReductionOps.H>
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
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 Attributes | |
Real | scale |
Vector< int > | m_summingDir |
SumOp::SumOp | ( | ) |
SumOp::SumOp | ( | int | a_summingDir | ) |
SumOp::SumOp | ( | const Vector< int > & | a_summingDir | ) |
virtual void SumOp::linearOut | ( | const FArrayBox & | arg, | |
void * | buf, | |||
const Box & | R, | |||
const Interval & | comps | |||
) | const [virtual] |
Reimplemented from LDOperator< FArrayBox >.
virtual void SumOp::linearIn | ( | FArrayBox & | arg, | |
void * | buf, | |||
const Box & | R, | |||
const Interval & | comps | |||
) | const [virtual] |
Reimplemented from LDOperator< FArrayBox >.
void SumOp::op | ( | FArrayBox & | dest, | |
const Box & | RegionFrom, | |||
const Interval & | Cdest, | |||
const Box & | RegionTo, | |||
const FArrayBox & | src, | |||
const Interval & | Csrc | |||
) | const [virtual] |
Reimplemented from LDOperator< FArrayBox >.