Teuchos::SerialComm< Ordinal > Class Template Reference

Concrete serial communicator subclass. More...

#include <Teuchos_DefaultSerialComm.hpp>

Inheritance diagram for Teuchos::SerialComm< Ordinal >:

Teuchos::Comm< Ordinal > Teuchos::Describable Teuchos::LabeledObject List of all members.

Public Member Functions

Constructors
 SerialComm ()
 
Overridden from Comm
virtual int getRank () const
 
virtual int getSize () const
 
virtual void barrier () const
 
virtual void broadcast (const int rootRank, const Ordinal bytes, char buffer[]) const
 
virtual void gatherAll (const Ordinal sendBytes, const char sendBuffer[], const Ordinal recvBytes, char recvBuffer[]) const
 
virtual void reduceAll (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal bytes, const char sendBuffer[], char globalReducts[]) const
 
virtual void reduceAllAndScatter (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal sendBytes, const char sendBuffer[], const Ordinal recvCounts[], char myGlobalReducts[]) const
 
virtual void scan (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal bytes, const char sendBuffer[], char scanReducts[]) const
 
virtual void send (const Ordinal bytes, const char sendBuffer[], const int destRank) const
 
virtual int receive (const int sourceRank, const Ordinal bytes, char recvBuffer[]) const
 
virtual void readySend (const ArrayView< const char > &sendBuffer, const int destRank) const
 
virtual RCP< CommRequestisend (const ArrayView< const char > &sendBuffer, const int destRank) const
 
virtual RCP< CommRequestireceive (const ArrayView< char > &Buffer, const int sourceRank) const
 
virtual void waitAll (const ArrayView< RCP< CommRequest > > &requests) const
 
virtual void wait (const Ptr< RCP< CommRequest > > &request) const
 
Overridden from Describable
std::string description () const
 

Detailed Description

template<typename Ordinal>
class Teuchos::SerialComm< Ordinal >

Concrete serial communicator subclass.

ToDo: Finish documentation!

Definition at line 42 of file Teuchos_DefaultSerialComm.hpp.


Constructor & Destructor Documentation

template<typename Ordinal>
Teuchos::SerialComm< Ordinal >::SerialComm (  ) 

Definition at line 137 of file Teuchos_DefaultSerialComm.hpp.


Member Function Documentation

template<typename Ordinal>
int Teuchos::SerialComm< Ordinal >::getRank (  )  const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 143 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
int Teuchos::SerialComm< Ordinal >::getSize (  )  const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 149 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::barrier (  )  const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 155 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::broadcast ( const int  rootRank,
const Ordinal  bytes,
char  buffer[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 161 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::gatherAll ( const Ordinal  sendBytes,
const char  sendBuffer[],
const Ordinal  recvBytes,
char  recvBuffer[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 169 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::reduceAll ( const ValueTypeReductionOp< Ordinal, char > &  reductOp,
const Ordinal  bytes,
const char  sendBuffer[],
char  globalReducts[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 185 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::reduceAllAndScatter ( const ValueTypeReductionOp< Ordinal, char > &  reductOp,
const Ordinal  sendBytes,
const char  sendBuffer[],
const Ordinal  recvCounts[],
char  myGlobalReducts[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 195 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::scan ( const ValueTypeReductionOp< Ordinal, char > &  reductOp,
const Ordinal  bytes,
const char  sendBuffer[],
char  scanReducts[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 215 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::send ( const Ordinal  bytes,
const char  sendBuffer[],
const int  destRank 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 225 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
int Teuchos::SerialComm< Ordinal >::receive ( const int  sourceRank,
const Ordinal  bytes,
char  recvBuffer[] 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 237 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::readySend ( const ArrayView< const char > &  sendBuffer,
const int  destRank 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 251 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
RCP< CommRequest > Teuchos::SerialComm< Ordinal >::isend ( const ArrayView< const char > &  sendBuffer,
const int  destRank 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 266 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
RCP< CommRequest > Teuchos::SerialComm< Ordinal >::ireceive ( const ArrayView< char > &  Buffer,
const int  sourceRank 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 277 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::waitAll ( const ArrayView< RCP< CommRequest > > &  requests  )  const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 288 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
void Teuchos::SerialComm< Ordinal >::wait ( const Ptr< RCP< CommRequest > > &  request  )  const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 297 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal>
std::string Teuchos::SerialComm< Ordinal >::description (  )  const [virtual]

Reimplemented from Teuchos::Describable.

Definition at line 308 of file Teuchos_DefaultSerialComm.hpp.


The documentation for this class was generated from the following file:
Generated on Wed May 12 21:40:33 2010 for Teuchos - Trilinos Tools Package by  doxygen 1.4.7