Teuchos - Trilinos Tools Package 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 >:
Teuchos::Comm< Ordinal > Teuchos::Describable Teuchos::LabeledObject

List of all members.

Public Member Functions

Constructors
 SerialComm ()
 
 SerialComm (const SerialComm< Ordinal > &other)
 Default copy constructor.
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
 
virtual RCP< Comm< Ordinal > > duplicate () const
 
virtual RCP< Comm< Ordinal > > split (const int color, const int key) const
 
virtual RCP< Comm< Ordinal > > createSubcommunicator (const ArrayView< const int > &ranks) 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 57 of file Teuchos_DefaultSerialComm.hpp.


Constructor & Destructor Documentation

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

Definition at line 176 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal >
Teuchos::SerialComm< Ordinal >::SerialComm ( const SerialComm< Ordinal > &  other)

Default copy constructor.

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

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 195 of file Teuchos_DefaultSerialComm.hpp.

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

Implements Teuchos::Comm< Ordinal >.

Definition at line 202 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 209 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 218 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 235 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 246 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 267 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 278 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 291 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 306 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 320 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 331 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 342 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 351 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal >
RCP< Comm< Ordinal > > Teuchos::SerialComm< Ordinal >::duplicate ( ) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 360 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal >
RCP< Comm< Ordinal > > Teuchos::SerialComm< Ordinal >::split ( const int  color,
const int  key 
) const [virtual]

Implements Teuchos::Comm< Ordinal >.

Definition at line 367 of file Teuchos_DefaultSerialComm.hpp.

template<typename Ordinal >
RCP< Comm< Ordinal > > Teuchos::SerialComm< Ordinal >::createSubcommunicator ( const ArrayView< const int > &  ranks) const [virtual]

brief .

Implements Teuchos::Comm< Ordinal >.

Definition at line 378 of file Teuchos_DefaultSerialComm.hpp.

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

Reimplemented from Teuchos::Describable.

Definition at line 391 of file Teuchos_DefaultSerialComm.hpp.


Friends And Related Function Documentation

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

Nonmember constructor.

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