|
ESyS-Particle
4.0.1
|
Class for the generation of a 3D lattice with a random middle section and random rough/smooth sections of the fault surface. More...
#include <RoughPaddedBlock3d.h>


Public Member Functions | |
| CRoughPaddedBlock3D (double, double, double, double, double, double, double, double, double, double, bool circ_x=false) | |
| void | setRoughness (int, int, double, double) |
| virtual bool | checkAFit (const SimpleParticle &) |
| virtual void | generate (int, unsigned int) |
Public Member Functions inherited from CPaddedBlock3D | |
| CPaddedBlock3D (double, double, double, double, double, double, double, double, double, double, int, bool circ_x=false) | |
Public Member Functions inherited from CSplitBlock3D | |
| CSplitBlock3D (double, double, double, double, double, double, double, double, double, int, bool circ_x=false, bool rough=false) | |
| virtual void | tagSplit (int, int, double) |
Public Member Functions inherited from CRandomBlock3D | |
| CRandomBlock3D (double, double, double, double, double, double, double, double, double, bool, bool is_bonded=true) | |
| virtual void | insertParticle (const SimpleParticle) |
| virtual void | tagParticleClosestTo (const Vec3 &, int) |
| virtual void | tagEdgeY (int, int, double) |
| virtual void | tagEdgeZ (int, int, double) |
| virtual void | writeToGeoFile (const string &) |
| virtual double | calcPorosity () |
| virtual vector< pair< double, double > > | getSizeDistribution (int) |
Protected Member Functions | |
| virtual RectPatch | getClosestPatch (const SimpleParticle &, double) |
| virtual Plane | getClosestPlane (const SimpleParticle &) |
Protected Member Functions inherited from CPaddedBlock3D | |
| virtual Vec3 | getAPoint () |
| void | generate_regular_padding () |
Protected Attributes | |
| double | m_rough_xres |
| double | m_rough_yres |
| double | m_rough_depth |
| double | m_rough_prob |
| vector< RectPatch > | m_fault |
Protected Attributes inherited from CPaddedBlock3D | |
| double | m_pad_size |
Protected Attributes inherited from CSplitBlock3D | |
| double | m_ysplit |
| int | m_dir |
Protected Attributes inherited from CRandomBlock3D | |
| double | m_maxConnDist |
Protected Attributes inherited from ARandomAssembly3D | |
| vector< Plane > | Borders |
| double | m_rmin |
| double | m_rmax |
| min/max particle radius | |
| double | m_xmin |
| double | m_xmax |
| double | m_ymin |
| double | m_ymax |
| double | m_zmin |
| double | m_zmax |
| x,y,z borders of the lattice | |
| bool | m_circ_x |
Protected Attributes inherited from ARandomAssembly | |
| ASimpleNTable * | m_snt |
| set< BasicInteraction, BILess > | m_iset |
| vector< SimpleParticle > | m_bpart |
Class for the generation of a 3D lattice with a random middle section and random rough/smooth sections of the fault surface.
| CRoughPaddedBlock3D::CRoughPaddedBlock3D | ( | double | xmin, |
| double | xmax, | ||
| double | ymin, | ||
| double | ymax, | ||
| double | zmin, | ||
| double | zmax, | ||
| double | rmin, | ||
| double | rmax, | ||
| double | ysplit, | ||
| double | pad, | ||
| bool | circ_x = false |
||
| ) |
Constructor of CPaddedBlock3d
| xmin | minimum in x-direction |
| xmax | maximum in x-direction |
| ymin | minimum in y-direction |
| ymax | maximum in y-direction |
| zmin | minimum in z-direction |
| zmax | maximum in z-direction |
| rmin | minimum particle radius |
| rmax | maximum particle radius |
| ysplit | |
| pad | |
| circ_x |
|
virtual |
check if Po is within the Space and is not crossing any boundary or overlapping with other particles.
| Po | the particle |
Reimplemented from ARandomAssembly3D.
Referenced by generate().

|
virtual |
generate the particle packing
| tries | number of attempts to insert particle before giving up |
| seed | random seed |
Reimplemented from CPaddedBlock3D.
References checkAFit(), ARandomAssembly3D::fillSpace(), CPaddedBlock3D::generate_regular_padding(), CRandomBlock3D::insertParticle(), ARandomAssembly::m_random(), ARandomAssembly3D::m_rmax, and ARandomAssembly3D::m_zmax.

|
protectedvirtual |
Get closest fault patch
| Po | the particle |
References RectPatch::sep().
Referenced by getClosestPlane().


|
protectedvirtual |
Get closest plane
| Po | the particle |
Reimplemented from ARandomAssembly3D.
References getClosestPatch(), RectPatch::getPlane(), RectPatch::sep(), and Plane::sep().

| void CRoughPaddedBlock3D::setRoughness | ( | int | nx, |
| int | nz, | ||
| double | depth, | ||
| double | prob | ||
| ) |
setup fault roughness
| nx | x-resolution |
| nz | z-resolution |
| depth | amount of roughness in the rough patches |
| prob | probability of a patch to be rough |
References ARandomAssembly::m_random(), and ARandomAssembly3D::m_zmax.

1.8.1