GenGeo  1.1
Model2D.h
Go to the documentation of this file.
1 
2 // //
3 // Copyright (c) 2007-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 __MODEL2D_H
14 #define __MODEL2D_H
15 
16 // --- Project includes ---
17 #include "src/MNTable2D.h"
18 #include "src/AParticleGroup.h"
19 #include "util/vector3.h"
20 
21 // --- STL includes ---
22 #include <list>
23 #include <string>
24 
25 using std::list;
26 using std::string;
31 class Model2D
32 {
33  private:
35  list<AParticleGroup*> m_pgroups;
38  int m_ngroups;
39  int m_max_gid;
40 
41  public:
42  Model2D(const Vector3&,const Vector3&,double);
43  ~Model2D();
44 
45  int AddParticleGroup(AParticleGroup*);
46 
47  void WriteAsGeoFile(const string&);
48 };
49 
50 
51 #endif // __MODEL2D_H