ESyS-Particle  4.0.1
Public Member Functions
esys::lsm::GranularGougeBlock3D Class Reference

Class to generate a 3d block of material consisting of a granular gouge between two solid blocks. More...

#include <GranularGougeBlock3D.h>

Inheritance diagram for esys::lsm::GranularGougeBlock3D:
Inheritance graph
[legend]
Collaboration diagram for esys::lsm::GranularGougeBlock3D:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GranularGougeBlock3D (const GougeBlockPrms &prms)
virtual ~GranularGougeBlock3D ()
virtual void createInteractionSet ()
virtual void generate ()
virtual void generateGrains (double, double, double, double, double, double, int, int rm_threshold=0)

Detailed Description

Class to generate a 3d block of material consisting of a granular gouge between two solid blocks.

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

Constructor for GranularGougeBlock3D. Do nothing and call the base class constructor (GougeBlock3D)

Parameters:
prmsthe GougeBlock3D parameters

Destructor. No dynamically allocated data in class -> do nothing


Member Function Documentation

Create interaction set. Changed from base class by using a different validator which allows links between particles with the same tag, i.e. belonging to the same composite grain. Refactor ?

Reimplemented from esys::lsm::GougeBlock3D.

void esys::lsm::GranularGougeBlock3D::generateGrains ( double  sdx,
double  sdy,
double  sdz,
double  rdx,
double  rdy,
double  rdz,
int  min_tag,
int  rm_threshold = 0 
) [virtual]

Generate composite grains from the existing gouge particles by randomly distributing seed points within the gouge region, then tagging all particles closest to the same seed point with the same tag.

Warning:
currently assumes single gouge layer/generator
Parameters:
sdxseed density, i.e. average distance between seeds in x-direction
sdyseed density in y-direction
sdzseed density in z-direction
rdxrandom variation of seed points in x-direction
rdyrandom variation of seed points in y-direction
rdzrandom variation of seed points in z-direction
min_tagminimum tag to be used in order not to collide with allready used tags
rm_thresholdgrains with less then rm_threshold particles get removed. Defaults to 0

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