ESyS-Particle  2.3.2
CSoftBondedWallInteraction< T > Class Template Reference

bonded elastic interaction between a particle and a wall with different spring constants in the normal and shear directions More...

#include <SoftBWallInteraction.h>

Inheritance diagram for CSoftBondedWallInteraction< T >:
Collaboration diagram for CSoftBondedWallInteraction< T >:

Public Member Functions

 CSoftBondedWallInteraction ()
 CSoftBondedWallInteraction (T *, CWall *, double, double, bool, bool)
virtual ~CSoftBondedWallInteraction ()
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_normalK
double m_shearK
 directional spring constants
- Protected Attributes inherited from AWallInteraction< T >
T * m_p
CWallm_wall
bool m_inner_flag
- Protected Attributes inherited from AInteraction
vector< int > m_id
 id's of the particles involved
int m_iid
 interaction id
bool m_init

Detailed Description

template<class T>
class CSoftBondedWallInteraction< T >

bonded elastic interaction between a particle and a wall with different spring constants in the normal and shear directions

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

template<class T >
CSoftBondedWallInteraction< T >::CSoftBondedWallInteraction ( T *  p,
CWall w,
double  normalK,
double  shearK,
bool  scaling,
bool  iflag 
)
template<class T >
virtual CSoftBondedWallInteraction< T >::~CSoftBondedWallInteraction ( )
inlinevirtual

Member Function Documentation

template<class T >
void CSoftBondedWallInteraction< T >::calcForces ( )
virtual

calculate bonded elastic forces.

Implements AWallInteraction< T >.

References dot(), and Vec3::norm().

Here is the call graph for this function:

template<class T >
Vec3 CSoftBondedWallInteraction< T >::getForce ( )
virtual

calculate and return the bonded elastic force

References dot(), and Vec3::norm().

Here is the call graph for this function:

template<class T >
virtual double CSoftBondedWallInteraction< T >::getStiffness ( )
inlinevirtual
template<class T >
virtual void CSoftBondedWallInteraction< T >::setPP ( const vector< T * >  )
inlinevirtual

Member Data Documentation

template<class T >
double CSoftBondedWallInteraction< T >::m_shearK
protected

directional spring constants

Referenced by CSoftBondedWallInteraction< T >::CSoftBondedWallInteraction().


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