$extrastylesheet
#include <parallel.h>
Public Member Functions | |
| Status () | |
| Status (const data_type &type) | |
| Status (const status &status) | |
| Status (const status &status, const data_type &type) | |
| Status (const Status &status) | |
| Status (const Status &status, const data_type &type) | |
| status * | get () |
| status const * | get () const |
| int | source () const |
| int | tag () const |
| data_type & | datatype () |
| const data_type & | datatype () const |
| unsigned int | size (const data_type &type) const |
| unsigned int | size () const |
Private Attributes | |
| status | _status |
| data_type | _datatype |
Encapsulates the MPI_Status struct. Allows the source and size of the message to be determined.
Definition at line 363 of file parallel.h.
| libMesh::Parallel::Status::Status | ( | ) | [inline] |
Definition at line 586 of file parallel_implementation.h.
| libMesh::Parallel::Status::Status | ( | const data_type & | type | ) | [inline, explicit] |
Definition at line 591 of file parallel_implementation.h.
| libMesh::Parallel::Status::Status | ( | const status & | status | ) | [inline, explicit] |
Definition at line 596 of file parallel_implementation.h.
| libMesh::Parallel::Status::Status | ( | const status & | status, |
| const data_type & | type | ||
| ) | [inline] |
Definition at line 601 of file parallel_implementation.h.
| libMesh::Parallel::Status::Status | ( | const Status & | status | ) | [inline] |
Definition at line 607 of file parallel_implementation.h.
| libMesh::Parallel::Status::Status | ( | const Status & | status, |
| const data_type & | type | ||
| ) | [inline] |
Definition at line 612 of file parallel_implementation.h.
| data_type& libMesh::Parallel::Status::datatype | ( | ) | [inline] |
Definition at line 388 of file parallel.h.
References _datatype.
Referenced by size().
{ return _datatype; }
| const data_type& libMesh::Parallel::Status::datatype | ( | ) | const [inline] |
| status* libMesh::Parallel::Status::get | ( | ) | [inline] |
Definition at line 380 of file parallel.h.
References _status.
Referenced by libMesh::Parallel::Communicator::receive(), and libMesh::Parallel::Request::wait().
{ return &_status; }
| status const* libMesh::Parallel::Status::get | ( | ) | const [inline] |
| unsigned int libMesh::Parallel::Status::size | ( | const data_type & | type | ) | const [inline] |
Definition at line 638 of file parallel_implementation.h.
References _status.
Referenced by libMesh::Parallel::Communicator::receive().
{
int msg_size;
MPI_Get_count (const_cast<MPI_Status*>(&_status), type, &msg_size);
libmesh_assert_greater_equal (msg_size, 0);
return msg_size;
}
| unsigned int libMesh::Parallel::Status::size | ( | ) | const [inline] |
Definition at line 653 of file parallel_implementation.h.
References datatype().
| int libMesh::Parallel::Status::source | ( | ) | const [inline] |
Definition at line 618 of file parallel_implementation.h.
References _status.
Referenced by libMesh::Nemesis_IO::read(), libMesh::System::read_serialized_blocked_dof_objects(), and libMesh::System::write_serialized_blocked_dof_objects().
{
#ifdef LIBMESH_HAVE_MPI
return _status.MPI_SOURCE;
#else
return 0;
#endif
}
| int libMesh::Parallel::Status::tag | ( | ) | const [inline] |
Definition at line 627 of file parallel_implementation.h.
References _status.
{
#ifdef LIBMESH_HAVE_MPI
return _status.MPI_TAG;
#else
libmesh_not_implemented();
return 0;
#endif
}
Definition at line 399 of file parallel.h.
Referenced by datatype().
status libMesh::Parallel::Status::_status [private] |