ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes
CElasticWallInteraction< T > Class Template Reference

unbonded elastic interaction between a particle and a wall More...

#include <EWallInteraction.h>

Inheritance diagram for CElasticWallInteraction< T >:
Inheritance graph
[legend]
Collaboration diagram for CElasticWallInteraction< T >:
Collaboration graph
[legend]

List of all members.

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

Detailed Description

template<class T>
class CElasticWallInteraction< T >

unbonded elastic interaction between a particle and a wall

Author:
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

template<class T >
CElasticWallInteraction< T >::CElasticWallInteraction ( T *  p,
CWall w,
double  k,
bool  iflag 
)

constructor for elastic interaction between particle & wall

Parameters:
ppointer to the particle
wpointer to the wall
kspring constant
iflagflag if the particle is in the inner part of the local NTable

References CElasticWallInteraction< T >::m_k.


Member Function Documentation

template<class T >
void CElasticWallInteraction< T >::calcForces ( ) [virtual]

calculate free elastic forces.

Implements AWallInteraction< T >.

template<class T >
Vec3 CElasticWallInteraction< T >::getForce ( ) [virtual]

calculate & return free elastic forces, don't apply them

template<class T >
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 >.


The documentation for this class was generated from the following files: