GenGeo  1.1
granular_gouge.cc File Reference
#include "granular_gouge.h"
#include "BoxWithPlanes3D.h"
#include "TriBox.h"
#include "Plane.h"
#include "MNTable3D.h"
#include "SphereVol.h"
#include "src/InsertGenerator3D.h"
Include dependency graph for granular_gouge.cc:

Functions

void generate_upper_rough_block (MNTable3D *NT, AGenerator3D *G, double xt, double yt, double zt, double y0, int nr, double yr)
void generate_lower_rough_block (MNTable3D *NT, AGenerator3D *G, double xt, double yt, double zt, double y0, int nr, double yr)
void generate_upper_tri_rough_block (MNTable3D *NT, AGenerator3D *G, double xt, double yt, double zt, double y0, int nr, double yr)
void generate_lower_tri_rough_block (MNTable3D *NT, AGenerator3D *G, double xt, double yt, double zt, double y0, int nr, double yr)
void generate_granular_gouge (MNTable3D *NT, AGenerator3D *G, const Vector3 &Pmin, const Vector3 &Pmax, double grmin, double grmax, int gntry)

Function Documentation

void generate_granular_gouge ( MNTable3D NT,
AGenerator3D G,
const Vector3 Pmin,
const Vector3 Pmax,
double  grmin,
double  grmax,
int  gntry 
)

generate spherical grains in the middle

Parameters
NT
G
Pminminimum corner of the gouge box
Pmaxmaximum corner of the gouge box
grminminimun grain radius
grmaxmaximum grain radius
gntrynr. of tries for grain fitting

References MNTable3D::generateBonds(), AGenerator3D::generatePacking(), InsertGenerator3D::generatePacking(), MNTable3D::getAllSpheresFromGroup(), and MNTable3D::GrowNGroups().

Referenced by main().

Here is the call graph for this function:

void generate_lower_rough_block ( MNTable3D NT,
AGenerator3D G,
double  xt,
double  yt,
double  zt,
double  y0,
int  nr,
double  yr 
)
Parameters
NT
G
xttotal x-dim
yttotal y-dim
zttotal z-dim
y0y-offset
nrnr raised ridges
yrheight of ridges

References BoxWithPlanes3D::addPlane(), and AGenerator3D::generatePacking().

Here is the call graph for this function:

void generate_lower_tri_rough_block ( MNTable3D NT,
AGenerator3D G,
double  xt,
double  yt,
double  zt,
double  y0,
int  nr,
double  yr 
)
Parameters
NT
G
xttotal x-dim
yttotal y-dim
zttotal z-dim
y0y-offset
nrnr raised ridges
yrheight of ridges

References TriBox::addPlane(), BoxWithPlanes3D::addPlane(), AGenerator3D::generatePacking(), and MNTable3D::tagParticlesAlongPlane().

Referenced by main().

Here is the call graph for this function:

void generate_upper_rough_block ( MNTable3D NT,
AGenerator3D G,
double  xt,
double  yt,
double  zt,
double  y0,
int  nr,
double  yr 
)
Parameters
NT
G
xttotal x-dim
yttotal y-dim
zttotal z-dim
y0y-offset
nrnr raised ridges
yrheight of ridges

References BoxWithPlanes3D::addPlane(), and AGenerator3D::generatePacking().

Here is the call graph for this function:

void generate_upper_tri_rough_block ( MNTable3D NT,
AGenerator3D G,
double  xt,
double  yt,
double  zt,
double  y0,
int  nr,
double  yr 
)
Parameters
NT
G
xttotal x-dim
yttotal y-dim
zttotal z-dim
y0y-offset
nrnr raised ridges
yrheight of ridges

References TriBox::addPlane(), BoxWithPlanes3D::addPlane(), AGenerator3D::generatePacking(), and MNTable3D::tagParticlesAlongPlane().

Referenced by main().

Here is the call graph for this function: