ESyS-Particle
4.0.1
|
Abstract base class for scatter/gather buffer, leaf component. More...
#include <mpisgbuf.h>
Public Member Functions | |
AMPISGBufferLeaf (MPI_Comm, int) | |
virtual void | clear ()=0 |
virtual void | send ()=0 |
virtual void | receive ()=0 |
virtual void | append (int)=0 |
virtual void | append (double)=0 |
virtual int | pop_int ()=0 |
virtual double | pop_double ()=0 |
virtual void | pop_doubles (double *, int)=0 |
virtual std::string | pop_string ()=0 |
const MPI_Status & | status () |
Protected Attributes | |
int | m_root |
rank of the root process | |
int | m_int_increment |
int | m_dbl_increment |
the "packing size" of int/double |
Abstract base class for scatter/gather buffer, leaf component.
AMPISGBufferLeaf::AMPISGBufferLeaf | ( | MPI_Comm | comm, |
int | root | ||
) |
Constuctor for AMPISGBufferLeaf
comm | the MPI communicator |
root | rank of the root process |
References AMPIBuffer::m_comm, m_dbl_increment, and m_root.