ESyS-Particle  4.0.1
ScalarInteractionFieldSlaveTagged.h
1 
2 // //
3 // Copyright (c) 2003-2011 by The University of Queensland //
4 // Earth Systems Science Computational Centre (ESSCC) //
5 // http://www.uq.edu.au/esscc //
6 // //
7 // Primary Business: Brisbane, Queensland, Australia //
8 // Licensed under the Open Software License version 3.0 //
9 // http://www.opensource.org/licenses/osl-3.0.php //
10 // //
12 
13 #ifndef __SCALAR_INTERACTION_FIELD_SLAVE_TAGGED_H
14 #define __SCALAR_INTERACTION_FIELD_SLAVE_TAGGED_H
15 
16 // -- project includes --
17 #include "ScalarInteractionFieldSlave.h"
18 
19 template <typename I> class TParallelInteractionStorage;
20 class TML_Comm;
21 
30 template <typename T>
32 {
33  private:
34  virtual void SendDataFull();
35  virtual void SendDataSum();
36  virtual void SendDataMax();
37 
38  protected:
39  int m_tag;
40  int m_mask;
41 
42  public:
43  ScalarInteractionFieldSlaveTagged(TML_Comm*,TParallelInteractionStorage<T>*,typename T::ScalarFieldFunction,int,int);
44 };
45 
46 #include "ScalarInteractionFieldSlaveTagged.hpp"
47 
48 #endif //__SCALAR_INTERACTION_FIELD_SLAVE_TAGGED_H