ESyS-Particle  2.3.4
AMPIBuffer Class Referenceabstract

Abstract base class for MPI send/recv buffer. More...

#include <mpibuf.h>

Inheritance diagram for AMPIBuffer:

Public Member Functions

 AMPIBuffer (MPI_Comm comm)
 
virtual ~AMPIBuffer ()
 
virtual void clear ()=0
 
virtual void append (int)=0
 
virtual void append (double)=0
 
virtual void append (const char *)=0
 
virtual void append (const Vec3 &)
 
virtual int pop_int ()=0
 
virtual double pop_double ()=0
 
virtual void pop_doubles (double *, int)=0
 
virtual std::string pop_string ()=0
 
virtual Vec3 pop_vector ()
 
const MPI_Status & status ()
 

Protected Attributes

MPI_Comm m_comm
 the MPI Communicator used for the send/recv operations More...
 
MPI_Status m_status
 

Detailed Description

Abstract base class for MPI send/recv buffer.

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ AMPIBuffer()

AMPIBuffer::AMPIBuffer ( MPI_Comm  comm)
inline

References m_comm.

◆ ~AMPIBuffer()

virtual AMPIBuffer::~AMPIBuffer ( )
inlinevirtual

Member Function Documentation

◆ append() [1/4]

virtual void AMPIBuffer::append ( const char *  )
pure virtual

◆ append() [2/4]

void AMPIBuffer::append ( const Vec3 V)
virtual

Reimplemented in CVarMPIBuffer.

References append(), Vec3::X(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

◆ append() [3/4]

virtual void AMPIBuffer::append ( double  )
pure virtual

◆ append() [4/4]

virtual void AMPIBuffer::append ( int  )
pure virtual

◆ clear()

virtual void AMPIBuffer::clear ( )
pure virtual

◆ pop_double()

◆ pop_doubles()

virtual void AMPIBuffer::pop_doubles ( double *  ,
int   
)
pure virtual

◆ pop_int()

◆ pop_string()

◆ pop_vector()

◆ status()

const MPI_Status& AMPIBuffer::status ( )
inline

References m_status.

Member Data Documentation

◆ m_comm

◆ m_status

MPI_Status AMPIBuffer::m_status
protected

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