MercuryDPM
0.10
|
#include <BaseWall.h>
Public Member Functions | |
BaseWall () | |
BaseWall (const BaseWall &p) | |
virtual | ~BaseWall () |
virtual BaseWall * | copy () const =0 |
virtual void | clear () |
virtual void | move (Mdouble position_ UNUSED) |
Allows the wall to be moved to a new position. More... | |
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 velocity. More... | |
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 velocity. More... | |
virtual bool | get_distance_and_normal (BaseParticle &P UNUSED, Mdouble &distance UNUSED, Vec3D &normal_return UNUSED)=0 |
void | set_Velocity (Vec3D new_) |
access function for velocity More... | |
virtual Vec3D | get_Velocity () const =0 |
virtual void | read (std::istream &is UNUSED)=0 |
virtual void | print (std::ostream &os UNUSED) const =0 |
virtual void | moveInHandler (int newPos) |
int | getIndSpecies () const |
void | setIndSpecies (const int _new) |
const Vec3D & | get_Force () const |
const Vec3D & | get_Torque () const |
void | set_Force (Vec3D _new) |
void | set_Torque (Vec3D _new) |
void | set_Index (int index) |
void | set_Id (int id) |
void | add_Force (Vec3D _new) |
void | add_Torque (Vec3D _new) |
Public Attributes | |
int | indSpecies |
Protected Attributes | |
Vec3D | velocity |
velocity of the wall (used to calculate the relative velocity in the force calculation) More... | |
Private Attributes | |
Vec3D | force |
Vec3D | torque |
WallHandler * | _handler |
int | _index |
int | _id |
Friends | |
std::ostream & | operator<< (std::ostream &os, BaseWall &w) |
std::istream & | operator>> (std::istream &is, BaseWall &w) |
Definition at line 32 of file BaseWall.h.
|
inline |
Definition at line 38 of file BaseWall.h.
References _handler, _id, _index, force, indSpecies, Vec3D::set_zero(), torque, and velocity.
|
inline |
Definition at line 53 of file BaseWall.h.
References _handler, _id, _index, force, indSpecies, torque, and velocity.
|
inlinevirtual |
Definition at line 68 of file BaseWall.h.
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in InfiniteWallWithHole, InfiniteWall, CylindricalWall, and FiniteWall.
Definition at line 72 of file BaseWall.h.
|
pure virtual |
Implemented in InfiniteWallWithHole, Screw, Coil, InfiniteWall, CylindricalWall, FiniteAxisSymmetricWall, and FiniteWall.
Referenced by WallHandler::copyAndAddWall().
|
pure virtual |
Referenced by MD::compute_walls().
|
inline |
|
inline |
|
pure virtual |
Implemented in FiniteWall, Screw, InfiniteWallWithHole, Coil, InfiniteWall, FiniteAxisSymmetricWall, and CylindricalWall.
Referenced by MD::compute_walls().
|
inline |
|
inlinevirtual |
Allows the wall to be moved to a new position.
Reimplemented in InfiniteWallWithHole, and InfiniteWall.
Definition at line 75 of file BaseWall.h.
Allows the wall to be moved to a new position (also orthogonal to the normal), and setting the velocity.
Reimplemented in InfiniteWallWithHole, and InfiniteWall.
Definition at line 78 of file BaseWall.h.
|
inlinevirtual |
Allows the wall to be moved to a new position (also orthogonal to the normal), and setting the velocity.
Reimplemented in Screw, Coil, InfiniteWallWithHole, and InfiniteWall.
Definition at line 81 of file BaseWall.h.
|
inlinevirtual |
|
pure virtual |
Referenced by operator<<(), and MD::print().
|
pure virtual |
Referenced by operator>>().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
access function for velocity
Definition at line 86 of file BaseWall.h.
References velocity.
|
inline |
|
friend |
Definition at line 124 of file BaseWall.h.
|
friend |
Definition at line 130 of file BaseWall.h.
|
private |
Definition at line 118 of file BaseWall.h.
Referenced by BaseWall().
|
private |
Definition at line 120 of file BaseWall.h.
Referenced by BaseWall(), and set_Id().
|
private |
Definition at line 119 of file BaseWall.h.
Referenced by BaseWall(), moveInHandler(), and set_Index().
|
private |
Definition at line 116 of file BaseWall.h.
Referenced by add_Force(), BaseWall(), get_Force(), and set_Force().
int BaseWall::indSpecies |
Definition at line 36 of file BaseWall.h.
Referenced by BaseWall(), FiniteWall::clear(), CylindricalWall::clear(), InfiniteWall::clear(), InfiniteWallWithHole::clear(), MD::compute_walls(), getIndSpecies(), and setIndSpecies().
|
private |
Definition at line 117 of file BaseWall.h.
Referenced by add_Torque(), BaseWall(), get_Torque(), and set_Torque().
|
protected |
velocity of the wall (used to calculate the relative velocity in the force calculation)
Definition at line 114 of file BaseWall.h.
Referenced by BaseWall(), FiniteWall::clear(), InfiniteWall::clear(), FiniteAxisSymmetricWall::get_distance_and_normal(), InfiniteWall::get_Velocity(), FiniteWall::get_Velocity(), InfiniteWall::move(), InfiniteWall::move_time(), FiniteAxisSymmetricWall::moveAxisOrigin(), InfiniteWall::print(), FiniteWall::print(), InfiniteWall::read(), FiniteWall::read(), and set_Velocity().