MFEM  v3.3.2
Finite element discretization library
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
mfem::ParNCMesh::RebalanceDofMessage Class Reference

#include <pncmesh.hpp>

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

Public Types

typedef std::map< int,
RebalanceDofMessage
Map
 

Public Member Functions

void SetElements (const Array< int > &elems, NCMesh *ncmesh)
 
void SetNCMesh (NCMesh *ncmesh)
 
- 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...
 
 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 ()
 
virtual void Decode ()
 

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...
 

Detailed Description

Allows migrating element data (DOFs) after Rebalance(). Used by SendRebalanceDofs and RecvRebalanceDofs.

Definition at line 450 of file pncmesh.hpp.

Member Typedef Documentation

Definition at line 459 of file pncmesh.hpp.

Member Function Documentation

void mfem::ParNCMesh::RebalanceDofMessage::Decode ( )
protectedvirtual

Reimplemented from mfem::VarMessage< 158 >.

Definition at line 2253 of file pncmesh.cpp.

void mfem::ParNCMesh::RebalanceDofMessage::Encode ( )
protectedvirtual

Reimplemented from mfem::VarMessage< 158 >.

Definition at line 2242 of file pncmesh.cpp.

void mfem::ParNCMesh::RebalanceDofMessage::SetElements ( const Array< int > &  elems,
NCMesh ncmesh 
)

Definition at line 2225 of file pncmesh.cpp.

void mfem::ParNCMesh::RebalanceDofMessage::SetNCMesh ( NCMesh ncmesh)
inline

Definition at line 457 of file pncmesh.hpp.

Member Data Documentation

long mfem::ParNCMesh::RebalanceDofMessage::dof_offset

Definition at line 454 of file pncmesh.hpp.

std::vector<int> mfem::ParNCMesh::RebalanceDofMessage::dofs

Definition at line 453 of file pncmesh.hpp.

std::vector<int> mfem::ParNCMesh::RebalanceDofMessage::elem_ids

Definition at line 453 of file pncmesh.hpp.

ElementSet mfem::ParNCMesh::RebalanceDofMessage::eset
protected

Definition at line 462 of file pncmesh.hpp.


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