26 #ifndef BOUNDARIES_CHUTEINSERTIONBOUNDARY_H
27 #define BOUNDARIES_CHUTEINSERTIONBOUNDARY_H
59 void set(
BaseParticle* particleToCopy,
unsigned int maxFailed,
Vec3D posMin,
Vec3D posMax,
double radMin,
double radMax,
double fixedParticleRadius,
double inflowVelocity,
double inflowVelocityVariance);
69 void read(std::istream& is);
80 void write(std::ostream& os)
const;
85 virtual std::string
getName()
const;
double inflowVelocityVariance_
virtual ChuteInsertionBoundary * copy() const
Copy method; creates a copy on the heap.
double radMin_
Minimum and maximum radii of the generated particles.
ChuteInsertionBoundary()
Default constructor.
Boundary structure for boundaries used for insertion of particles.
#define MERCURY_DEPRECATED
This is a class that generates random numbers i.e. named the Random Number Generator (RNG)...
void read(std::istream &is)
reads boundary properties from istream
double fixedParticleRadius_
radius of the fixed bottom particles, mean particle velocity in X-direction, and allowed maximum rand...
virtual std::string getName() const
Returns the name of the object.
Vec3D posMin_
The two extremal corners of the cuboidal insertion boundary.
virtual BaseParticle * generateParticle(RNG &random)
Generates a random particle.
void write(std::ostream &os) const
writes boundary properties to ostream
Used for modeling chute inflow. Inherits from InsertionBoundary.
Implementation of a 3D vector (by Vitaliy).
void set(BaseParticle *particleToCopy, unsigned int maxFailed, Vec3D posMin, Vec3D posMax, double radMin, double radMax, double fixedParticleRadius, double inflowVelocity, double inflowVelocityVariance)
Sets all boundary properties at once.
MERCURY_DEPRECATED void oldRead(std::istream &is)
deprecated version of CubeInsertionBoundary::read().