MFEM
v3.3
Finite element discretization library
|
Variable-length MPI message containing unspecific binary data. More...
#include <communication.hpp>
Public Member Functions | |
void | Isend (int rank, MPI_Comm comm) |
Non-blocking send to processor 'rank'. More... | |
void | Recv (int rank, int size, MPI_Comm comm) |
Post-probe receive from processor 'rank' of message size 'size'. More... | |
VarMessage () | |
void | Clear () |
virtual | ~VarMessage () |
VarMessage (const VarMessage &other) | |
Static Public Member Functions | |
template<typename MapT > | |
static void | IsendAll (MapT &rank_msg, MPI_Comm comm) |
Helper to send all messages in a rank-to-message map container. More... | |
template<typename MapT > | |
static void | WaitAllSent (MapT &rank_msg) |
Helper to wait for all messages in a map container to be sent. More... | |
static void | Probe (int &rank, int &size, MPI_Comm comm) |
static bool | IProbe (int &rank, int &size, MPI_Comm comm) |
template<typename MapT > | |
static void | RecvAll (MapT &rank_msg, MPI_Comm comm) |
Helper to receive all messages in a rank-to-message map container. More... | |
Public Attributes | |
std::string | data |
MPI_Request | send_request |
Protected Member Functions | |
virtual void | Encode () |
virtual void | Decode () |
Variable-length MPI message containing unspecific binary data.
Definition at line 188 of file communication.hpp.
|
inline |
Definition at line 281 of file communication.hpp.
|
inlinevirtual |
Definition at line 284 of file communication.hpp.
|
inline |
Definition at line 290 of file communication.hpp.
|
inline |
Definition at line 282 of file communication.hpp.
|
inlineprotectedvirtual |
Reimplemented in mfem::NeighborRowReply, mfem::NeighborRowRequest, mfem::NeighborDofMessage, mfem::ParNCMesh::RebalanceDofMessage, mfem::ParNCMesh::ElementValueMessage< ValueType, RefTypes, Tag >, mfem::ParNCMesh::ElementValueMessage< int, true, 157 >, mfem::ParNCMesh::ElementValueMessage< int, false, 290 >, mfem::ParNCMesh::ElementValueMessage< char, false, 289 >, and mfem::ParNCMesh::ElementValueMessage< int, false, 156 >.
Definition at line 299 of file communication.hpp.
|
inlineprotectedvirtual |
Reimplemented in mfem::NeighborRowReply, mfem::NeighborRowRequest, mfem::NeighborDofMessage, mfem::ParNCMesh::RebalanceDofMessage, mfem::ParNCMesh::ElementValueMessage< ValueType, RefTypes, Tag >, mfem::ParNCMesh::ElementValueMessage< int, true, 157 >, mfem::ParNCMesh::ElementValueMessage< int, false, 290 >, mfem::ParNCMesh::ElementValueMessage< char, false, 289 >, and mfem::ParNCMesh::ElementValueMessage< int, false, 156 >.
Definition at line 298 of file communication.hpp.
|
inlinestatic |
Non-blocking probe for incoming message of this type from any rank. If there is an incoming message, returns true and sets 'rank' and 'size'. Otherwise returns false.
Definition at line 237 of file communication.hpp.
|
inline |
Non-blocking send to processor 'rank'.
Definition at line 194 of file communication.hpp.
|
inlinestatic |
Helper to send all messages in a rank-to-message map container.
Definition at line 203 of file communication.hpp.
|
inlinestatic |
Blocking probe for incoming message of this type from any rank. Returns the rank and message size.
Definition at line 226 of file communication.hpp.
|
inline |
Post-probe receive from processor 'rank' of message size 'size'.
Definition at line 250 of file communication.hpp.
|
inlinestatic |
Helper to receive all messages in a rank-to-message map container.
Definition at line 266 of file communication.hpp.
|
inlinestatic |
Helper to wait for all messages in a map container to be sent.
Definition at line 214 of file communication.hpp.
std::string mfem::VarMessage< Tag >::data |
Definition at line 190 of file communication.hpp.
MPI_Request mfem::VarMessage< Tag >::send_request |
Definition at line 191 of file communication.hpp.