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
 

Related Functions

(Note that these are not member functions.)



template<typename Ordinal >
RCP< SerialComm< Ordinal > > createSerialComm ()
 Nonmember constructor.

Detailed Description

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

Concrete serial communicator subclass.

ToDo: Finish documentation!

Definition at line 44 of file Teuchos_DefaultSerialComm.hpp.


Constructor & Destructor Documentation

template<typename Ordinal >
Teuchos::SerialComm< Ordinal >::SerialComm (  )  [inline]

Definition at line 153 of file Teuchos_DefaultSerialComm.hpp.


Member Function Documentation

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 161 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 168 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 175 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 182 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 [inline, virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 191 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 [inline, virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 208 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 [inline, virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 219 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 [inline, virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 240 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 251 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 264 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 279 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 293 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 304 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 315 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 324 of file Teuchos_DefaultSerialComm.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 336 of file Teuchos_DefaultSerialComm.hpp.


Friends And Related Function Documentation

template<typename Ordinal >
RCP< SerialComm< Ordinal > > createSerialComm (  )  [related]

Nonmember constructor.

Definition at line 139 of file Teuchos_DefaultSerialComm.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Generated on Wed Apr 13 09:57:46 2011 for Teuchos - Trilinos Tools Package by  doxygen 1.6.3