ESyS-Particle  2.3.4
InteractionFieldSlave< T > Class Template Referenceabstract

abstract base class for slave part of scalar field defined on the interactions More...

#include <InteractionFieldSlave.h>

Inheritance diagram for InteractionFieldSlave< T >:
Collaboration diagram for InteractionFieldSlave< T >:

Public Member Functions

 InteractionFieldSlave (TML_Comm *, TParallelInteractionStorage< T > *)
 
virtual void sendData ()
 
- Public Member Functions inherited from AFieldSlave
 AFieldSlave (TML_Comm *)
 
virtual ~AFieldSlave ()
 

Protected Member Functions

virtual void SendDataFull ()=0
 
virtual void SendDataFull2 ()=0
 
virtual void SendDataWithID ()=0
 
virtual void SendDataWithPosID ()
 
virtual void SendDataSum ()=0
 
virtual void SendDataMax ()=0
 

Protected Attributes

TParallelInteractionStorage< T > * m_pis
 
- Protected Attributes inherited from AFieldSlave
TML_Commm_comm
 

Detailed Description

template<typename T>
class InteractionFieldSlave< T >

abstract base class for slave part of scalar field defined on the interactions

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ InteractionFieldSlave()

template<typename T >
InteractionFieldSlave< T >::InteractionFieldSlave ( TML_Comm comm,
TParallelInteractionStorage< T > *  pis 
)

Member Function Documentation

◆ sendData()

template<typename T >
void InteractionFieldSlave< T >::sendData
virtual

Send data back to master. Determine the type of data (full/sum) to send back from the received coll_type and call the sendDataFull or sendDataSum.

Implements AFieldSlave.

References COLL_TYPE_FULL, COLL_TYPE_FULL2, COLL_TYPE_FULL_WITH_ID, COLL_TYPE_FULL_WITH_POS_ID, COLL_TYPE_MAX, COLL_TYPE_SUM, console, and Console::XDebug().

Here is the call graph for this function:

◆ SendDataFull()

◆ SendDataFull2()

template<typename T >
virtual void InteractionFieldSlave< T >::SendDataFull2 ( )
protectedpure virtual

◆ SendDataMax()

◆ SendDataSum()

◆ SendDataWithID()

template<typename T >
virtual void InteractionFieldSlave< T >::SendDataWithID ( )
protectedpure virtual

◆ SendDataWithPosID()

template<typename T >
void InteractionFieldSlave< T >::SendDataWithPosID
protectedvirtual

Dummy implementation for SendDataWithPosID - does nothing except writing an error message to stderr.

Reimplemented in VectorInteractionFieldSlave< T >, and ScalarInteractionFieldSlave< T >.

Member Data Documentation

◆ m_pis

template<typename T >
TParallelInteractionStorage<T>* InteractionFieldSlave< T >::m_pis
protected

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