|
ESyS-Particle
2.3.4
|
Abstract base class for scatter/gather buffer, leaf component. More...
#include <mpisgbuf.h>


Public Member Functions | |
| AMPISGBufferLeaf (MPI_Comm, int) | |
| virtual | ~AMPISGBufferLeaf () |
| 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 () |
Public Member Functions inherited from AMPIBuffer | |
| AMPIBuffer (MPI_Comm comm) | |
| virtual | ~AMPIBuffer () |
| virtual void | append (const char *)=0 |
| virtual void | append (const Vec3 &) |
| virtual Vec3 | pop_vector () |
| const MPI_Status & | status () |
Protected Attributes | |
| int | m_root |
| rank of the root process More... | |
| int | m_int_increment |
| int | m_dbl_increment |
| the "packing size" of int/double More... | |
Protected Attributes inherited from AMPIBuffer | |
| MPI_Comm | m_comm |
| the MPI Communicator used for the send/recv operations More... | |
| 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, m_int_increment, and m_root.
|
inlinevirtual |
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implements AMPIBuffer.
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
pure virtual |
Implemented in CMPIVarSGBufferLeaf, and CMPISGBufferLeaf.
|
inline |
References AMPIBuffer::m_status.
|
protected |
the "packing size" of int/double
Referenced by AMPISGBufferLeaf(), and CMPIVarSGBufferLeaf::append().
|
protected |
Referenced by AMPISGBufferLeaf(), and CMPIVarSGBufferLeaf::append().
|
protected |
rank of the root process
Referenced by AMPISGBufferLeaf(), CMPISGBufferLeaf::receive(), CMPIVarSGBufferLeaf::receive(), CMPISGBufferLeaf::send(), and CMPIVarSGBufferLeaf::send().