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

#include <pncmesh.hpp>

Inheritance diagram for mfem::NeighborRowReply:
[legend]
Collaboration diagram for mfem::NeighborRowReply:
[legend]

Classes

struct  Row
 

Public Types

typedef std::map< int,
NeighborRowReply
Map
 

Public Member Functions

void AddRow (int row, const Array< int > &cols, const Vector &srow)
 
bool HaveRow (int row) const
 
void GetRow (int row, Array< int > &cols, Vector &srow)
 
- Public Member Functions inherited from mfem::VarMessage< 313 >
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 ()
 

Protected Member Functions

virtual void Encode ()
 
virtual void Decode ()
 

Protected Attributes

std::map< int, Rowrows
 

Additional Inherited Members

- Static Public Member Functions inherited from mfem::VarMessage< 313 >
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...
 
- Public Attributes inherited from mfem::VarMessage< 313 >
std::string data
 
MPI_Request send_request
 

Detailed Description

Represents a reply to NeighborRowRequest. The reply contains a batch of P matrix rows that have been finished by the sending processor. Multiple batches may be sent depending on the number of iterations of the final part of the function ParFiniteElementSpace::GetConformingInterpolation(). All rows that are sent accumulate in the same NeighborRowReply instance.

Definition at line 401 of file pncmesh.hpp.

Member Typedef Documentation

Definition at line 409 of file pncmesh.hpp.

Member Function Documentation

void mfem::NeighborRowReply::AddRow ( int  row,
const Array< int > &  cols,
const Vector srow 
)

Definition at line 1088 of file pncmesh.cpp.

void mfem::NeighborRowReply::Decode ( )
protectedvirtual

Reimplemented from mfem::VarMessage< 313 >.

Definition at line 1127 of file pncmesh.cpp.

void mfem::NeighborRowReply::Encode ( )
protectedvirtual

Reimplemented from mfem::VarMessage< 313 >.

Definition at line 1107 of file pncmesh.cpp.

void mfem::NeighborRowReply::GetRow ( int  row,
Array< int > &  cols,
Vector srow 
)

Definition at line 1097 of file pncmesh.cpp.

bool mfem::NeighborRowReply::HaveRow ( int  row) const
inline

Definition at line 406 of file pncmesh.hpp.

Member Data Documentation

std::map<int, Row> mfem::NeighborRowReply::rows
protected

Definition at line 413 of file pncmesh.hpp.


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