|
FEAT 3
Finite Element Analysis Toolbox
|
Communication Status class. More...
#include <dist.hpp>
Public Member Functions | |
| Status () | |
| standard constructor More... | |
| Status (const Status &)=default | |
| status objects are copyable | |
| int | error () const |
| std::size_t | get_count (const Datatype &datatype) const |
| Returns the size of the message. More... | |
| std::size_t | get_size () const |
| bool | is_null () const |
Checks whether the source rank is MPI_PROC_NULL. More... | |
| MPI_Status * | mpi_status () |
| Status & | operator= (const Status &)=default |
| status objects are copyable | |
| int | source () const |
| int | tag () const |
Public Attributes | |
| MPI_Status | status |
| the MPI status structure More... | |
Communication Status class.
This class effectively wraps around the MPI_Status structure.
MPI_Status, i.e. you must not add any other member variables or virtual functions to this class!
|
inline |
|
inline |
|
inline |
Returns the size of the message.
This function effectively wraps around MPI_Get_count().
| [in] | datatype | The datatype that the message is encoded in. |
Definition at line 364 of file dist.hpp.
References FEAT::Dist::Datatype::dt, and status.
|
inline |
|
inline |
|
inline |
MPI_Status object. Definition at line 314 of file dist.hpp.
References status.
Referenced by FEAT::Dist::Comm::recv(), FEAT::Dist::Request::test(), FEAT::Dist::RequestVector::test_any(), FEAT::Dist::Request::wait(), and FEAT::Dist::RequestVector::wait_any().
|
inline |
|
inline |
| MPI_Status FEAT::Dist::Status::status |
the MPI status structure
Definition at line 299 of file dist.hpp.
Referenced by Status(), error(), get_count(), get_size(), is_null(), mpi_status(), source(), and tag().