OOFEM 3.0
Loading...
Searching...
No Matches
oofem::GeometryGenerator Class Reference

#include <geometrygenerator.h>

Public Member Functions

 GeometryGenerator ()
virtual ~GeometryGenerator ()
void initializeParticleGenerator (InputRecord &ir)
void generateParticles ()
void loadParticles ()
bool CheckDistances (double R, FloatArray coords, int n)
void 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

◆ GeometryGenerator()

oofem::GeometryGenerator::GeometryGenerator ( )

Definition at line 41 of file geometrygenerator.C.

◆ ~GeometryGenerator()

oofem::GeometryGenerator::~GeometryGenerator ( )
virtual

Definition at line 46 of file geometrygenerator.C.

Member Function Documentation

◆ CheckDistances()

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

Definition at line 139 of file geometrygenerator.C.

References oofem::distance_square(), and Particles.

◆ generateLinks()

void oofem::GeometryGenerator::generateLinks ( )

Definition at line 171 of file geometrygenerator.C.

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

◆ generateParticles()

void oofem::GeometryGenerator::generateParticles ( )

Definition at line 71 of file geometrygenerator.C.

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

◆ giveClassName()

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

Definition at line 84 of file geometrygenerator.h.

◆ initializeLinkGenerator()

void oofem::GeometryGenerator::initializeLinkGenerator ( InputRecord & ir)

Definition at line 166 of file geometrygenerator.C.

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

◆ initializeParticleGenerator()

◆ loadLinks()

void oofem::GeometryGenerator::loadLinks ( )

Definition at line 176 of file geometrygenerator.C.

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

◆ loadParticles()

void oofem::GeometryGenerator::loadParticles ( )

Definition at line 162 of file geometrygenerator.C.

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

Member Data Documentation

◆ Links

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

Definition at line 61 of file geometrygenerator.h.

◆ maxNumOfIterations

int oofem::GeometryGenerator::maxNumOfIterations
protected

Definition at line 66 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

◆ maxNumOfItOnePar

int oofem::GeometryGenerator::maxNumOfItOnePar
protected

Definition at line 67 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

◆ maxNumOfParticles

int oofem::GeometryGenerator::maxNumOfParticles
protected

Definition at line 65 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

◆ nol

int oofem::GeometryGenerator::nol
protected

Definition at line 59 of file geometrygenerator.h.

◆ nop

int oofem::GeometryGenerator::nop
protected

Definition at line 58 of file geometrygenerator.h.

◆ ParticleRadius

double oofem::GeometryGenerator::ParticleRadius
protected

Definition at line 64 of file geometrygenerator.h.

Referenced by initializeParticleGenerator().

◆ Particles

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

Definition at line 60 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-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011