ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes
AMPISGBufferLeaf Class Reference

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

#include <mpisgbuf.h>

Inheritance diagram for AMPISGBufferLeaf:
Inheritance graph
[legend]
Collaboration diagram for AMPISGBufferLeaf:
Collaboration graph
[legend]

List of all members.

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 ()
- Public Member Functions inherited from AMPIBuffer
 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
- Protected Attributes inherited from AMPIBuffer
MPI_Comm m_comm
 the MPI Communicator used for the send/recv operations
MPI_Status m_status

Detailed Description

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

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

AMPISGBufferLeaf::AMPISGBufferLeaf ( MPI_Comm  comm,
int  root 
)

Constuctor for AMPISGBufferLeaf

Parameters:
commthe MPI communicator
rootrank of the root process

References AMPIBuffer::m_comm, m_dbl_increment, and m_root.


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