Zoltan2
Public Member Functions
Teuchos::Zoltan2_RCBOperation< Ordinal, T > Class Template Reference

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

#include <Zoltan2_AlgRCB_methods.hpp>

List of all members.

Public Member Functions

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

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[],
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 ( minExtreme,
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: