ESyS-Particle  2.3.2
RoughPaddedBlock3d.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 __ROUGHPADDEDBLOCK3D_H
14 #define __ROUGHPADDEDBLOCK3D_H
15 
16 //-- project includes --
17 #include "Geometry/PaddedBlock3D.h"
18 #include "Geometry/Plane3D.h"
19 #include "Geometry/RectPatch.h"
20 
21 // --- STL includes ---
22 #include <vector>
23 
34 {
35  protected:
37  double m_rough_depth;
38  double m_rough_prob;
39 
40  vector<RectPatch> m_fault;
41 
42  virtual RectPatch getClosestPatch(const SimpleParticle&,double);
43  virtual Plane3D getClosestPlane(const SimpleParticle&);
44 
45  public:
46  CRoughPaddedBlock3D(double,double,double,double,double,double,double,double,double,double,bool circ_x=false);
47  virtual ~CRoughPaddedBlock3D(){};
48 
49  void setRoughness(int,int,double,double);
50 
51  virtual bool checkAFit(const SimpleParticle&) ;
52  //virtual void generate(int,unsigned int);
53  virtual void generate(int);
54 /* virtual void tagSplit(int,int,double); */
55 };
56 
57 #endif // __ROUGHPADDEDBLOCK3D_H