~esys-p-dev/esys-particle/trunk

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __VECTOR_PARTICLE_FIELD_SLAVE_TAGGED_H
#define __VECTOR_PARTICLE_FIELD_SLAVE_TAGGED__H

// -- project includes --
#include "VectorParticleFieldSlave.h"

class TML_Comm;

template <class T> class ParallelParticleArray;

/*!
  \class VectorParticleFieldSlaveTagged
  \brief class for slave part of scalar field defined on the particles

  \author Steffen Abe
  $Revision$
  $Date$
*/
template <typename T>
class VectorParticleFieldSlaveTagged : public VectorParticleFieldSlave<T>
{
 private:
  int m_tag,m_mask;

 protected: 
 public:
  VectorParticleFieldSlaveTagged(TML_Comm*,ParallelParticleArray<T>*,typename T::VectorFieldFunction,int,int);
  virtual void sendData();
};

#include "VectorParticleFieldSlaveTagged.hpp"

#endif //__SCALAR_PARTICLE_FIELD_SLAVE_TAGGED__H