ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes | List of all members
AMPISGBufferRoot Class Reference

Abstract base class for scatter/gather buffer, root component. More...

#include <mpisgbuf.h>

Inheritance diagram for AMPISGBufferRoot:
Inheritance graph
[legend]

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

Detailed Description

Abstract base class for scatter/gather buffer, root component.

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

AMPISGBufferRoot::AMPISGBufferRoot ( MPI_Comm  comm)

Constructor for AMPISGBufferRoot

Parameters
commthe MPI communicator

References m_comm, m_dbl_increment, m_rank, and m_size.


The documentation for this class was generated from the following files: