ESyS-Particle  2.3.2
WallFieldMaster.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 __WALLFIELDMASTER_H
14 #define __WALLFIELDMASTER_H
15 
16 // --- project includes ---
17 #include "FieldMaster.h"
18 #include "vec3.h"
19 
20 // --- STL includes ---
21 #include <vector>
22 #include <map>
23 
24 using std::vector;
25 using std::map;
26 
27 class TML_Comm;
28 
37 {
38  protected:
39  virtual void writeAsRAW_SERIES();
40  virtual void writeAsSILO();
41  map<int,Vec3> m_data;
42  int m_sum_flag; // decides if field is sum of all slaves (force...) or not (pos...)
43 
44  public:
45  VectorWallFieldMaster(TML_Comm*,const string&,const string&,vector<string>,const string&,int,int,int);
47 
48  virtual void collect();
49 };
50 #endif // __WALLFIELDMASTER_H