MFEM
v3.4
Finite element discretization library
|
#include <pncmesh.hpp>
Public Types | |
typedef std::map< int, RebalanceDofMessage > | Map |
Public Member Functions | |
void | SetElements (const Array< int > &elems, NCMesh *ncmesh) |
void | SetNCMesh (NCMesh *ncmesh) |
long | MemoryUsage () const |
Public Member Functions inherited from mfem::VarMessage< 158 > | |
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... | |
void | RecvDrop (int rank, int size, MPI_Comm comm) |
Like Recv(), but throw away the messsage. More... | |
VarMessage () | |
VarMessage (const VarMessage &other) | |
void | Clear () |
virtual | ~VarMessage () |
Public Attributes | |
std::vector< int > | elem_ids |
std::vector< int > | dofs |
long | dof_offset |
Public Attributes inherited from mfem::VarMessage< 158 > | |
std::string | data |
MPI_Request | send_request |
Protected Member Functions | |
virtual void | Encode (int) |
virtual void | Decode (int) |
Protected Attributes | |
ElementSet | eset |
Additional Inherited Members | |
Static Public Member Functions inherited from mfem::VarMessage< 158 > | |
static void | IsendAll (MapT &rank_msg, MPI_Comm comm) |
Helper to send all messages in a rank-to-message map container. More... | |
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) |
static void | RecvAll (MapT &rank_msg, MPI_Comm comm) |
Helper to receive all messages in a rank-to-message map container. More... | |
Allows migrating element data (DOFs) after Rebalance(). Used by SendRebalanceDofs and RecvRebalanceDofs.
Definition at line 497 of file pncmesh.hpp.
typedef std::map<int, RebalanceDofMessage> mfem::ParNCMesh::RebalanceDofMessage::Map |
Definition at line 507 of file pncmesh.hpp.
|
protectedvirtual |
Reimplemented from mfem::VarMessage< 158 >.
Definition at line 2435 of file pncmesh.cpp.
|
protectedvirtual |
Reimplemented from mfem::VarMessage< 158 >.
Definition at line 2424 of file pncmesh.cpp.
long mfem::ParNCMesh::RebalanceDofMessage::MemoryUsage | ( | ) | const |
Definition at line 2491 of file pncmesh.cpp.
void mfem::ParNCMesh::RebalanceDofMessage::SetElements | ( | const Array< int > & | elems, |
NCMesh * | ncmesh | ||
) |
Definition at line 2394 of file pncmesh.cpp.
|
inline |
Definition at line 504 of file pncmesh.hpp.
long mfem::ParNCMesh::RebalanceDofMessage::dof_offset |
Definition at line 501 of file pncmesh.hpp.
std::vector<int> mfem::ParNCMesh::RebalanceDofMessage::dofs |
Definition at line 500 of file pncmesh.hpp.
std::vector<int> mfem::ParNCMesh::RebalanceDofMessage::elem_ids |
Definition at line 500 of file pncmesh.hpp.
|
protected |
Definition at line 510 of file pncmesh.hpp.