26 #ifndef INFINITEWALLWITHHOLE_H
27 #define INFINITEWALLWITHHOLE_H
101 void read(std::istream& is)
override;
106 void oldRead(std::istream& is);
111 void write(std::ostream& os)
const override;
116 std::string
getName()
const override;
Definition: BaseParticle.h:54
Basic class for walls.
Definition: BaseWall.h:49
Definition: InfiniteWallWithHole.h:38
Mdouble factor_
Definition: InfiniteWallWithHole.h:136
Mdouble getWallDistance(const Vec3D &position) const
Returns the distance of the wall to the particle.
Definition: InfiniteWallWithHole.cc:103
Mdouble position_
position n*x=p
Definition: InfiniteWallWithHole.h:137
void moveTo(Mdouble position)
Allows the wall to be moved to a new position.
Definition: InfiniteWallWithHole.cc:82
void oldRead(std::istream &is)
reads wall
Definition: InfiniteWallWithHole.cc:167
Mdouble getPosition()
access function for position
Definition: InfiniteWallWithHole.cc:197
Vec3D normal_
Outward normal vector, does not have to be a unit vector.
Definition: InfiniteWallWithHole.h:132
void read(std::istream &is) override
reads wall
Definition: InfiniteWallWithHole.cc:156
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: InfiniteWallWithHole.cc:114
void move_time(Mdouble dt)
Definition: InfiniteWallWithHole.cc:97
Mdouble holeRadius_
Definition: InfiniteWallWithHole.h:138
Vec3D getNormal()
access function for normal
Definition: InfiniteWallWithHole.cc:191
InfiniteWallWithHole * copy() const override
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism.
Definition: InfiniteWallWithHole.cc:65
std::string getName() const override
Returns the name of the object.
Definition: InfiniteWallWithHole.cc:185
Mdouble getHoleDistance(const Vec3D &position) const
Definition: InfiniteWallWithHole.cc:108
void set(Vec3D normal, Mdouble position, Mdouble holeRadius)
Defines a standard wall, given an outward normal vector s. t. normal*x=position.
Definition: InfiniteWallWithHole.cc:72
InfiniteWallWithHole()
default constructor
Definition: InfiniteWallWithHole.cc:32
void write(std::ostream &os) const override
outputs wall
Definition: InfiniteWallWithHole.cc:176
double P
Uniform pressure.
Definition: TwenteMeshGluing.cpp:73