SpreadingOp Class Reference

#include <ReductionOps.H>

Inheritance diagram for SpreadingOp:

Inheritance graph
[legend]

List of all members.


Detailed Description

Class to do spreading operation in the context of CopyTo.

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

 SpreadingOp ()
 SpreadingOp (int a_spreadingDir)
 SpreadingOp (const Vector< int > &a_spreadingDir)
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
void applyOp (FArrayBox &dest, const Box &RegionFrom, const Interval &Cdest, const Box &RegionTo, const FArrayBox &src, const Interval &Csrc, Real a_scale) const

Public Attributes

Real scale
Vector< int > m_spreadingDir


Constructor & Destructor Documentation

SpreadingOp::SpreadingOp (  ) 

SpreadingOp::SpreadingOp ( int  a_spreadingDir  ) 

SpreadingOp::SpreadingOp ( const Vector< int > &  a_spreadingDir  ) 


Member Function Documentation

virtual void SpreadingOp::linearIn ( FArrayBox arg,
void *  buf,
const Box R,
const Interval comps 
) const [virtual]

Reimplemented from LDOperator< FArrayBox >.

void SpreadingOp::op ( FArrayBox dest,
const Box RegionFrom,
const Interval Cdest,
const Box RegionTo,
const FArrayBox src,
const Interval Csrc 
) const [virtual]

Reimplemented from LDOperator< FArrayBox >.

void SpreadingOp::applyOp ( FArrayBox dest,
const Box RegionFrom,
const Interval Cdest,
const Box RegionTo,
const FArrayBox src,
const Interval Csrc,
Real  a_scale 
) const


Member Data Documentation


The documentation for this class was generated from the following file:

Generated on Mon Jul 24 03:43:12 2017 for Chombo + EB by  doxygen 1.5.5