ESyS-Particle  2.3.2
VectorTriangleFieldMaster.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 __VECTORTRIANGLEFIELDMASTER_H
14 #define __VECTORTRIANGLEFIELDMASTER_H
15 
16 //--- project includes ---
17 #include "FieldMaster.h"
18 #include "vec3.h"
19 
20 //--- STL includes ---
21 #include <map>
22 using std::map;
23 
33 {
34  protected:
35  map<int,Vec3> m_data; // id,value
36 
37  virtual void writeAsDX();
38  virtual void writeAsRAW();
39  virtual void writeAsSUM(){};
40  virtual void writeAsMAX(){};
41  virtual void writeAsRAW_SERIES(){};
42 
43  void collectFull();
44  void collectFullDX();
45 
46  public:
47  VectorTriangleFieldMaster(TML_Comm*,const string&,const string&,const string&,const string&,int,int,int);
49 
50  virtual void collect();
51  virtual void write();
52 };
53 
54 #endif //__VECTORTRIANGLEFIELDMASTER_H