5 #ifndef MERCURYDPM_RANDOMCLUSTERINSERTIONBOUNDARY_H
6 #define MERCURYDPM_RANDOMCLUSTERINSERTIONBOUNDARY_H
67 unsigned int nParticlesPerCluster,
Vec3D velMin,
Vec3D velMax);
70 unsigned int nParticlesPerCluster,
Vec3D velMin,
Vec3D velMax);
Matrix2d md
Definition: MatrixBase_cast.cpp:1
float * p
Definition: Tutorial_Map_using.cpp:9
Definition: BaseClusterInsertionBoundary.h:26
Definition: BaseParticle.h:33
The DPMBase header includes quite a few header files, defining all the handlers, which are essential....
Definition: DPMBase.h:56
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:32
Definition: RandomClusterInsertionBoundary.h:18
void placeParticle(BaseParticle *p, RNG &random) override
sets random position and velocity for the cluster.
Definition: RandomClusterInsertionBoundary.cc:325
~RandomClusterInsertionBoundary() override
Destructor: default destructor.
RandomClusterInsertionBoundary()
Constructor: inherits from BaseClusterInsertionBoundary constructor.
Definition: RandomClusterInsertionBoundary.cc:15
std::string getName() const override
Returns the name of the object.
Definition: RandomClusterInsertionBoundary.cc:344
void checkBoundaryBeforeTimeStep(DPMBase *md) override
inserts cluster, if no interactions are detected.
Definition: RandomClusterInsertionBoundary.cc:175
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:62
void setNumberOfParticlesPerCluster(unsigned int nParticlesPeCluster)
sets the number of particles per cluster
Definition: RandomClusterInsertionBoundary.cc:163
RandomClusterInsertionBoundary * copy() const override
Creates a copy on the heap and returns a pointer.
Definition: RandomClusterInsertionBoundary.cc:39
Definition: Kernel/Math/Vector.h:30
std::string string(const unsigned &i)
Definition: oomph_definitions.cc:286