Zoltan2  Version of the Day
Public Member Functions | List of all members
Teuchos::Zoltan2_RCBOperation< Ordinal, T > Class Template Reference

A Teuchos::MPIComm reduction operation. More...

#include <Zoltan2_AlgRCB_methods.hpp>

Inherits ValueTypeReductionOp< Ordinal, T >.

Public Member Functions

 Zoltan2_RCBOperation ()
 Default Constructor. More...
 
 Zoltan2_RCBOperation (Ordinal nsum, Ordinal nmin, Ordinal nmax)
 Constructor. More...
 
void reduce (const Ordinal count, const T inBuffer[], T inoutBuffer[]) const
 Implement Teuchos::ValueTypeReductionOp interface. More...
 
ArrayRCP< T > getInitializedBuffer (T minExtreme, T maxExtreme) const
 Convenience method. More...
 

Detailed Description

template<typename Ordinal, typename T>
class Teuchos::Zoltan2_RCBOperation< Ordinal, T >

A Teuchos::MPIComm reduction operation.

Given a list of values T, some number are added, the next group is min'ed, the final group is max'ed.

Definition at line 73 of file Zoltan2_AlgRCB_methods.hpp.

Constructor & Destructor Documentation

template<typename Ordinal, typename T>
Teuchos::Zoltan2_RCBOperation< Ordinal, T >::Zoltan2_RCBOperation ( )
inline

Default Constructor.

Definition at line 81 of file Zoltan2_AlgRCB_methods.hpp.

template<typename Ordinal, typename T>
Teuchos::Zoltan2_RCBOperation< Ordinal, T >::Zoltan2_RCBOperation ( Ordinal  nsum,
Ordinal  nmin,
Ordinal  nmax 
)
inline

Constructor.

Parameters
nsumthe count of how many sums will be computed at the start of the list.
nminfollowing the sums, this many minimums will be computed.
nmaxfollowing the minimums, this many maximums will be computed.

Definition at line 89 of file Zoltan2_AlgRCB_methods.hpp.

Member Function Documentation

template<typename Ordinal, typename T>
void Teuchos::Zoltan2_RCBOperation< Ordinal, T >::reduce ( const Ordinal  count,
const T  inBuffer[],
T  inoutBuffer[] 
) const
inline

Implement Teuchos::ValueTypeReductionOp interface.

Definition at line 94 of file Zoltan2_AlgRCB_methods.hpp.

template<typename Ordinal, typename T>
ArrayRCP<T> Teuchos::Zoltan2_RCBOperation< Ordinal, T >::getInitializedBuffer ( T  minExtreme,
T  maxExtreme 
) const
inline

Convenience method.

Definition at line 111 of file Zoltan2_AlgRCB_methods.hpp.


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