Zoltan 2 Version 0.5
Public Member Functions | Static Public Attributes
Teuchos::Zoltan2_RCBOperation< Ordinal, T > Class Template Reference

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

#include <Zoltan2_AlgRCB_methods.hpp>

Inheritance diagram for Teuchos::Zoltan2_RCBOperation< Ordinal, T >:
Inheritance graph
[legend]
Collaboration diagram for Teuchos::Zoltan2_RCBOperation< Ordinal, T >:
Collaboration graph
[legend]

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.
virtual std::string description () const
virtual void describe (FancyOStream &out, const EVerbosityLevel verbLevel=verbLevel_default) const
DescribableStreamManipulatorState describe (const Describable &describable, const EVerbosityLevel verbLevel=Describable::verbLevel_default)
std::ostream & operator<< (std::ostream &os, const DescribableStreamManipulatorState &d)
virtual void setObjectLabel (const std::string &objectLabel)
virtual std::string getObjectLabel () const

Static Public Attributes

static const EVerbosityLevel verbLevel_default

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, virtual]
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: