ESyS-Particle
4.0.1
|
unbonded elastic interaction between a particle and a wall More...
#include <EWallInteraction.h>
Public Member Functions | |
CElasticWallInteraction (T *, CWall *, double, bool) | |
virtual void | calcForces () |
virtual Vec3 | getForce () |
virtual void | setPP (const vector< T * >) |
virtual double | getStiffness () |
![]() | |
AWallInteraction (T *, CWall *, bool iflag=true) | |
virtual bool | hasTag (int, int) const |
virtual Vec3 | getPosFirst () const |
bool | isInner () |
![]() | |
bool | initialized () const |
virtual void | calcHeatTrans () |
virtual void | calcHeatFrict () |
vector< int > | getAllID () const |
int | getID () |
virtual Vec3 | getPosSecond () const |
double | Count () const |
Protected Attributes | |
double | m_k |
spring constant | |
![]() | |
T * | m_p |
CWall * | m_wall |
bool | m_inner_flag |
![]() | |
vector< int > | m_id |
id's of the particles involved | |
int | m_iid |
interaction id | |
bool | m_init |
unbonded elastic interaction between a particle and a wall
CElasticWallInteraction< T >::CElasticWallInteraction | ( | T * | p, |
CWall * | w, | ||
double | k, | ||
bool | iflag | ||
) |
constructor for elastic interaction between particle & wall
p | pointer to the particle |
w | pointer to the wall |
k | spring constant |
iflag | flag if the particle is in the inner part of the local NTable |
References CElasticWallInteraction< T >::m_k.
|
virtual |
calculate free elastic forces.
Implements AWallInteraction< T >.
|
virtual |
calculate & return free elastic forces, don't apply them
|
virtual |
Get stiffness of the interaction. Returns spring constant (m_k) if interaction is in contact, 0.0 otherwise.
Reimplemented from AWallInteraction< T >.