|
| MpiBuffer () |
|
| MpiBuffer (int size) |
|
| ~MpiBuffer () |
|
void | resize (size_t newSize) |
| Set the size of the buffer. More...
|
|
void | send (int peerRank, bool setNoAccess=true) |
| Send the buffer asyncronously to a peer process. More...
|
|
void | wait () |
| Wait until the buffer was send to the peer completely. More...
|
|
void | receive (int peerRank) |
| Receive the buffer syncronously from a peer rank. More...
|
|
MPI_Request & | request () |
| Returns the current MPI_Request object. More...
|
|
const MPI_Request & | request () const |
| Returns the current MPI_Request object. More...
|
|
MPI_Status & | status () |
| Returns the current MPI_Status object. More...
|
|
const MPI_Status & | status () const |
| Returns the current MPI_Status object. More...
|
|
size_t | size () const |
| Returns the number of data objects in the buffer. More...
|
|
DataType & | operator[] (size_t i) |
| Provide access to the buffer data. More...
|
|
const DataType & | operator[] (size_t i) const |
| Provide access to the buffer data. More...
|
|
template<class DataType>
class Ewoms::MpiBuffer< DataType >
Simplifies handling of buffers to be used in conjunction with MPI.