SumOp Class Reference

#include <ReductionOps.H>

Inheritance diagram for SumOp:

Inheritance graph
[legend]

List of all members.


Detailed Description

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

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


Constructor & Destructor Documentation

SumOp::SumOp (  ) 

SumOp::SumOp ( int  a_summingDir  ) 

SumOp::SumOp ( const Vector< int > &  a_summingDir  ) 


Member Function Documentation

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 >.


Member Data Documentation


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

Generated on Fri Apr 5 04:25:19 2019 for Chombo + EB by  doxygen 1.5.5