118 logger(
DEBUG,
"ClusterGenerator::ClusterGenerator() finished");
126 logger(
DEBUG,
"ClusterGenerator::~ClusterGenerator() finished");
ClusterGenerator()
This constructor initializes all variables to default values. After initialization all values are pas...
void setCollisionTimeOverTimeStep(Mdouble cTOTS)
This sets the collisionTimeOverTimeStep number (which is the ratio between collision time and time st...
void solve()
The work horse of the code.
Mdouble clusterSizeSafetyFactor_
safety factor for the initial size of the cluster: this must be greater than 1.
Mdouble velocityDampingModulus_
Value of damping modulus for velocity.
Logger< MERCURY_LOGLEVEL > logger("MercuryKernel")
Definition of different loggers with certain modules. A user can define its own custom logger here...
BaseCluster clusterProperties
void doOverlOutput(bool iOOO)
This sets the bool variable that defines whether the cluster overlap output will be written or not...
void doIntStrucOutput(bool iISOO)
This sets the bool variable that defines whether the cluster internal structure output will be writte...
void doAmatOutput(bool iAOO)
This sets the bool variable that defines whether the cluster adjacency matrix output will be written ...
void doEneOutput(bool isEneOutputOn)
This sets the bool variable that defines whether the cluster ene output will be written or not...
void setSizeDispersityParticle(Mdouble sDP)
This sets the value of particles' dispersity in size.
bool isEneOutputOn_
bool used to define whether or not eneOutput output must be created.
Mdouble sizeDispersityParticle_
Size dispersity of particles: must be between 0 and 1.
int internalStructureGridLength_
Number of points used for creating internal structure's grid.
void doCdatOutput(bool iCOO)
This sets the bool variable that defines whether the cluster data output will be written or not...
bool isDataOutputOn_
bool used to define whether or not data output must be created.
bool isOverlOutputOn_
bool used to define whether or not overlap data output must be created.
bool isAmatOutputOn_
bool used to define whether or not adjacency matrix output must be created.
void setVelocityDampingModulus(Mdouble vDM)
This sets the value of the velocity damping modulus.
bool isRestartOutputOn_
bool used to define whether or not restart output must be created.
unsigned int idCluster_
Total number of particles.
void doVtkOutput(bool iVOO)
This sets the bool variable that defines whether the cluster vtk output will be written or not...
bool isVtkOutputOn_
bool used to define whether or not vtk output must be created.
void doFStatOutput(bool isfStatOutputOn)
This sets the bool variable that defines whether the cluster fStat output will be written or not...
bool isFStatOutputOn_
bool used to define whether or not fStat output must be created.
Mdouble collisionTimeOverTimeStep_
Ratio between collision time and time step: should be at least 50.
bool isCdatOutputOn_
bool used to define whether or not cluster data output must be created.
~ClusterGenerator()
Default destructor.
void setNumberOfParticles(int nP)
This sets the value of the number of particles in the cluster.
bool isIntStrucOutputOn_
bool used to define whether or not cluster internal structure output must be created.
bool restartSelfTest_
bool used to define whether or not the restart self test is being computed.
void create()
runs the simulation that creates the cluster.
void setEnergyRatioTolerance(Mdouble eRT)
This sets the value of the value of the energy ratio threshold under which the process can be conside...
void doRestartOutput(bool isRestartOutputOn)
This sets the bool variable that defines whether the cluster restart output will be written or not...
int nParticles_
Total number of particles.
Mdouble energyRatioTolerance_
Energy ratio threshold under wich the simulation can be considered static.
void setClusterId(unsigned int iC)
This sets the value of the cluster ID.