|
ESyS-Particle
2.3.4
|
unbonded elastic interaction between a particle and a wall More...
#include <EWallInteraction.h>


Public Member Functions | |
| CElasticWallInteraction () | |
| CElasticWallInteraction (T *, CWall *, double, bool) | |
| virtual | ~CElasticWallInteraction () |
| virtual void | calcForces () |
| virtual Vec3 | getForce () |
| virtual void | setPP (const vector< T * >) |
| virtual double | getStiffness () |
Public Member Functions inherited from AWallInteraction< T > | |
| AWallInteraction (T *, CWall *, bool iflag=true) | |
| virtual | ~AWallInteraction () |
| virtual bool | hasTag (int, int) const |
| virtual Vec3 | getPosFirst () const |
| bool | isInner () |
Public Member Functions inherited from AInteraction | |
| AInteraction () | |
| virtual | ~AInteraction () |
| 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 More... | |
Protected Attributes inherited from AWallInteraction< T > | |
| T * | m_p |
| CWall * | m_wall |
| bool | m_inner_flag |
Protected Attributes inherited from AInteraction | |
| vector< int > | m_id |
| id's of the particles involved More... | |
| int | m_iid |
| interaction id More... | |
| bool | m_init |
unbonded elastic interaction between a particle and a wall
| CElasticWallInteraction< T >::CElasticWallInteraction | ( | ) |
| 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 CParticle::getDo2dCalculations(), CElasticWallInteraction< T >::m_k, and AWallInteraction< T >::m_p.

|
inlinevirtual |
|
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 >.
|
inlinevirtual |
|
protected |
spring constant
Referenced by CElasticWallInteraction< T >::CElasticWallInteraction().