ESyS-Particle  2.3.4
RoughPaddedBlock3d.h
Go to the documentation of this file.
1 // //
3 // Copyright (c) 2003-2017 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.apache.org/licenses/LICENSE-2.0 //
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
SimpleParticle::getRad
double getRad() const
Definition: SimpleParticle.hpp:70
CRoughPaddedBlock3D::setRoughness
void setRoughness(int, int, double, double)
Definition: RoughPaddedBlock3d.cpp:93
RectPatch::sep
double sep(const Vec3 &)
Definition: RectPatch.cpp:45
RoughPaddedBlock3d.h
Plane3D.h
ARandomAssembly3D::checkAFit
virtual bool checkAFit(const SimpleParticle &)
Definition: RandomAssembly3D.cpp:129
RectPatch.h
CRoughPaddedBlock3D::m_rough_depth
double m_rough_depth
Definition: RoughPaddedBlock3d.h:37
CRoughPaddedBlock3D
Class for the generation of a 3D lattice with a random middle section and random rough/smooth section...
Definition: RoughPaddedBlock3d.h:34
ARandomAssembly3D::m_zmax
double m_zmax
x,y,z borders of the lattice
Definition: RandomAssembly3D.h:42
CRoughPaddedBlock3D::m_fault
vector< RectPatch > m_fault
Definition: RoughPaddedBlock3d.h:40
ARandomAssembly::m_bpart
vector< SimpleParticle > m_bpart
Definition: ARandomAssembly.h:47
ARandomAssembly3D::fillSpace
void fillSpace(int)
Definition: RandomAssembly3D.cpp:176
ARandomAssembly3D::m_rmax
double m_rmax
min/max particle radius
Definition: RandomAssembly3D.h:41
ARandomAssembly3D::Borders
vector< Plane3D > Borders
Definition: RandomAssembly3D.h:40
CRoughPaddedBlock3D::generate
virtual void generate(int)
Definition: RoughPaddedBlock3d.cpp:141
SimpleParticle::getPos
const Vec3 & getPos() const
Definition: SimpleParticle.hpp:30
ARandomAssembly3D::m_xmin
double m_xmin
Definition: RandomAssembly3D.h:42
ARandomAssembly3D::getClosestPlane
virtual Plane3D getClosestPlane(const SimpleParticle &)
Definition: RandomAssembly3D.cpp:31
CRoughPaddedBlock3D::m_rough_prob
double m_rough_prob
Definition: RoughPaddedBlock3d.h:38
ARandomAssembly3D::m_ymin
double m_ymin
Definition: RandomAssembly3D.h:42
CRoughPaddedBlock3D::getClosestPatch
virtual RectPatch getClosestPatch(const SimpleParticle &, double)
Definition: RoughPaddedBlock3d.cpp:41
CRandomBlock3D::getNParts
virtual int getNParts() const
Definition: RandomBlock3D.h:47
ARandomAssembly3D::m_xmax
double m_xmax
Definition: RandomAssembly3D.h:42
CRandomBlock3D::insertParticle
virtual void insertParticle(const SimpleParticle)
Definition: RandomBlock3D.cpp:134
Plane3D
Class representing a Plane3D.
Definition: Plane3D.h:29
SimpleParticle
Definition: SimpleParticle.h:25
PaddedBlock3D.h
Plane3D::sep
virtual double sep(const Vec3 &) const
Definition: Plane3D.cpp:87
CSplitBlock3D::m_dir
int m_dir
Definition: SplitBlock3D.h:32
ARandomAssembly3D::m_rmin
double m_rmin
Definition: RandomAssembly3D.h:41
CRoughPaddedBlock3D::m_rough_yres
double m_rough_yres
Definition: RoughPaddedBlock3d.h:36
CRoughPaddedBlock3D::m_rough_xres
double m_rough_xres
Definition: RoughPaddedBlock3d.h:36
ARandomAssembly3D::m_zmin
double m_zmin
Definition: RandomAssembly3D.h:42
ASimpleNTable::getInteractions
virtual void getInteractions(set< BasicInteraction, BILess > &, double)=0
ARandomAssembly::m_snt
ASimpleNTable * m_snt
Definition: ARandomAssembly.h:44
ARandomAssembly::m_iset
set< BasicInteraction, BILess > m_iset
Definition: ARandomAssembly.h:46
CPaddedBlock3D::generate_regular_padding
void generate_regular_padding()
Definition: PaddedBlock3D.cpp:64
ARandomAssembly::m_random
double m_random(double, double)
Definition: ARandomAssembly.cpp:36
CRoughPaddedBlock3D::~CRoughPaddedBlock3D
virtual ~CRoughPaddedBlock3D()
Definition: RoughPaddedBlock3d.h:47
RandomAssembly3D.h
Vec3
Definition: vec3.h:47
esys::lsm::bpu::iter
boost::python::object iter(const boost::python::object &pyOb)
Definition: Util.h:25
RectPatch::getPlane
Plane3D getPlane(const Vec3 &)
Definition: RectPatch.cpp:97
CPaddedBlock3D::m_pad_size
double m_pad_size
Definition: PaddedBlock3D.h:33
CPaddedBlock3D
Class for the generation of a 3D lattice with a random middle section in a rectangular area.
Definition: PaddedBlock3D.h:31
CRoughPaddedBlock3D::CRoughPaddedBlock3D
CRoughPaddedBlock3D(double, double, double, double, double, double, double, double, double, double, bool circ_x=false)
Definition: RoughPaddedBlock3d.cpp:73
ARandomAssembly3D::m_ymax
double m_ymax
Definition: RandomAssembly3D.h:42
RectPatch
Definition: RectPatch.h:23
CSplitBlock3D::m_ysplit
double m_ysplit
Definition: SplitBlock3D.h:31
CRoughPaddedBlock3D::checkAFit
virtual bool checkAFit(const SimpleParticle &)
Definition: RoughPaddedBlock3d.cpp:120
CRoughPaddedBlock3D::getClosestPlane
virtual Plane3D getClosestPlane(const SimpleParticle &)
Definition: RoughPaddedBlock3d.cpp:21