26 #ifndef CYLINDRICALWALL_H
27 #define CYLINDRICALWALL_H
77 void read(std::istream& is);
87 void write(std::ostream& os)
const;
92 virtual std::string
getName()
const;
void oldRead(std::istream &is)
void clear()
A function that removes all data from this BaseWall, so sets handler_ to nullptr. ...
CylindricalWall * copy() const
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism.
void write(std::ostream &os) const
outputs wall
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const
Since this function should be called before calculating any Particle-Wall interactions, it can also be used to set the normal vector in case of curved walls.
Implementation of a 3D vector (by Vitaliy).
void set(Mdouble radius)
Defines a standard wall, given an outward normal vector s. t. normal*x=position.
void read(std::istream &is)
reads wall
double getRadius() const
access function for radius
virtual std::string getName() const
Returns the name of the object.