27 #ifndef CYLINDRICALWALL_H
28 #define CYLINDRICALWALL_H
37 #ifdef CONSTUCTOR_OUTPUT
38 std::cout<<
"CylindricalWall () finished"<<std::endl;
45 #ifdef CONSTUCTOR_OUTPUT
46 std::cout<<
"CylindricalWall (const CylindricalWall &p) finished"<<std::endl;
53 #ifdef CONSTUCTOR_OUTPUT
54 std::cout<<
"CylindricalWall (double radius) finished"<<std::endl;
95 void read(std::istream& is) {
101 void print(std::ostream& os)
const {
102 os <<
"CylindricalWall radius " <<
radius;
double get_Radius()
access function for radius
bool get_distance_and_normal(BaseParticle &P, Mdouble &distance, Vec3D &normal_return)
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.
CylindricalWall(const CylindricalWall &p)
Mdouble get_Radius() const
CylindricalWall * copy() const
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism.
CylindricalWall(double radius)
void print(std::ostream &os) const
outputs wall
const Vec3D & get_Position() const
Mdouble GetLength() const
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
Vec3D get_Velocity() const