|
This class allows the user to create clusters of particles. All particles will be of LinearPlasticViscoelasticSpecies and will have a final overlap defined by the user. More...
#include <ClusterGenerator.h>
Public Member Functions | |
ClusterGenerator () | |
This constructor initializes all variables to default values. After initialization all values are passed to ClusterDPM with setters. More... | |
~ClusterGenerator () | |
Default destructor. More... | |
void | create () |
runs the simulation that creates the cluster. More... | |
Public Attributes | |
BaseCluster | clusterProperties |
ParticleHandler | fakeParticleHandler |
Private Attributes | |
Vec3D | position_ |
Mdouble | collisionTimeOverTimeStep_ |
Ratio between collision time and time step: should be at least 50. More... | |
Mdouble | sizeDispersityParticle_ |
Size dispersity of particles: must be between 0 and 1. More... | |
int | nParticles_ |
Total number of particles. More... | |
unsigned int | idCluster_ |
Total number of particles. More... | |
Mdouble | clusterSizeSafetyFactor_ |
safety factor for the initial size of the cluster: this must be greater than 1. More... | |
Mdouble | velocityDampingModulus_ |
Value of damping modulus for velocity. More... | |
int | internalStructureGridLength_ |
Number of points used for creating internal structure's grid. More... | |
Mdouble | energyRatioTolerance_ |
Energy ratio threshold under wich the simulation can be considered static. More... | |
bool | isCdatOutputOn_ |
bool used to define whether or not cluster data output must be created. More... | |
bool | isOverlOutputOn_ |
bool used to define whether or not overlap data output must be created. More... | |
bool | isAmatOutputOn_ |
bool used to define whether or not adjacency matrix output must be created. More... | |
bool | isIntStrucOutputOn_ |
bool used to define whether or not cluster internal structure output must be created. More... | |
bool | isVtkOutputOn_ |
bool used to define whether or not vtk output must be created. More... | |
bool | isDataOutputOn_ |
bool used to define whether or not data output must be created. More... | |
bool | isRestartOutputOn_ |
bool used to define whether or not restart output must be created. More... | |
bool | isFStatOutputOn_ |
bool used to define whether or not fStat output must be created. More... | |
bool | isEneOutputOn_ |
bool used to define whether or not eneOutput output must be created. More... | |
bool | restartSelfTest_ |
bool used to define whether or not the restart self test is being computed. More... | |
This class allows the user to create clusters of particles. All particles will be of LinearPlasticViscoelasticSpecies and will have a final overlap defined by the user.
ClusterGenerator::ClusterGenerator | ( | ) |
This constructor initializes all variables to default values. After initialization all values are passed to ClusterDPM with setters.
This constructor initializes all variables to default values. After initialization all values are passed to ClusterDPM with setters. IMPORTANT: radiusParticle here is not initialized nor passed to ClusterDPM in order to force the user to set it, and same is for the species.
References clusterProperties, clusterSizeSafetyFactor_, collisionTimeOverTimeStep_, DEBUG, BaseCluster::doAmatOutput(), BaseCluster::doCdatOutput(), BaseCluster::doEneOutput(), BaseCluster::doFStatOutput(), BaseCluster::doIntStrucOutput(), BaseCluster::doOverlOutput(), BaseCluster::doRestartOutput(), BaseCluster::doVtkOutput(), energyRatioTolerance_, idCluster_, internalStructureGridLength_, isAmatOutputOn_, isCdatOutputOn_, isDataOutputOn_, isEneOutputOn_, isFStatOutputOn_, isIntStrucOutputOn_, isOverlOutputOn_, isRestartOutputOn_, isVtkOutputOn_, logger, nParticles_, position_, restartSelfTest_, BaseCluster::setClusterId(), BaseCluster::setCollisionTimeOverTimeStep(), BaseCluster::setEnergyRatioTolerance(), BaseCluster::setNumberOfParticles(), BaseCluster::setSizeDispersityParticle(), BaseCluster::setVelocityDampingModulus(), sizeDispersityParticle_, and velocityDampingModulus_.
ClusterGenerator::~ClusterGenerator | ( | ) |
void ClusterGenerator::create | ( | ) |
runs the simulation that creates the cluster.
runs the simulation that creates the cluster.
References clusterProperties, and DPMBase::solve().
BaseCluster ClusterGenerator::clusterProperties |
Referenced by ClusterGenerator(), and create().
|
private |
safety factor for the initial size of the cluster: this must be greater than 1.
Referenced by ClusterGenerator().
|
private |
Ratio between collision time and time step: should be at least 50.
Referenced by ClusterGenerator().
|
private |
Energy ratio threshold under wich the simulation can be considered static.
Referenced by ClusterGenerator().
ParticleHandler ClusterGenerator::fakeParticleHandler |
|
private |
Total number of particles.
Referenced by ClusterGenerator().
|
private |
Number of points used for creating internal structure's grid.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not adjacency matrix output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not cluster data output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not data output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not eneOutput output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not fStat output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not cluster internal structure output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not overlap data output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not restart output must be created.
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not vtk output must be created.
Referenced by ClusterGenerator().
|
private |
Total number of particles.
Referenced by ClusterGenerator().
|
private |
Referenced by ClusterGenerator().
|
private |
bool used to define whether or not the restart self test is being computed.
Referenced by ClusterGenerator().
|
private |
Size dispersity of particles: must be between 0 and 1.
Referenced by ClusterGenerator().
|
private |
Value of damping modulus for velocity.
Referenced by ClusterGenerator().