26 #ifndef MERCURYDPM_FIXEDCLUSTERINSERTIONBOUNDARY_H
27 #define MERCURYDPM_FIXEDCLUSTERINSERTIONBOUNDARY_H
66 void set(std::vector<BaseParticle*> particleToCopy, std::vector<Vec3D> positions, std::vector<Mdouble> radii,
72 void set(
BaseParticle* particleToCopy, std::vector<Vec3D> positions, std::vector<Mdouble> radii,
Vec3D velMin,
76 void setPositionsAndRadii(std::vector<Vec3D> clusterPositions, std::vector<Mdouble> clusterRadii);
91 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
Definition: FixedClusterInsertionBoundary.h:39
~FixedClusterInsertionBoundary() override
Destructor: default destructor.
void checkBoundaryBeforeTimeStep(DPMBase *md) final
inserts cluster: differently from RandomClusterInsertionBoundary, here no check for interaction is co...
Definition: FixedClusterInsertionBoundary.cc:129
void set(std::vector< BaseParticle * > particleToCopy, std::vector< Vec3D > positions, std::vector< Mdouble > radii, Vec3D velMin, Vec3D velMax, Mdouble rMicroParticle)
Sets the properties of the ClusterInsertionBoundary.
Definition: FixedClusterInsertionBoundary.cc:73
BaseParticle * generateParticle(RNG &random) final
Sets cluster radii according to vector clusterRadii_.
Definition: FixedClusterInsertionBoundary.cc:225
FixedClusterInsertionBoundary * copy() const override
Creates a copy on the heap and returns a pointer.
Definition: FixedClusterInsertionBoundary.cc:55
void placeParticle(BaseParticle *p, RNG &random) final
Places particles according to vector clusterPositions_ and sets a random velocity,...
Definition: FixedClusterInsertionBoundary.cc:211
void setPositionsAndRadii(std::vector< Vec3D > clusterPositions, std::vector< Mdouble > clusterRadii)
this sets positions and radii of the desired clusters.
Definition: FixedClusterInsertionBoundary.cc:108
std::string getName() const override
Returns the name of the object.
Definition: FixedClusterInsertionBoundary.cc:236
FixedClusterInsertionBoundary()
Constructor: inherits from BaseClusterInsertionBoundary constructor.
Definition: FixedClusterInsertionBoundary.cc:31
This is a class that generates random numbers i.e. named the Random Number Generator (RNG).
Definition: RNG.h:53