ESyS-Particle
4.0.1
|
class for a MPI-buffer supporting all-to-all communication More...
#include <mpia2abuf.h>
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) |
class for a MPI-buffer supporting all-to-all communication
void CMPIA2ABuffer::append | ( | int | i, |
int | nslice | ||
) | [virtual] |
Append an integer to a given slice of the buffer.
i | the integer |
nslice | the nr. of the slice |
void CMPIA2ABuffer::append | ( | double | d, |
int | nslice | ||
) | [virtual] |
Append an double to a given slice of the buffer.
d | the double |
nslice | the nr. of the slice |
double CMPIA2ABuffer::pop_double | ( | int | nslice | ) | [virtual] |
Pops an double from a given slice of the the buffer.
nslice | the nr. of the slice |
int CMPIA2ABuffer::pop_int | ( | int | nslice | ) | [virtual] |
Pops an integer from a given slice of the the buffer
nslice | the nr. of the slice |