MercuryDPM
0.10
|
#include <FiniteAxisSymmetricWall.h>
Public Member Functions | |
FiniteAxisSymmetricWall () | |
FiniteAxisSymmetricWall (const FiniteAxisSymmetricWall &p) | |
FiniteAxisSymmetricWall * | copy () const |
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism. More... | |
bool | get_distance_and_normal (BaseParticle &P, Mdouble &distance, Vec3D &normal_return) |
void | setSymmetryAxis (Vec3D new_axisOrigin, Vec3D new_axisOrientation) |
Defines an axisymmetric wall. More... | |
void | read (std::istream &is) |
reads wall More... | |
void | print (std::ostream &os) const |
outputs wall More... | |
Vec3D | get_Velocity () const |
void | moveAxisOrigin (Vec3D velocity_, Mdouble dt) |
Allows the wall to be moved to a new position, and sets the velocity. More... | |
Vec3D | getAxisOrigin () const |
![]() | |
FiniteWall () | |
void | clear () |
void | add_finite_wall (Vec3D normal, Vec3D point) |
Adds a wall to the set of finite walls, given an outward normal vector s.t. normal*x=normal*point. More... | |
void | add_finite_wall (Vec3D normal_, Mdouble position_) |
Adds a wall to the set of finite walls, given an outward normal vector s. t. normal*x=position. More... | |
void | create_open_prism_wall (std::vector< Vec3D > Points, Vec3D PrismAxis) |
void | create_prism_wall (std::vector< Vec3D > Points, Vec3D PrismAxis) |
void | create_open_prism_wall (std::vector< Vec3D > Points) |
void | create_prism_wall (std::vector< Vec3D > Points) |
bool | get_distance_and_normal (BaseParticle &P, Mdouble &distance, Vec3D &normal_return) |
Since this function should be called before calculating any Particle-Wall interactions, it can also be used to set the normal vector in case of curved walls. More... | |
void | read (std::istream &is) |
reads wall More... | |
void | print (std::ostream &os) const |
outputs wall More... | |
Vec3D | get_Velocity () const |
access function for velocity More... | |
![]() | |
BaseWall () | |
BaseWall (const BaseWall &p) | |
virtual | ~BaseWall () |
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 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) |
Private Attributes | |
Vec3D | axisOrigin |
Vec3D | axisOrientation |
Vec3D | CartesianVelocity |
Additional Inherited Members | |
![]() | |
int | indSpecies |
![]() | |
Vec3D | velocity |
velocity of the wall (used to calculate the relative velocity in the force calculation) More... | |
Definition at line 32 of file FiniteAxisSymmetricWall.h.
|
inline |
Definition at line 35 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, CartesianVelocity, and Vec3D::set_zero().
Referenced by copy().
|
inline |
Definition at line 45 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, and CartesianVelocity.
|
inlinevirtual |
Wall copy method. It calls the copy contrustor of this Wall, usefull for polymorfism.
Reimplemented from FiniteWall.
Definition at line 56 of file FiniteAxisSymmetricWall.h.
References FiniteAxisSymmetricWall().
|
inline |
Definition at line 61 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, CartesianVelocity, Cross(), FiniteWall::get_distance_and_normal(), BaseParticle::get_Position(), Vec3D::GetLength(), Vec3D::is_zero(), BaseParticle::set_Position(), BaseWall::velocity, Vec3D::X, Vec3D::Y, and Vec3D::Z.
|
inlinevirtual |
Implements BaseWall.
Definition at line 115 of file FiniteAxisSymmetricWall.h.
References CartesianVelocity.
|
inline |
Allows the wall to be moved to a new position, and sets the velocity.
Definition at line 118 of file FiniteAxisSymmetricWall.h.
References axisOrigin, and BaseWall::velocity.
|
inline |
outputs wall
Definition at line 107 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, and FiniteWall::print().
|
inline |
reads wall
Definition at line 99 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, and FiniteWall::read().
|
inline |
Defines an axisymmetric wall.
Definition at line 92 of file FiniteAxisSymmetricWall.h.
References axisOrientation, axisOrigin, and Vec3D::normalize().
|
private |
Definition at line 127 of file FiniteAxisSymmetricWall.h.
Referenced by FiniteAxisSymmetricWall(), get_distance_and_normal(), print(), read(), and setSymmetryAxis().
|
private |
Definition at line 126 of file FiniteAxisSymmetricWall.h.
Referenced by FiniteAxisSymmetricWall(), get_distance_and_normal(), getAxisOrigin(), moveAxisOrigin(), print(), read(), and setSymmetryAxis().
|
private |
Definition at line 128 of file FiniteAxisSymmetricWall.h.
Referenced by FiniteAxisSymmetricWall(), get_distance_and_normal(), and get_Velocity().