26 #ifndef MERCURYDPM_RANDOMCLUSTERINSERTIONBOUNDARY_H
27 #define MERCURYDPM_RANDOMCLUSTERINSERTIONBOUNDARY_H
76 unsigned int nParticlesPerCluster,
Vec3D velMin,
Vec3D velMax);
79 unsigned int nParticlesPerCluster,
Vec3D velMin,
Vec3D velMax);
94 std::string
getName()
const override;
Definition: BaseClusterInsertionBoundary.h:47
Definition: BaseParticle.h:54
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:77
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:53
Definition: RandomClusterInsertionBoundary.h:39
void placeParticle(BaseParticle *p, RNG &random) override
sets random position and velocity for the cluster.
Definition: RandomClusterInsertionBoundary.cc:302
~RandomClusterInsertionBoundary() override
Destructor: default destructor.
RandomClusterInsertionBoundary()
Constructor: inherits from BaseClusterInsertionBoundary constructor.
Definition: RandomClusterInsertionBoundary.cc:36
std::string getName() const override
Returns the name of the object.
Definition: RandomClusterInsertionBoundary.cc:321
void checkBoundaryBeforeTimeStep(DPMBase *md) override
inserts cluster, if no interactions are detected.
Definition: RandomClusterInsertionBoundary.cc:152
void set(BaseParticle *particleToCopy, unsigned int maxFailed, Vec3D posMin, Vec3D posMax, Vec3D velMin, Vec3D velMax, Mdouble rMicroParticle)
Sets the properties of the ClusterInsertionBoundary.
Definition: RandomClusterInsertionBoundary.cc:83
void setNumberOfParticlesPerCluster(unsigned int nParticlesPeCluster)
sets the number of particles per cluster
Definition: RandomClusterInsertionBoundary.cc:142
RandomClusterInsertionBoundary * copy() const override
Creates a copy on the heap and returns a pointer.
Definition: RandomClusterInsertionBoundary.cc:60