ESyS-Particle
4.0.1
|
Abstract base class for scatter/gather buffer, root component. More...
#include <mpisgbuf.h>
Public Member Functions | |
AMPISGBufferRoot (MPI_Comm) | |
virtual void | clear ()=0 |
virtual void | gather ()=0 |
virtual void | scatter ()=0 |
virtual void | append (int, int)=0 |
virtual void | append (double, int)=0 |
virtual void | append (const char *, int)=0 |
virtual void | append (const Vec3 &, int) |
virtual int | pop_int (int)=0 |
virtual double | pop_double (int)=0 |
virtual void | pop_doubles (int, double *, int)=0 |
virtual Vec3 | pop_vector (int) |
const MPI_Status & | status () |
Protected Attributes | |
MPI_Comm | m_comm |
the MPI communicator used for the scatter/gather operations | |
int | m_rank |
the rank in this communicator | |
int | m_size |
size of the communicator | |
int | m_int_increment |
int | m_dbl_increment |
the "packing size" of int/double | |
MPI_Status | m_status |
Abstract base class for scatter/gather buffer, root component.
AMPISGBufferRoot::AMPISGBufferRoot | ( | MPI_Comm | comm | ) |
Constructor for AMPISGBufferRoot
comm | the MPI communicator |
References m_comm, m_dbl_increment, m_rank, and m_size.