ESyS-Particle  4.0.1
Public Member Functions | Protected Member Functions | Protected Attributes
CRoughPaddedBlock3D Class Reference

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>

Inheritance diagram for CRoughPaddedBlock3D:
Inheritance graph
[legend]
Collaboration diagram for CRoughPaddedBlock3D:
Collaboration graph
[legend]

List of all members.

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)

Protected Member Functions

virtual RectPatch getClosestPatch (const SimpleParticle &, double)
virtual Plane getClosestPlane (const SimpleParticle &)

Protected Attributes

double m_rough_xres
double m_rough_yres
double m_rough_depth
double m_rough_prob
vector< RectPatchm_fault

Detailed Description

Class for the generation of a 3D lattice with a random middle section and random rough/smooth sections of the fault surface.

Author:
Steffen Abe
Revision:
Date:

Constructor & Destructor Documentation

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

Parameters:
xminminimum in x-direction
xmaxmaximum in x-direction
yminminimum in y-direction
ymaxmaximum in y-direction
zminminimum in z-direction
zmaxmaximum in z-direction
rminminimum particle radius
rmaxmaximum particle radius
ysplit
pad
circ_x

Member Function Documentation

bool CRoughPaddedBlock3D::checkAFit ( const SimpleParticle P) [virtual]

check if Po is within the Space and is not crossing any boundary or overlapping with other particles.

Parameters:
Pothe particle

Reimplemented from ARandomAssembly3D.

Referenced by generate().

Here is the caller graph for this function:

void CRoughPaddedBlock3D::generate ( int  tries,
unsigned int  seed 
) [virtual]

generate the particle packing

Parameters:
triesnumber of attempts to insert particle before giving up
seedrandom seed

Reimplemented from CPaddedBlock3D.

References checkAFit(), ARandomAssembly3D::fillSpace(), CPaddedBlock3D::generate_regular_padding(), CRandomBlock3D::insertParticle(), ARandomAssembly::m_random(), ARandomAssembly3D::m_rmax, and ARandomAssembly3D::m_zmax.

Here is the call graph for this function:

RectPatch CRoughPaddedBlock3D::getClosestPatch ( const SimpleParticle Po,
double  sep0 
) [protected, virtual]

Get closest fault patch

Parameters:
Pothe particle

References RectPatch::sep().

Referenced by getClosestPlane().

Here is the call graph for this function:

Here is the caller graph for this function:

Plane CRoughPaddedBlock3D::getClosestPlane ( const SimpleParticle Po) [protected, virtual]

Get closest plane

Parameters:
Pothe particle

Reimplemented from ARandomAssembly3D.

References getClosestPatch(), RectPatch::getPlane(), RectPatch::sep(), and Plane::sep().

Here is the call graph for this function:

void CRoughPaddedBlock3D::setRoughness ( int  nx,
int  nz,
double  depth,
double  prob 
)

setup fault roughness

Parameters:
nxx-resolution
nzz-resolution
depthamount of roughness in the rough patches
probprobability of a patch to be rough

References ARandomAssembly::m_random(), and ARandomAssembly3D::m_zmax.

Here is the call graph for this function:


The documentation for this class was generated from the following files: