MFEM  v4.6.0
Finite element discretization library
Public Types | Public Member Functions | List of all members
mfem::ParNCMesh::NeighborRefinementMessage Class Reference

#include <pncmesh.hpp>

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

Public Types

typedef std::map< int, NeighborRefinementMessageMap
 

Public Member Functions

void AddRefinement (int elem, char ref_type)
 
- Public Member Functions inherited from mfem::ParNCMesh::ElementValueMessage< char, false, 289 >
int Size () const
 
void Reserve (int size)
 
void Add (int elem, char 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)
 Non-blocking send to processor 'rank'. Returns immediately. Completion (as tested by MPI_Wait/Test) does not mean the message was received – it may be on its way or just buffered locally. More...
 
void Issend (int rank, MPI_Comm comm)
 Non-blocking synchronous send to processor 'rank'. Returns immediately. Completion (MPI_Wait/Test) means that the message was received. 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 message. More...
 
 VarMessage ()
 
void Clear ()
 Clear the message and associated request. More...
 
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...
 
template<typename MapT >
static bool TestAllSent (MapT &rank_msg)
 Return true if all messages in the map container were sent, otherwise return false, without waiting. More...
 
static void Probe (int &rank, int &size, MPI_Comm comm)
 Blocking probe for incoming message of this type from any rank. Returns the rank and message size. More...
 
static bool IProbe (int &rank, int &size, MPI_Comm comm)
 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. More...
 
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< char, false, 289 >
std::vector< int > elements
 
std::vector< char > values
 
- Public Attributes inherited from mfem::VarMessage< Tag >
std::string data
 
MPI_Request send_request
 
- Protected Member Functions inherited from mfem::ParNCMesh::ElementValueMessage< char, false, 289 >
void Encode (int) override
 
void Decode (int) override
 
- Protected Attributes inherited from mfem::ParNCMesh::ElementValueMessage< char, false, 289 >
ParNCMeshpncmesh
 

Detailed Description

Used by ParNCMesh::Refine() to inform neighbors about refinements at the processor boundary. This keeps their ghost layers synchronized.

Definition at line 461 of file pncmesh.hpp.

Member Typedef Documentation

◆ Map

Definition at line 465 of file pncmesh.hpp.

Member Function Documentation

◆ AddRefinement()

void mfem::ParNCMesh::NeighborRefinementMessage::AddRefinement ( int  elem,
char  ref_type 
)
inline

Definition at line 464 of file pncmesh.hpp.


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