48 #ifdef CONSTUCTOR_OUTPUT
49 std::cout<<
"BaseWall() finished"<<std::endl;
63 #ifdef CONSTUCTOR_OUTPUT
64 std::cout<<
"BaseWall(const BaseWall &p) finished"<<std::endl;
72 virtual void clear() {std::cout<<
"BaseWall::clear(), this function shouldn't be called"<<std::endl;}
75 virtual void move(
Mdouble position_
UNUSED) {std::cout<<
"BaseWall:move(Mdouble position_ UNUSED), this function shouldn't be called"<<std::endl;}
78 virtual void move(
Vec3D velocity_
UNUSED,
Mdouble dt UNUSED) {std::cout<<
"BaseWall::move(Vec3D velocity_, Mdouble dt UNUSED), this function shouldn't be called"<<std::endl;}
81 virtual void move_time(
Mdouble dt
UNUSED) {std::cout<<
"BaseWall::move_time(Mdouble dt UNUSED), this function shouldn't be called"<<std::endl;}
94 virtual void read(std::istream& is
UNUSED) = 0;
96 virtual void print(std::ostream& os
UNUSED)
const = 0;
int getIndSpecies() const
void setIndSpecies(const int _new)
virtual void move(Vec3D velocity_ UNUSED, Mdouble dt UNUSED)
Allows the wall to be moved to a new position (also orthogonal to the normal), and setting the veloci...
Vec3D velocity
velocity of the wall (used to calculate the relative velocity in the force calculation) ...
friend std::ostream & operator<<(std::ostream &os, BaseWall &w)
const Vec3D & get_Force() const
void set_Force(Vec3D _new)
std::istream & operator>>(std::istream &is, BaseWall &w)
virtual void move(Mdouble position_ UNUSED)
Allows the wall to be moved to a new position.
friend std::istream & operator>>(std::istream &is, BaseWall &w)
void set_Velocity(Vec3D new_)
access function for velocity
virtual void read(std::istream &is UNUSED)=0
virtual bool get_distance_and_normal(BaseParticle &P UNUSED, Mdouble &distance UNUSED, Vec3D &normal_return UNUSED)=0
void set_Index(int index)
void set_Torque(Vec3D _new)
Container to store all BaseWall.
void add_Force(Vec3D _new)
virtual void print(std::ostream &os UNUSED) const =0
virtual Vec3D get_Velocity() const =0
BaseWall(const BaseWall &p)
virtual void moveInHandler(int newPos)
Implementation of a 3D vector (by Vitaliy).
const Vec3D & get_Torque() const
virtual BaseWall * copy() const =0
void add_Torque(Vec3D _new)
std::ostream & operator<<(std::ostream &os, BaseWall &w)
virtual void move_time(Mdouble dt UNUSED)
Allows the wall to be moved to a new position (also orthogonal to the normal), and setting the veloci...