ESyS-Particle  2.3.2
CheckedScalarInteractionFieldSlave.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2003-2014 by The University of Queensland //
4 // Centre for Geoscience Computing //
5 // http://earth.uq.edu.au/centre-geoscience-computing //
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 __CHECKED_SCALAR_INTERACTION_FIELD_SLAVE_H
14 #define __CHECKED_SCALAR_INTERACTION_FIELD_SLAVE_H
15 
16 // -- project includes --
17 #include "InteractionFieldSlave.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 SendDataFull2();
36  virtual void SendDataWithID();
37  virtual void SendDataSum();
38  virtual void SendDataMax();
39 
40  protected:
41  typename T::CheckedScalarFieldFunction m_rdf;
42 
43  public:
44  CheckedScalarInteractionFieldSlave(TML_Comm*,TParallelInteractionStorage<T>*,typename T::CheckedScalarFieldFunction);
45 };
46 
48 
49 #endif //__CHECKED_SCALAR_INTERACTION_FIELD_SLAVE_H