26 #ifndef BOUNDARIES_BASECLUSTERINSERTIONBOUNDARY_H
27 #define BOUNDARIES_BASECLUSTERINSERTIONBOUNDARY_H
114 bool doVtkOutput,
bool doRestartOutput,
bool doFStatOutput,
bool doEneOutput);
129 void read(std::istream& is)
override;
134 void write(std::ostream& os)
const override;
142 std::string
getName()
const override;
Definition: BaseClusterInsertionBoundary.h:47
bool isIntStrucOutputOn_
Definition: BaseClusterInsertionBoundary.h:177
bool isFStatOutputOn_
Definition: BaseClusterInsertionBoundary.h:183
std::vector< Vec3D > clusterPositions_
Definition: BaseClusterInsertionBoundary.h:211
void read(std::istream &is) override
reads boundary properties from istream
Definition: BaseClusterInsertionBoundary.cc:256
bool isOverlOutputOn_
Definition: BaseClusterInsertionBoundary.h:173
int nInternalStructurePoints_
Definition: BaseClusterInsertionBoundary.h:193
bool isCdatOutputOn_
Definition: BaseClusterInsertionBoundary.h:171
BaseClusterInsertionBoundary * copy() const override
Creates a copy on the heap and returns a pointer.
Definition: BaseClusterInsertionBoundary.cc:171
void setRandomised(bool randomised)
this turns off the randomise(): created for UnitTests.
Definition: BaseClusterInsertionBoundary.cc:180
Vec3D velMin_
Definition: BaseClusterInsertionBoundary.h:204
void setRadiusMicroParticle(Mdouble rMP)
this sets the radius of the micro particle composing the cluster.
Definition: BaseClusterInsertionBoundary.cc:192
Mdouble energyRatioTolerance_
Definition: BaseClusterInsertionBoundary.h:195
void checkBoundaryBeforeTimeStep(DPMBase *md) override
Fills the boundary with clusters.
Definition: BaseClusterInsertionBoundary.cc:248
bool isRestartOutputOn_
Definition: BaseClusterInsertionBoundary.h:181
Vec3D position_
Definition: BaseClusterInsertionBoundary.h:151
bool isAmatOutputOn_
Definition: BaseClusterInsertionBoundary.h:175
Mdouble velocityDampingModulus_
Definition: BaseClusterInsertionBoundary.h:191
std::vector< Mdouble > clusterRadii_
Definition: BaseClusterInsertionBoundary.h:212
unsigned int nClusterInserted_
Definition: BaseClusterInsertionBoundary.h:157
Mdouble collisionTimeOverTimeStep_
Definition: BaseClusterInsertionBoundary.h:198
void setVelocityRange(Vec3D velMin, Vec3D velMax)
Sets the velocity range of the ClusterInsertionBoundary.
Definition: BaseClusterInsertionBoundary.cc:208
LinearPlasticViscoelasticFrictionSpecies * clusterSpecies_
Definition: BaseClusterInsertionBoundary.h:167
bool isVtkOutputOn_
Definition: BaseClusterInsertionBoundary.h:179
void setOutputClusterProperties(bool doCdatOutput, bool doOverlOutput, bool doAmatOutput, bool doIntStrucOutput, bool doVtkOutput, bool doRestartOutput, bool doFStatOutput, bool doEneOutput)
sets cluster whether or not cluster output files will be created, for example:
Definition: BaseClusterInsertionBoundary.cc:222
Mdouble sizeDispersityParticle_
Definition: BaseClusterInsertionBoundary.h:189
Mdouble radiusParticle_
Definition: BaseClusterInsertionBoundary.h:160
std::string getName() const override
Returns the name of the object.
Definition: BaseClusterInsertionBoundary.cc:327
BaseClusterInsertionBoundary()
Constructor; sets everything to 0.
Definition: BaseClusterInsertionBoundary.cc:34
void setAdditionalClusterProperties(Mdouble collisionTimeOverTimeStep, Mdouble velocityDampingModulus, Mdouble energyRatioTolerance)
sets additional cluster properties as:
Definition: BaseClusterInsertionBoundary.cc:214
void write(std::ostream &os) const override
writes boundary properties to ostream
Definition: BaseClusterInsertionBoundary.cc:289
bool isEneOutputOn_
Definition: BaseClusterInsertionBoundary.h:185
~BaseClusterInsertionBoundary() override
Destructor: default destructor.
void placeParticle(BaseParticle *p, RNG &random) override
Generates a random position, velocity for the cluster p.
Definition: BaseClusterInsertionBoundary.cc:237
bool randomised_
Definition: BaseClusterInsertionBoundary.h:215
int nParticles_
Definition: BaseClusterInsertionBoundary.h:164
unsigned int getNumberOfClusterInserted()
this returns the number of cluster inserted.
Definition: BaseClusterInsertionBoundary.cc:188
Vec3D posMax_
Definition: BaseClusterInsertionBoundary.h:204
Vec3D velMax_
Definition: BaseClusterInsertionBoundary.h:204
bool getRandomised()
this returns a bool which indicates if the process is randomised (true) or not (false).
Definition: BaseClusterInsertionBoundary.cc:184
void setGeometry(Vec3D posMin, Vec3D posMax)
Sets the geometry (position and velocity distribution) of the ClusterInsertionBoundary.
Definition: BaseClusterInsertionBoundary.cc:202
Vec3D posMin_
Definition: BaseClusterInsertionBoundary.h:204
bool setRadiusParticleAndNotNumberOfParticles_
Definition: BaseClusterInsertionBoundary.h:208
Definition: BaseParticle.h:54
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:77
Boundary structure for boundaries used for insertion of particles.
Definition: InsertionBoundary.h:50
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:53
Contains material and contact force properties.
Definition: Species.h:35