GenGeo  1.1
InsertGenerator2D.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 __INSERTGENERATOR2D_H
14 #define __INSERTGENERATOR2D_H
15 
16 // --- Project includes ---
17 #include "AGenerator2D.h"
18 
25 {
26  protected:
27  double m_rmin;
28  double m_rmax;
29  double m_max_tries;
31  double m_prec;
33 
34  virtual void seedParticles(AVolume2D* ,MNTable2D* ,int,int);
35 
36  public:
38  InsertGenerator2D(double,double,int,int,double);
39  InsertGenerator2D(double,double,int,int,double,bool);
40  virtual ~InsertGenerator2D();
41 
42  void setOldSeeding(bool);
43  virtual void fillIn(AVolume2D* ,MNTable2D* ,int,int);
44  virtual void generatePacking (AVolume2D*,MNTable2D*,int,int);
45 
46  friend ostream& operator << (ostream&,const InsertGenerator2D&);
47 };
48 
49 #endif // __INSERTGENERATOR2D_H