54 #ifdef CONSTUCTOR_OUTPUT
55 std::cerr <<
"Screw() finished" << std::endl;
68 #ifdef CONSTUCTOR_OUTPUT
69 std::cerr <<
"Screw() finished" << std::endl;
75 return new Screw(*
this);
128 }
while(fabs(dd/ddd)>1e-14);
146 }
while(fabs(dd/ddd)>1e-14);
181 normal_return/=normal_return.
GetLength();
virtual Screw * copy() const
This function defines a archimedes screw in the z-direction from a (constant) starting point...
bool get_distance_and_normal(BaseParticle &P, Mdouble &distance, Vec3D &normal_return)
int sign(T val)
This is a sign function, it returns -1 for negative numbers, 1 for positive numbers and 0 for 0...
void move_time(Mdouble dt)
Allows the wall to be moved to a new position (also orthogonal to the normal), and setting the veloci...
Screw(Vec3D Start, double L, double R, double N, double omega, double thickness)
void read(std::istream &is)
reads wall
Mdouble get_WallInteractionRadius() const
const Vec3D & get_Position() const
Vec3D get_Velocity() const
Todo{Implement this function correctly}.
Mdouble GetLength() const
Implementation of a 3D vector (by Vitaliy).
void print(std::ostream &os) const
outputs wall