ESyS-Particle  2.3
ScalarInteractionFieldSlave< T > Class Template Reference

class for slave part of scalar field defined on the particles More...

#include <ScalarInteractionFieldSlave.h>

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

Public Member Functions

 ScalarInteractionFieldSlave (TML_Comm *, TParallelInteractionStorage< T > *, typename T::ScalarFieldFunction)
 
- Public Member Functions inherited from InteractionFieldSlave< T >
 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 ()
 
virtual void SendDataFull2 ()
 
virtual void SendDataWithID ()
 
virtual void SendDataWithPosID ()
 
virtual void SendDataSum ()
 
virtual void SendDataMax ()
 

Protected Attributes

T::ScalarFieldFunction m_rdf
 
- Protected Attributes inherited from InteractionFieldSlave< T >
TParallelInteractionStorage< T > * m_pis
 
- Protected Attributes inherited from AFieldSlave
TML_Commm_comm
 

Detailed Description

template<typename T>
class ScalarInteractionFieldSlave< T >

class for slave part of scalar field defined on the particles

class for slave part of scalar field defined on the interactions

class for slave part of vector field defined on the particles

Author
Steffen Abe $Revision$ $Date$
Steffen Abe
Revision
450
Date
2004-10-04 06:51:59 +0100 (Mon, 04 Oct 2004)

Constructor & Destructor Documentation

template<typename T >
ScalarInteractionFieldSlave< T >::ScalarInteractionFieldSlave ( TML_Comm comm,
TParallelInteractionStorage< T > *  pis,
typename T::ScalarFieldFunction  rdf 
)

constructor

Parameters
commthe TML communicator used for sending the data back to the master
pisa pointer to the interaction storage
rdfthe particle member function to access the data

References ScalarInteractionFieldSlave< T >::m_rdf.

Member Function Documentation

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataFull ( )
protectedvirtual

send full field data and position of the interaction

Implements InteractionFieldSlave< T >.

Reimplemented in ScalarInteractionFieldSlaveTagged< T >.

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataFull2 ( )
protectedvirtual

send full field data and position of the interaction

Implements InteractionFieldSlave< T >.

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataMax ( )
protectedvirtual

send maximum only

Implements InteractionFieldSlave< T >.

Reimplemented in ScalarInteractionFieldSlaveTagged< T >.

References esys::lsm::bpu::iter().

Here is the call graph for this function:

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataSum ( )
protectedvirtual

send sum only

Implements InteractionFieldSlave< T >.

Reimplemented in ScalarInteractionFieldSlaveTagged< T >.

References esys::lsm::bpu::iter().

Here is the call graph for this function:

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataWithID ( )
protectedvirtual

send full field data and position of the interaction

Implements InteractionFieldSlave< T >.

References console, and BasicCon::XDebug().

Here is the call graph for this function:

template<typename T >
void ScalarInteractionFieldSlave< T >::SendDataWithPosID ( )
protectedvirtual

send full field data, position of the interaction and pos. and Id of the particles. Data format is pid1, pid2, pos1, pos2, ipos, val

Reimplemented from InteractionFieldSlave< T >.

References console, and BasicCon::XDebug().

Here is the call graph for this function:

Member Data Documentation

template<typename T>
T::ScalarFieldFunction ScalarInteractionFieldSlave< T >::m_rdf
protected

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