ClusterGenerator.h
Go to the documentation of this file.
1 // This file is part of the MercuryDPM project (https://www.mercurydpm.org).
2 // Copyright (c), The MercuryDPM Developers Team. All rights reserved.
3 // License: BSD 3-Clause License; see the LICENSE file in the root directory.
4 
5 #ifndef ClusterGenerator_H
6 #define ClusterGenerator_H
7 
8 #endif //ClusterGenerator_H
9 
10 #include "BaseCluster.h"
11 
18 {
19 public:
20 
26 
31 
35  void create();
36 
37 
39 
41 
42  //InteractionHandler* interactionHandler;
43 
44 
45 
46 private:
47 
48  /*
49  * ----------------------------------------------------
50  * VARIABLES
51  * ----------------------------------------------------
52  */
53 
54  // Position
56 
57  // TIME
60 
61  //Particles
66 
67  //Cluster
69  unsigned int idCluster_;
72 
73  // Central force
76 
77  // Data analysis
80 
81  // Energy
84 
85  // File
104 
105  // Restart self test
108 
109 
110 
111 };
Definition: BaseCluster.h:30
This class allows the user to create clusters of particles. All particles will be of LinearPlasticVis...
Definition: ClusterGenerator.h:18
Vec3D position_
Definition: ClusterGenerator.h:55
~ClusterGenerator()
Default destructor.
Definition: ClusterGenerator.cc:103
bool isVtkOutputOn_
bool used to define whether or not vtk output must be created.
Definition: ClusterGenerator.h:95
Mdouble energyRatioTolerance_
Energy ratio threshold under wich the simulation can be considered static.
Definition: ClusterGenerator.h:83
bool isRestartOutputOn_
bool used to define whether or not restart output must be created.
Definition: ClusterGenerator.h:99
Mdouble velocityDampingModulus_
Value of damping modulus for velocity.
Definition: ClusterGenerator.h:75
BaseCluster clusterProperties
Definition: ClusterGenerator.h:38
unsigned int idCluster_
Total number of particles.
Definition: ClusterGenerator.h:69
int internalStructureGridLength_
Number of points used for creating internal structure's grid.
Definition: ClusterGenerator.h:79
void create()
runs the simulation that creates the cluster.
Definition: ClusterGenerator.cc:111
bool isCdatOutputOn_
bool used to define whether or not cluster data output must be created.
Definition: ClusterGenerator.h:87
Mdouble clusterSizeSafetyFactor_
safety factor for the initial size of the cluster: this must be greater than 1.
Definition: ClusterGenerator.h:71
bool isIntStrucOutputOn_
bool used to define whether or not cluster internal structure output must be created.
Definition: ClusterGenerator.h:93
bool isOverlOutputOn_
bool used to define whether or not overlap data output must be created.
Definition: ClusterGenerator.h:89
bool restartSelfTest_
bool used to define whether or not the restart self test is being computed.
Definition: ClusterGenerator.h:107
ParticleHandler fakeParticleHandler
Definition: ClusterGenerator.h:40
bool isAmatOutputOn_
bool used to define whether or not adjacency matrix output must be created.
Definition: ClusterGenerator.h:91
bool isDataOutputOn_
bool used to define whether or not data output must be created.
Definition: ClusterGenerator.h:97
Mdouble collisionTimeOverTimeStep_
Ratio between collision time and time step: should be at least 50.
Definition: ClusterGenerator.h:59
ClusterGenerator()
This constructor initializes all variables to default values. After initialization all values are pas...
Definition: ClusterGenerator.cc:15
int nParticles_
Total number of particles.
Definition: ClusterGenerator.h:65
bool isFStatOutputOn_
bool used to define whether or not fStat output must be created.
Definition: ClusterGenerator.h:101
bool isEneOutputOn_
bool used to define whether or not eneOutput output must be created.
Definition: ClusterGenerator.h:103
Mdouble sizeDispersityParticle_
Size dispersity of particles: must be between 0 and 1.
Definition: ClusterGenerator.h:63
Container to store pointers to all particles.
Definition: ParticleHandler.h:28
Definition: Kernel/Math/Vector.h:30