OOFEM
2.4
OOFEM.org - Object Oriented Finite Element Solver
|
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< FloatArray > | Particles |
std::vector< IntArray > | Links |
double | ParticleRadius |
int | maxNumOfParticles |
int | maxNumOfIterations |
int | maxNumOfItOnePar |
Generate random geometry of particles and links for CQ simulation.
Definition at line 54 of file geometrygenerator.h.
oofem::GeometryGenerator::GeometryGenerator | ( | ) |
Definition at line 41 of file geometrygenerator.C.
|
virtual |
Definition at line 46 of file geometrygenerator.C.
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().
|
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().
IRResultType oofem::GeometryGenerator::initializeParticleGenerator | ( | InputRecord * | ir | ) |
Definition at line 51 of file geometrygenerator.C.
References _IFT_GeometryGenerator_numOfIterations, _IFT_GeometryGenerator_numOfItOnePar, _IFT_GeometryGenerator_numOfParticles, _IFT_GeometryGenerator_particleRadius, IR_GIVE_FIELD, oofem::IRRT_OK, maxNumOfIterations, maxNumOfItOnePar, maxNumOfParticles, and ParticleRadius.
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().
|
protected |
Definition at line 62 of file geometrygenerator.h.
|
protected |
Definition at line 67 of file geometrygenerator.h.
Referenced by initializeParticleGenerator().
|
protected |
Definition at line 68 of file geometrygenerator.h.
Referenced by initializeParticleGenerator().
|
protected |
Definition at line 66 of file geometrygenerator.h.
Referenced by initializeParticleGenerator().
|
protected |
Definition at line 60 of file geometrygenerator.h.
|
protected |
Definition at line 59 of file geometrygenerator.h.
|
protected |
Definition at line 65 of file geometrygenerator.h.
Referenced by initializeParticleGenerator().
|
protected |
Definition at line 61 of file geometrygenerator.h.
Referenced by CheckDistances().