RTOp Package Browser (Single Doxygen Collection)  Version of the Day
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
RTOpPack::ReductTargetReductionOp< Scalar > Class Template Reference

ReductionOp subclass for ReductTarget objects. More...

#include <RTOpPack_SPMD_apply_op_decl.hpp>

Inherits ReferenceTypeReductionOp< Teuchos_Ordinal, ReductTarget >.

Public Types

typedef Teuchos_Ordinal Ordinal
 

Public Member Functions

 ReductTargetReductionOp (const Teuchos::RCP< const RTOpT< Scalar > > &op)
 

Private Member Functions

 ReductTargetReductionOp ()
 
 ReductTargetReductionOp (const ReductTargetReductionOp< Scalar > &)
 
ReductTargetReductionOp< Scalar > & operator= (const ReductTargetReductionOp< Scalar > &)
 

Private Attributes

Teuchos::RCP< const RTOpT< Scalar > > op_
 

Overridden from Teuchos::ReferenceTypeReductionOp

void reduce (const Ordinal count, const ReductTarget *const inBuffer[], ReductTarget *const inoutBuffer[]) const
 

Detailed Description

template<class Scalar>
class RTOpPack::ReductTargetReductionOp< Scalar >

ReductionOp subclass for ReductTarget objects.

The copy constructor is allowed and has shallow copy semantics.

Definition at line 172 of file RTOpPack_SPMD_apply_op_decl.hpp.

Member Typedef Documentation

◆ Ordinal

template<class Scalar>
typedef Teuchos_Ordinal RTOpPack::ReductTargetReductionOp< Scalar >::Ordinal

Definition at line 177 of file RTOpPack_SPMD_apply_op_decl.hpp.

Constructor & Destructor Documentation

◆ ReductTargetReductionOp() [1/3]

template<class Scalar >
RTOpPack::ReductTargetReductionOp< Scalar >::ReductTargetReductionOp ( const Teuchos::RCP< const RTOpT< Scalar > > &  op)

Definition at line 286 of file RTOpPack_SPMD_apply_op_def.hpp.

◆ ReductTargetReductionOp() [2/3]

template<class Scalar>
RTOpPack::ReductTargetReductionOp< Scalar >::ReductTargetReductionOp ( )
private

◆ ReductTargetReductionOp() [3/3]

template<class Scalar>
RTOpPack::ReductTargetReductionOp< Scalar >::ReductTargetReductionOp ( const ReductTargetReductionOp< Scalar > &  )
private

Member Function Documentation

◆ reduce()

template<class Scalar >
void RTOpPack::ReductTargetReductionOp< Scalar >::reduce ( const Ordinal  count,
const ReductTarget *const  inBuffer[],
ReductTarget *const  inoutBuffer[] 
) const

Definition at line 294 of file RTOpPack_SPMD_apply_op_def.hpp.

◆ operator=()

template<class Scalar>
ReductTargetReductionOp<Scalar>& RTOpPack::ReductTargetReductionOp< Scalar >::operator= ( const ReductTargetReductionOp< Scalar > &  )
private

Member Data Documentation

◆ op_

template<class Scalar>
Teuchos::RCP<const RTOpT<Scalar> > RTOpPack::ReductTargetReductionOp< Scalar >::op_
private

Definition at line 192 of file RTOpPack_SPMD_apply_op_decl.hpp.


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