|
Teuchos - Trilinos Tools Package
Version of the Day
|
Encapsulation of MPI_Status. More...
#include <Teuchos_Comm.hpp>
Public Member Functions | |
| virtual | ~CommStatus () |
| Destructor (declared virtual for memory safety) | |
| virtual OrdinalType | getSourceRank ()=0 |
| The source rank that sent the message. | |
Encapsulation of MPI_Status.
This interface encapsulates the result of a receive (the MPI_Status struct). Its main use is to figure out which process sent you a message, if you received it using MPI_ANY_SOURCE.
| OrdinalType | The same template parameter as Comm. Only use int here. We only make this a template class for compatibility with Comm. |
MPI_Status in this interface. For now, you can attempt a dynamic cast to MpiCommStatus to access all three fields (MPI_SOURCE, MPI_TAG, and MPI_ERROR). Definition at line 79 of file Teuchos_Comm.hpp.
| virtual Teuchos::CommStatus< OrdinalType >::~CommStatus | ( | ) | [inline, virtual] |
Destructor (declared virtual for memory safety)
Definition at line 82 of file Teuchos_Comm.hpp.
| virtual OrdinalType Teuchos::CommStatus< OrdinalType >::getSourceRank | ( | ) | [pure virtual] |
The source rank that sent the message.
Implemented in Teuchos::MpiCommStatus< OrdinalType >, and Teuchos::SerialCommStatus< OrdinalType >.
1.7.6.1