OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
oofem::GeometryGenerator Class Reference

Generate random geometry of particles and links for CQ simulation. More...

#include <geometrygenerator.h>

Public Member Functions

 GeometryGenerator ()
 
virtual ~GeometryGenerator ()
 
IRResultType initializeParticleGenerator (InputRecord *ir)
 
void generateParticles ()
 
void loadParticles ()
 
bool CheckDistances (double R, FloatArray coords, int n)
 
IRResultType initializeLinkGenerator (InputRecord *ir)
 
void generateLinks ()
 
void loadLinks ()
 
virtual const char * giveClassName () const
 

Protected Attributes

int nop
 
int nol
 
std::vector< FloatArrayParticles
 
std::vector< IntArrayLinks
 
double ParticleRadius
 
int maxNumOfParticles
 
int maxNumOfIterations
 
int maxNumOfItOnePar
 

Detailed Description

Generate random geometry of particles and links for CQ simulation.

Definition at line 54 of file geometrygenerator.h.

Constructor & Destructor Documentation

oofem::GeometryGenerator::GeometryGenerator ( )

Definition at line 41 of file geometrygenerator.C.

oofem::GeometryGenerator::~GeometryGenerator ( )
virtual

Definition at line 46 of file geometrygenerator.C.

Member Function Documentation

bool oofem::GeometryGenerator::CheckDistances ( double  R,
FloatArray  coords,
int  n 
)

Definition at line 144 of file geometrygenerator.C.

References oofem::FloatArray::distance_square(), and Particles.

void oofem::GeometryGenerator::generateLinks ( )

Definition at line 179 of file geometrygenerator.C.

Referenced by oofem::QClinearStatic::initializeFrom().

void oofem::GeometryGenerator::generateParticles ( )

Definition at line 76 of file geometrygenerator.C.

Referenced by oofem::QClinearStatic::initializeFrom().

virtual const char* oofem::GeometryGenerator::giveClassName ( ) const
inlinevirtual

Definition at line 86 of file geometrygenerator.h.

IRResultType oofem::GeometryGenerator::initializeLinkGenerator ( InputRecord ir)

Definition at line 171 of file geometrygenerator.C.

References oofem::IRRT_OK.

Referenced by oofem::QClinearStatic::initializeFrom().

void oofem::GeometryGenerator::loadLinks ( )

Definition at line 184 of file geometrygenerator.C.

Referenced by oofem::QClinearStatic::initializeFrom().

void oofem::GeometryGenerator::loadParticles ( )

Definition at line 167 of file geometrygenerator.C.

Referenced by oofem::QClinearStatic::initializeFrom().

Member Data Documentation

std::vector<IntArray> oofem::GeometryGenerator::Links
protected

Definition at line 62 of file geometrygenerator.h.

int oofem::GeometryGenerator::maxNumOfIterations
protected

Definition at line 67 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

int oofem::GeometryGenerator::maxNumOfItOnePar
protected

Definition at line 68 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

int oofem::GeometryGenerator::maxNumOfParticles
protected

Definition at line 66 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

int oofem::GeometryGenerator::nol
protected

Definition at line 60 of file geometrygenerator.h.

int oofem::GeometryGenerator::nop
protected

Definition at line 59 of file geometrygenerator.h.

double oofem::GeometryGenerator::ParticleRadius
protected

Definition at line 65 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

std::vector<FloatArray> oofem::GeometryGenerator::Particles
protected

Definition at line 61 of file geometrygenerator.h.

Referenced by CheckDistances().


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

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:36 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011