ESyS-Particle  2.3.2
CBondedWallInteraction< T > Class Template Reference

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

#include <BWallInteraction.h>

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

Public Member Functions

 CBondedWallInteraction (T *, CWall *, double, bool)
virtual ~CBondedWallInteraction ()
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
- 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 CBondedWallInteraction< T >

bonded elastic interaction between a particle and a wall

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

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

References CParticle::getDo2dCalculations(), CBondedWallInteraction< T >::m_k, and AWallInteraction< T >::m_p.

Here is the call graph for this function:

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

Member Function Documentation

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

calculate bonded elastic forces.

Implements AWallInteraction< T >.

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

calculate and return the bonded elastic force

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

Member Data Documentation

template<class T >
double CBondedWallInteraction< T >::m_k
protected

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