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 () |
![]() | |
AMPIBuffer (MPI_Comm comm) | |
virtual void | append (const char *)=0 |
virtual void | append (const Vec3 &) |
virtual Vec3 | pop_vector () |
Protected Attributes | |
int | m_root |
rank of the root process | |
int | m_int_increment |
int | m_dbl_increment |
the "packing size" of int/double | |
![]() | |
MPI_Comm | m_comm |
the MPI Communicator used for the send/recv operations | |
MPI_Status | m_status |
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.