|
Teuchos - Trilinos Tools Package Version of the Day
|
MPI-specific implementation of CommStatus. More...
#include <Teuchos_DefaultMpiComm_decl.hpp>
Public Member Functions | |
| virtual | ~MpiCommStatus () |
| Destructor (declared virtual for memory safety) | |
| OrdinalType | getSourceRank () |
| The source rank that sent the message. | |
| OrdinalType | getTag () |
| The tag of the received message. | |
| OrdinalType | getError () |
| The error code of the received message. | |
Public Member Functions inherited from Teuchos::CommStatus< OrdinalType > | |
| virtual | ~CommStatus () |
| Destructor (declared virtual for memory safety) | |
MPI-specific implementation of CommStatus.
Users would not normally create an instance of this class. The only time they might wish to do so is to encapsulate an MPI_Status returned by an external library or by their own code, and pass it into one of our functions like wait() or waitAll().
| OrdinalType | The same template parameter as Comm. Only use int here. We only make this a template class for compatibility with Comm. |
Definition at line 29 of file Teuchos_DefaultMpiComm_decl.hpp.
|
virtual |
Destructor (declared virtual for memory safety)
|
virtual |
The source rank that sent the message.
Implements Teuchos::CommStatus< OrdinalType >.
|
virtual |
The tag of the received message.
Implements Teuchos::CommStatus< OrdinalType >.
| OrdinalType Teuchos::MpiCommStatus< OrdinalType >::getError | ( | ) |
The error code of the received message.