MFEM
v4.1.0
Finite element discretization library
|
#include <pncmesh.hpp>
Public Member Functions | |
int | Size () const |
void | Reserve (int size) |
void | Add (int elem, ValueType val) |
void | SetNCMesh (ParNCMesh *pncmesh) |
Set pointer to ParNCMesh (needed to encode the message). More... | |
ElementValueMessage () | |
Public Member Functions inherited from mfem::VarMessage< Tag > | |
void | Isend (int rank, MPI_Comm comm) |
void | Issend (int rank, MPI_Comm comm) |
void | Recv (int rank, int size, MPI_Comm comm) |
Post-probe receive from processor 'rank' of message size 'size'. More... | |
void | RecvDrop (int rank, int size, MPI_Comm comm) |
Like Recv(), but throw away the messsage. More... | |
VarMessage () | |
void | Clear () |
virtual | ~VarMessage () |
VarMessage (const VarMessage &other) | |
Public Attributes | |
std::vector< int > | elements |
std::vector< ValueType > | values |
Public Attributes inherited from mfem::VarMessage< Tag > | |
std::string | data |
MPI_Request | send_request |
Protected Member Functions | |
virtual void | Encode (int) |
virtual void | Decode (int) |
Protected Attributes | |
ParNCMesh * | pncmesh |
Additional Inherited Members | |
Static Public Member Functions inherited from mfem::VarMessage< Tag > | |
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... | |
template<typename MapT > | |
static bool | TestAllSent (MapT &rank_msg) |
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... | |
A base for internal messages used by Refine(), Derefine() and Rebalance(). Allows sending values associated with elements in a set. If RefType == true, the element set is recreated on the receiving end.
Definition at line 433 of file pncmesh.hpp.
|
inline |
Definition at line 449 of file pncmesh.hpp.
|
inline |
Definition at line 443 of file pncmesh.hpp.
|
protectedvirtual |
Reimplemented from mfem::VarMessage< Tag >.
Definition at line 2732 of file pncmesh.cpp.
|
protectedvirtual |
Reimplemented from mfem::VarMessage< Tag >.
Definition at line 2697 of file pncmesh.cpp.
|
inline |
Definition at line 441 of file pncmesh.hpp.
|
inline |
Set pointer to ParNCMesh (needed to encode the message).
Definition at line 447 of file pncmesh.hpp.
|
inline |
Definition at line 440 of file pncmesh.hpp.
std::vector<int> mfem::ParNCMesh::ElementValueMessage< ValueType, RefTypes, Tag >::elements |
Definition at line 437 of file pncmesh.hpp.
|
protected |
Definition at line 452 of file pncmesh.hpp.
std::vector<ValueType> mfem::ParNCMesh::ElementValueMessage< ValueType, RefTypes, Tag >::values |
Definition at line 438 of file pncmesh.hpp.