#include <ReductionOps.H>
This class will perform a spreading operation of the data in src along the summingDir direction(s), multiplying by the scale, and placing the src values in the corresponding locations in dest.
Public Member Functions | |
FaceSpreadingOp () | |
FaceSpreadingOp (int a_spreadingDir) | |
FaceSpreadingOp (const Vector< int > &a_spreadingDir) | |
virtual void | linearIn (FluxBox &arg, void *buf, const Box &R, const Interval &comps) const |
void | op (FluxBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FluxBox &src, const Interval &Csrc) const |
void | applyOp (FluxBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FluxBox &src, const Interval &Csrc, Real a_scale) const |
Public Attributes | |
Real | scale |
Vector< int > | m_spreadingDir |
FaceSpreadingOp::FaceSpreadingOp | ( | ) |
FaceSpreadingOp::FaceSpreadingOp | ( | int | a_spreadingDir | ) |
FaceSpreadingOp::FaceSpreadingOp | ( | const Vector< int > & | a_spreadingDir | ) |
virtual void FaceSpreadingOp::linearIn | ( | FluxBox & | arg, | |
void * | buf, | |||
const Box & | R, | |||
const Interval & | comps | |||
) | const [virtual] |
Reimplemented from LDOperator< FluxBox >.
void FaceSpreadingOp::op | ( | FluxBox & | dest, | |
const Box & | RegionFrom, | |||
const Interval & | Cdest, | |||
const Box & | RegionTo, | |||
const FluxBox & | src, | |||
const Interval & | Csrc | |||
) | const [virtual] |
Reimplemented from LDOperator< FluxBox >.
void FaceSpreadingOp::applyOp | ( | FluxBox & | dest, | |
const Box & | RegionFrom, | |||
const Interval & | Cdest, | |||
const Box & | RegionTo, | |||
const FluxBox & | src, | |||
const Interval & | Csrc, | |||
Real | a_scale | |||
) | const |