|
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 () |
Protected Attributes | |
| double | m_k |
| spring constant | |
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.
| void CElasticWallInteraction< T >::calcForces | ( | ) | [virtual] |
calculate free elastic forces.
Implements AWallInteraction< T >.
| Vec3 CElasticWallInteraction< T >::getForce | ( | ) | [virtual] |
calculate & return free elastic forces, don't apply them
| double CElasticWallInteraction< T >::getStiffness | ( | ) | [virtual] |
Get stiffness of the interaction. Returns spring constant (m_k) if interaction is in contact, 0.0 otherwise.
Reimplemented from AWallInteraction< T >.
1.7.6.1