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