41 MPI_Comm_rank(_comm, &r);
53 MPI_Comm_size(_comm, &np);
MPI Messenger.
Definition: wxmpimsg.h:23
void barrier() const override
Block till all processes hit this barrier.
Definition: wxmpimsg.h:74
void * finishRecv(WxMsgStatus ms) const override
Finish the receive started by startRecv and return a pointer to the data recieved.
unsigned numProcs() const override
Number of processes taking part in messaging.
Definition: wxmpimsg.h:50
WxMsgBase * createSubComm(const std::vector< int > &ranks) override
Split communicator into a child communicator.
int rank() const override
Rank of process.
Definition: wxmpimsg.h:38
void finishSend(WxMsgStatus ms) const override
Finish the send started by startSend.
bool checkRecv(WxMsgStatus ms) const override
Check status of recieve started by a startRecv.
MPI_Comm getMpiComm() const
Get MPI communicator for this class.
Definition: wxmpimsg.h:110
WxMpiMsg()
Construct a new MPI messenger give a set of communicating processors.
WxMsgBase * splitComm(int color, int order) override
See MPI_Comm_split.
Provides an abstract interface for message based communication between different processes.
Definition: wxmsgbase.h:22
WxMsgBase * parent() const
Get parent communicating processor group.
Definition: wxmsgbase.h:50
Provides a means for derived messengers to return implimentation specific message status flags and da...
Definition: wxmsgtmpl.h:19