SAMRAI::pdat::SumOperation< TYPE > Class Template Reference

Class SumOperation<TYPE> encapsulates a summation operation into an object. More...

#include <source/patchdata/array/SumOperation.h>

List of all members.

Public Member Functions

 SumOperation ()
 ~SumOperation ()
void operator() (TYPE &vdst, const TYPE &vsrc) const


Detailed Description

template<class TYPE>
class SAMRAI::pdat::SumOperation< TYPE >

Class SumOperation<TYPE> encapsulates a summation operation into an object.


Constructor & Destructor Documentation

template<class TYPE>
SAMRAI::pdat::SumOperation< TYPE >::SumOperation (  )  [inline]

The default constructor does nothing interesting.

template<class TYPE>
SAMRAI::pdat::SumOperation< TYPE >::~SumOperation (  )  [inline]

The destructor does nothing interesting.


Member Function Documentation

template<class TYPE>
void SAMRAI::pdat::SumOperation< TYPE >::operator() ( TYPE &  vdst,
const TYPE &  vsrc 
) const [inline]

The operator adds the source value to the destination.


The documentation for this class was generated from the following files:
Generated on Thu Jun 18 11:28:42 2009 for SAMRAI by  doxygen 1.5.1