Teuchos::MPIContainerComm< T > Class Template Reference

Object representation of an MPI communicator for templated containers. More...

#include <Teuchos_MPIContainerComm.hpp>

List of all members.

Static Public Member Functions

void bcast (T &x, int src, const MPIComm &comm)
 Broadcast a single object.
void bcast (Array< T > &x, int src, const MPIComm &comm)
 Broadcast an array of objects.
void bcast (Array< Array< T > > &x, int src, const MPIComm &comm)
 Broadcast an array of arrays.
void allGather (const T &outgoing, Array< T > &incoming, const MPIComm &comm)
 Gather to all processors.
void allToAll (const Array< T > &outgoing, Array< Array< T > > &incoming, const MPIComm &comm)
 All-to-all scatter/gather for an array of objects.
void allToAll (const Array< Array< T > > &outgoing, Array< Array< T > > &incoming, const MPIComm &comm)
 All-to-all scatter/gather for an array of arrays.
void gatherv (const Array< T > &outgoing, Array< Array< T > > &incoming, int rootRank, const MPIComm &comm)
void accumulate (const T &localValue, Array< T > &sums, T &total, const MPIComm &comm)
 Sum local values from all processors with rank < myRank.


Detailed Description

template<class T>
class Teuchos::MPIContainerComm< T >

Object representation of an MPI communicator for templated containers.

Note:
Template specialization exists for string.
Author:
Kevin Long

Definition at line 49 of file Teuchos_MPIContainerComm.hpp.


Member Function Documentation

template<class T>
void Teuchos::MPIContainerComm< T >::bcast T &  x,
int  src,
const MPIComm comm
[inline, static]
 

Broadcast a single object.

Definition at line 161 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::bcast Array< T > &  x,
int  src,
const MPIComm comm
[inline, static]
 

Broadcast an array of objects.

Definition at line 171 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::bcast Array< Array< T > > &  x,
int  src,
const MPIComm comm
[inline, static]
 

Broadcast an array of arrays.

Definition at line 192 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::allGather const T &  outgoing,
Array< T > &  incoming,
const MPIComm comm
[inline, static]
 

Gather to all processors.

Definition at line 362 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::allToAll const Array< T > &  outgoing,
Array< Array< T > > &  incoming,
const MPIComm comm
[inline, static]
 

All-to-all scatter/gather for an array of objects.

Definition at line 214 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::allToAll const Array< Array< T > > &  outgoing,
Array< Array< T > > &  incoming,
const MPIComm comm
[inline, static]
 

All-to-all scatter/gather for an array of arrays.

Definition at line 269 of file Teuchos_MPIContainerComm.hpp.

template<class T>
void Teuchos::MPIContainerComm< T >::gatherv const Array< T > &  outgoing,
Array< Array< T > > &  incoming,
int  rootRank,
const MPIComm comm
[static]
 

Gatherv: gather arrays of data to the root processor

template<class T>
void Teuchos::MPIContainerComm< T >::accumulate const T &  localValue,
Array< T > &  sums,
T &  total,
const MPIComm comm
[inline, static]
 

Sum local values from all processors with rank < myRank.

Definition at line 380 of file Teuchos_MPIContainerComm.hpp.


The documentation for this class was generated from the following file:
Generated on Thu Sep 18 12:30:32 2008 for Teuchos - Trilinos Tools Package by doxygen 1.3.9.1