class for a MPI-buffer supporting all-to-all communication
More...
#include <mpia2abuf.h>
List of all members.
Public Member Functions |
|
| CMPIA2ABuffer (MPI_Comm, int) |
|
virtual void | clear () |
|
virtual void | all2all () |
| virtual void | append (int, int) |
| virtual void | append (double, int) |
| virtual int | pop_int (int) |
| virtual double | pop_double (int) |
Detailed Description
class for a MPI-buffer supporting all-to-all communication
- Author:
- Steffen Abe $Revision$ $Date$
Member Function Documentation
| void CMPIA2ABuffer::append |
( |
int |
i, |
|
|
int |
nslice |
|
) |
| |
|
virtual |
Append an integer to a given slice of the buffer.
- Parameters:
-
| i | the integer |
| nslice | the nr. of the slice |
- Warning:
- No check for overflow
| void CMPIA2ABuffer::append |
( |
double |
d, |
|
|
int |
nslice |
|
) |
| |
|
virtual |
Append an double to a given slice of the buffer.
- Parameters:
-
| d | the double |
| nslice | the nr. of the slice |
- Warning:
- No check for overflow
| double CMPIA2ABuffer::pop_double |
( |
int |
nslice | ) |
|
|
virtual |
Pops an double from a given slice of the the buffer.
- Parameters:
-
| nslice | the nr. of the slice |
- Returns:
- the double.
- Warning:
- No check for underflow
| int CMPIA2ABuffer::pop_int |
( |
int |
nslice | ) |
|
|
virtual |
Pops an integer from a given slice of the the buffer
- Parameters:
-
| nslice | the nr. of the slice |
- Returns:
- the int.
- Warning:
- No check for underflow
The documentation for this class was generated from the following files: