26 #ifndef CYLINDRICALWALL_H
27 #define CYLINDRICALWALL_H
73 void read(std::istream& is)
override;
83 void write(std::ostream& os)
const override;
88 std::string
getName()
const override;
Definition: BaseParticle.h:54
Basic class for walls.
Definition: BaseWall.h:49
Definition: CylindricalWall.h:38
void write(std::ostream &os) const override
outputs wall
Definition: CylindricalWall.cc:102
CylindricalWall * copy() const override
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism.
Definition: CylindricalWall.cc:60
std::string getName() const override
Returns the name of the object.
Definition: CylindricalWall.cc:108
void oldRead(std::istream &is)
Definition: CylindricalWall.cc:95
Mdouble radius_
Definition: CylindricalWall.h:96
CylindricalWall()
Definition: CylindricalWall.cc:32
void set(Mdouble radius)
Defines a standard wall, given an outward normal vector s. t. normal*x=position.
Definition: CylindricalWall.cc:66
void read(std::istream &is) override
reads wall
Definition: CylindricalWall.cc:88
double getRadius() const
access function for radius
Definition: CylindricalWall.cc:114
bool getDistanceAndNormal(const BaseParticle &P, Mdouble &distance, Vec3D &normal_return) const override
Since this function should be called before calculating any Particle-Wall interactions,...
Definition: CylindricalWall.cc:72
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73