#include <Teuchos_DefaultMpiComm.hpp>
Inheritance diagram for Teuchos::MpiComm< Ordinal >:

Public Member Functions | |
Constructors | |
| MpiComm (const RefCountPtr< const OpaqueWrapper< MPI_Comm > > &rawMpiComm) | |
| Construct given a wrapped MPI_Comm oqaque object. | |
| RefCountPtr< const OpaqueWrapper< MPI_Comm > > | getRawMpiComm () const |
Return the embedded wrapped opaque MPI_Comm object. | |
Overridden from Comm | |
| int | getRank () const |
| | |
| int | getSize () const |
| | |
| void | barrier () const |
| | |
| void | broadcast (const int rootRank, const Ordinal bytes, char buffer[]) const |
| | |
| void | gatherAll (const Ordinal sendBytes, const char sendBuffer[], const Ordinal recvBytes, char recvBuffer[]) const |
| | |
| void | reduceAll (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal bytes, const char sendBuffer[], char globalReducts[]) const |
| | |
| void | reduceAllAndScatter (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal sendBytes, const char sendBuffer[], const Ordinal recvCounts[], const Ordinal blockSize, char myGlobalReducts[]) const |
| | |
| void | scan (const ValueTypeReductionOp< Ordinal, char > &reductOp, const Ordinal bytes, const char sendBuffer[], char scanReducts[]) const |
| | |
| void | send (const Ordinal bytes, const char sendBuffer[], const int destRank) const |
| | |
| int | receive (const int sourceRank, const Ordinal bytes, char recvBuffer[]) const |
| | |
Overridden from Describable | |
| std::string | description () const |
| | |
Related Functions | |
| (Note that these are not member functions.) | |
| RefCountPtr< MpiComm< Ordinal > > | createMpiComm (const RefCountPtr< const OpaqueWrapper< MPI_Comm > > &rawMpiComm) |
Helper function that creates a dynamically allocated MpiComm object or returns Teuchos::null to correctly represent a null communicator. | |
Assertions:
getRawMpiComm().get()!=NULL && *getRawMpiComm()!=MPI_COMM_NULL getSize() > 0 0 <= getRank() && getRank() < getSize() ToDo: Finish documentation!
Definition at line 80 of file Teuchos_DefaultMpiComm.hpp.
|
||||||||||
|
Construct given a wrapped MPI_Comm oqaque object. Preconditions:
Definition at line 206 of file Teuchos_DefaultMpiComm.hpp. |
|
|||||||||
|
Return the embedded wrapped opaque
Definition at line 97 of file Teuchos_DefaultMpiComm.hpp. |
|
|||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 223 of file Teuchos_DefaultMpiComm.hpp. |
|
|||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 229 of file Teuchos_DefaultMpiComm.hpp. |
|
|||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 235 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 244 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 255 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 272 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 288 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 336 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 352 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||||||||||||
|
Implements Teuchos::Comm< Ordinal >. Definition at line 381 of file Teuchos_DefaultMpiComm.hpp. |
|
|||||||||
|
Reimplemented from Teuchos::Describable. Definition at line 417 of file Teuchos_DefaultMpiComm.hpp. |
|
||||||||||
|
Helper function that creates a dynamically allocated
Postconditions: [ |
1.3.9.1