MFEM  v4.0
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | List of all members
mfem::ParNCMesh::NeighborElementRankMessage Class Reference

#include <pncmesh.hpp>

Inheritance diagram for mfem::ParNCMesh::NeighborElementRankMessage:
[legend]
Collaboration diagram for mfem::ParNCMesh::NeighborElementRankMessage:
[legend]

Public Types

typedef std::map< int,
NeighborElementRankMessage
Map
 

Public Member Functions

void AddElementRank (int elem, int rank)
 
- Public Member Functions inherited from mfem::ParNCMesh::ElementValueMessage< int, false, 156 >
int Size () const
 
void Reserve (int size)
 
void Add (int elem, intval)
 
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)
 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 ()
 
void Clear ()
 
virtual ~VarMessage ()
 
 VarMessage (const VarMessage &other)
 

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...
 
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 inherited from mfem::ParNCMesh::ElementValueMessage< int, false, 156 >
std::vector< int > elements
 
std::vector< int > values
 
- Public Attributes inherited from mfem::VarMessage< Tag >
std::string data
 
MPI_Request send_request
 
- Protected Member Functions inherited from mfem::ParNCMesh::ElementValueMessage< int, false, 156 >
virtual void Encode (int)
 
virtual void Decode (int)
 
- Protected Attributes inherited from mfem::ParNCMesh::ElementValueMessage< int, false, 156 >
ParNCMeshpncmesh
 

Detailed Description

Used in Step 2 of Rebalance() to synchronize new rank assignments in the ghost layer.

Definition at line 467 of file pncmesh.hpp.

Member Typedef Documentation

Definition at line 471 of file pncmesh.hpp.

Member Function Documentation

void mfem::ParNCMesh::NeighborElementRankMessage::AddElementRank ( int  elem,
int  rank 
)
inline

Definition at line 470 of file pncmesh.hpp.


The documentation for this class was generated from the following file: