Teuchos Package Browser (Single Doxygen Collection) Version of the Day
Related Functions
Teuchos::SerialComm< Ordinal > Class Template Reference

Concrete serial communicator subclass. More...

#include <Teuchos_DefaultSerialComm.hpp>

Inheritance diagram for Teuchos::SerialComm< Ordinal >:
Inheritance graph
[legend]

List of all members.

Related Functions

(Note that these are not member functions.)

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

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 57 of file Teuchos_DefaultSerialComm.hpp.


Constructor & Destructor Documentation

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

Definition at line 166 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 174 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 181 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 188 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 195 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 204 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 221 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 232 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 253 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 264 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 277 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 292 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 306 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 317 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 328 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 337 of file Teuchos_DefaultSerialComm.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 349 of file Teuchos_DefaultSerialComm.hpp.


Friends And Related Function Documentation

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

Nonmember constructor.

Definition at line 152 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