ESyS-Particle  2.3.4
ScalarParticleFieldSlave< T > Class Template Reference

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

#include <ScalarParticleFieldSlave.h>

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

Public Member Functions

 ScalarParticleFieldSlave (TML_Comm *, ParallelParticleArray< T > *, typename T::ScalarFieldFunction)
 
virtual void sendData ()
 
- Public Member Functions inherited from AFieldSlave
 AFieldSlave (TML_Comm *)
 
virtual ~AFieldSlave ()
 

Protected Attributes

T::ScalarFieldFunction m_rdf
 
ParallelParticleArray< T > * m_ppa
 
- Protected Attributes inherited from AFieldSlave
TML_Commm_comm
 

Private Member Functions

virtual void SendDataFull ()
 
virtual void SendDataSum ()
 
virtual void SendDataMax ()
 

Detailed Description

template<typename T>
class ScalarParticleFieldSlave< T >

class for slave part of scalar field defined on the particles

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ ScalarParticleFieldSlave()

template<typename T >
ScalarParticleFieldSlave< T >::ScalarParticleFieldSlave ( TML_Comm comm,
ParallelParticleArray< T > *  ppa,
typename T::ScalarFieldFunction  rdf 
)

constructor

Parameters
commthe TML communicator used for sending the data back to the master
ppaa pointer to the particle array
rdfthe particle member function to access the data

References ScalarParticleFieldSlave< T >::m_ppa, and ScalarParticleFieldSlave< T >::m_rdf.

Member Function Documentation

◆ sendData()

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

send data back to master

Implements AFieldSlave.

◆ SendDataFull()

template<typename T >
void ScalarParticleFieldSlave< T >::SendDataFull
privatevirtual

send full field date, position and size of the particles

Reimplemented in ScalarParticleFieldSlaveTagged< T >.

◆ SendDataMax()

template<typename T >
void ScalarParticleFieldSlave< T >::SendDataMax
privatevirtual

send maximum only

Reimplemented in ScalarParticleFieldSlaveTagged< T >.

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

Here is the call graph for this function:

◆ SendDataSum()

template<typename T >
void ScalarParticleFieldSlave< T >::SendDataSum
privatevirtual

send sum only

Reimplemented in ScalarParticleFieldSlaveTagged< T >.

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

Here is the call graph for this function:

Member Data Documentation

◆ m_ppa

◆ m_rdf

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

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