ESyS-Particle  2.3.4
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 More...
 
- 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 More...
 
int m_iid
 interaction id More...
 
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

◆ CSoftBondedWallInteraction() [1/2]

◆ CSoftBondedWallInteraction() [2/2]

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

◆ ~CSoftBondedWallInteraction()

template<class T >
virtual CSoftBondedWallInteraction< T >::~CSoftBondedWallInteraction ( )
inlinevirtual

Member Function Documentation

◆ calcForces()

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:

◆ getForce()

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:

◆ getStiffness()

template<class T >
virtual double CSoftBondedWallInteraction< T >::getStiffness ( )
inlinevirtual

◆ setPP()

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

Member Data Documentation

◆ m_normalK

◆ m_shearK

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: