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

Public Member Functions | |
| AMPISGBufferRoot (MPI_Comm) | |
| virtual | ~AMPISGBufferRoot () |
| 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 More... | |
| int | m_rank |
| the rank in this communicator More... | |
| int | m_size |
| size of the communicator More... | |
| int | m_int_increment |
| int | m_dbl_increment |
| the "packing size" of int/double More... | |
| 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_int_increment, m_rank, and m_size.
|
inlinevirtual |
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
virtual |
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
Referenced by append().

|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
Referenced by pop_vector().

|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
virtual |
|
pure virtual |
Implemented in CMPIVarSGBufferRoot, and CMPISGBufferRoot.
|
inline |
References m_status.
|
protected |
the MPI communicator used for the scatter/gather operations
Referenced by AMPISGBufferRoot(), CMPISGBufferRoot::append(), CMPIVarSGBufferRoot::append(), CMPISGBufferRoot::gather(), CMPIVarSGBufferRoot::gather(), CMPISGBufferRoot::pop_double(), CMPIVarSGBufferRoot::pop_double(), CMPISGBufferRoot::pop_doubles(), CMPIVarSGBufferRoot::pop_doubles(), CMPISGBufferRoot::pop_int(), CMPIVarSGBufferRoot::pop_int(), CMPISGBufferRoot::scatter(), and CMPIVarSGBufferRoot::scatter().
|
protected |
the "packing size" of int/double
Referenced by AMPISGBufferRoot(), and CMPIVarSGBufferRoot::append().
|
protected |
Referenced by AMPISGBufferRoot(), and CMPIVarSGBufferRoot::append().
|
protected |
the rank in this communicator
Referenced by AMPISGBufferRoot(), CMPISGBufferRoot::gather(), CMPIVarSGBufferRoot::gather(), CMPISGBufferRoot::scatter(), and CMPIVarSGBufferRoot::scatter().
|
protected |
size of the communicator
Referenced by AMPISGBufferRoot(), CMPISGBufferRoot::append(), CMPIVarSGBufferRoot::append(), CMPISGBufferRoot::clear(), CMPIVarSGBufferRoot::clear(), CMPISGBufferRoot::CMPISGBufferRoot(), CMPIVarSGBufferRoot::CMPIVarSGBufferRoot(), CMPIVarSGBufferRoot::gather(), CMPIVarSGBufferRoot::grow(), CMPIVarSGBufferRoot::growTo(), CMPIVarSGBufferRoot::pop_double(), CMPIVarSGBufferRoot::pop_doubles(), CMPISGBufferRoot::pop_int(), CMPIVarSGBufferRoot::pop_int(), and CMPIVarSGBufferRoot::scatter().
|
protected |
Referenced by status().