26 #ifndef BOUNDARIES_CUBEINSERTIONBOUNDARY_H
27 #define BOUNDARIES_CUBEINSERTIONBOUNDARY_H
77 void read(std::istream& is)
override;
88 void write(std::ostream& os)
const override;
93 std::string
getName()
const override;
CubeInsertionBoundary()
Constructor; sets everything to 0.
Vec3D posMin_
Minimal and maximal positions defining the boundary's boundaries, and minimum and maximum velocity of...
Boundary structure for boundaries used for insertion of particles.
#define MERCURY_DEPRECATED
void set(BaseParticle *particleToCopy, int maxFailed, Vec3D posMin, Vec3D posMax, Vec3D velMin, Vec3D velMax, double radMin, double radMax)
Sets the properties of the cuboidal insertion boundary.
This is a class that generates random numbers i.e. named the Random Number Generator (RNG)...
std::string getName() const override
Returns the name of the object.
It's an insertion boundary which has cuboidal shape (yes, 'CuboidalInsertionBoundary' would have been...
virtual CubeInsertionBoundary * copy() const override
Creates a copy on the heap and returns a pointer.
void write(std::ostream &os) const override
writes boundary properties to ostream
void read(std::istream &is) override
reads boundary properties from istream
~CubeInsertionBoundary()
Destructor: default destructor.
Implementation of a 3D vector (by Vitaliy).
MERCURY_DEPRECATED void oldRead(std::istream &is)
deprecated version of CubeInsertionBoundary::read().
double radMin_
minimum and maximum radii of the particles to be inserted
virtual BaseParticle * generateParticle(RNG &random) override
Generates a particle with random position, radius and velocity.