ESyS-Particle  4.0.1
Public Member Functions | List of all members
CMPIA2ABuffer Class Reference

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)

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
ithe integer
nslicethe 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
dthe double
nslicethe 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
nslicethe 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
nslicethe nr. of the slice
Returns
the int.
Warning
No check for underflow

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