ESyS-Particle  2.3.2
esys::lsm::GougeBlock3D Class Reference

Block consisting of regular padding, random layer and gouge. More...

#include <GougeBlock3D.h>

Inheritance diagram for esys::lsm::GougeBlock3D:
Collaboration diagram for esys::lsm::GougeBlock3D:

Public Types

typedef SimpleParticle Particle
typedef CircularNeighbourTable
< SimpleParticle
NTable
typedef boost::shared_ptr< NTableNTablePtr
typedef boost::shared_ptr
< BlockGenerator
GeneratorPtr
typedef std::vector< GeneratorPtrGeneratorPtrVector
typedef NTable::ParticlePool ParticlePool
typedef NTable::ParticlePoolPtr ParticlePoolPtr
typedef std::set
< BasicInteraction, BILess
InteractionSet

Public Member Functions

 GougeBlock3D (const GougeBlockPrms &prms)
virtual ~GougeBlock3D ()
virtual void generate ()
int getNumParticles () const
const GeneratorPtrVectorgetGougeGeneratorVector () const
const GeneratorPtrVectorgetFaultGeneratorVector () const
bool isGougeParticle (const SimpleParticle &particle) const
bool areInDifferentFaultBlocks (const SimpleParticle &p1, const SimpleParticle &p2) const
virtual void write (std::ostream &oStream) const
void writeToFile (const std::string &fileName) const
void tagGougeParticles (int tag)
void tagFaultParticles (int tag)
void tagDrivingPlateParticles (int minDrivingTag, int maxDrivingTag, double distanceFromBBoxEdge)
virtual void createInteractionSet ()
const InteractionSetgetInteractionSet () const
template<typename TmplVisitor >
void visitParticles (TmplVisitor &visitor)
template<typename TmplVisitor >
void visitParticles (const TmplVisitor &visitor) const
template<typename TmplVisitor >
void visitInteractions (TmplVisitor &visitor) const
const GougeBlockPrmsgetPrms () const

Protected Member Functions

void createRegularBlockGenerators ()
void createFaultBlockGenerators ()
virtual void createGougeBlockGenerators ()

Protected Attributes

NTablePtr m_nTablePtr
GougeBlockPrms m_prms
InteractionSet m_interactionSet
GeneratorPtrVector m_gougeGenPtrVector
GeneratorPtrVector m_genPtrVector
ParticlePoolPtr m_particlePoolPtr

Private Attributes

GeneratorPtrVector m_regularGenPtrVector
GeneratorPtrVector m_faultGenPtrVector

Detailed Description

Block consisting of regular padding, random layer and gouge.

Member Typedef Documentation

typedef boost::shared_ptr<NTable> esys::lsm::GougeBlock3D::NTablePtr

Constructor & Destructor Documentation

esys::lsm::GougeBlock3D::~GougeBlock3D ( )
virtual

Member Function Documentation

bool esys::lsm::GougeBlock3D::areInDifferentFaultBlocks ( const SimpleParticle p1,
const SimpleParticle p2 
) const

References getFaultGeneratorVector().

Referenced by esys::lsm::GranularInteractionValidator::isValid(), and esys::lsm::InteractionValidator::isValid().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::GougeBlock3D::createFaultBlockGenerators ( )
protected
void esys::lsm::GougeBlock3D::createGougeBlockGenerators ( )
protectedvirtual
void esys::lsm::GougeBlock3D::createInteractionSet ( )
virtual
void esys::lsm::GougeBlock3D::createRegularBlockGenerators ( )
protected
const GougeBlock3D::GeneratorPtrVector & esys::lsm::GougeBlock3D::getFaultGeneratorVector ( ) const

References m_faultGenPtrVector.

Referenced by areInDifferentFaultBlocks().

Here is the caller graph for this function:

const GougeBlock3D::GeneratorPtrVector & esys::lsm::GougeBlock3D::getGougeGeneratorVector ( ) const

References m_gougeGenPtrVector.

Referenced by isGougeParticle().

Here is the caller graph for this function:

const GougeBlock3D::InteractionSet & esys::lsm::GougeBlock3D::getInteractionSet ( ) const

References m_interactionSet.

Referenced by visitInteractions(), and write().

Here is the caller graph for this function:

int esys::lsm::GougeBlock3D::getNumParticles ( ) const

References m_genPtrVector.

const GougeBlockPrms& esys::lsm::GougeBlock3D::getPrms ( ) const
inline

References m_prms.

bool esys::lsm::GougeBlock3D::isGougeParticle ( const SimpleParticle particle) const

References getGougeGeneratorVector().

Referenced by esys::lsm::GranularInteractionValidator::isValid(), and esys::lsm::InteractionValidator::isValid().

Here is the call graph for this function:

Here is the caller graph for this function:

void esys::lsm::GougeBlock3D::tagFaultParticles ( int  tag)
void esys::lsm::GougeBlock3D::tagGougeParticles ( int  tag)
template<typename TmplVisitor >
void esys::lsm::GougeBlock3D::visitInteractions ( TmplVisitor &  visitor) const
inline

References getInteractionSet().

Referenced by write().

Here is the call graph for this function:

Here is the caller graph for this function:

template<typename TmplVisitor >
void esys::lsm::GougeBlock3D::visitParticles ( TmplVisitor &  visitor)
inline
template<typename TmplVisitor >
void esys::lsm::GougeBlock3D::visitParticles ( const TmplVisitor &  visitor) const
inline
void esys::lsm::GougeBlock3D::writeToFile ( const std::string &  fileName) const

References write().

Here is the call graph for this function:

Member Data Documentation

GeneratorPtrVector esys::lsm::GougeBlock3D::m_faultGenPtrVector
private
GeneratorPtrVector esys::lsm::GougeBlock3D::m_regularGenPtrVector
private

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