ESyS-Particle  2.3.2
AWallInteraction< T > Class Template Reference

Abstract base for all interactions between a particle and a wall. More...

#include <WallInteraction.h>

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

Public Member Functions

 AWallInteraction (T *, CWall *, bool iflag=true)
virtual ~AWallInteraction ()
virtual bool hasTag (int, int) const
virtual Vec3 getPosFirst () const
bool isInner ()
virtual void calcForces ()=0
virtual double getStiffness ()
- 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

T * m_p
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 AWallInteraction< T >

Abstract base for all interactions between a particle and a wall.

Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

template<class T >
AWallInteraction< T >::AWallInteraction ( T *  p,
CWall w,
bool  iflag = true 
template<class T >
virtual AWallInteraction< T >::~AWallInteraction ( )

Member Function Documentation

template<class T >
virtual void AWallInteraction< T >::calcForces ( )
pure virtual
template<class T >
virtual Vec3 AWallInteraction< T >::getPosFirst ( ) const

Implements AInteraction.

References AWallInteraction< T >::m_p.

template<class T >
virtual double AWallInteraction< T >::getStiffness ( )
template<class T >
bool AWallInteraction< T >::hasTag ( int  tag,
int  mask 
) const

check if any of the particles in the interaction fits tag & mask

tagthe tag
maskthe mask

Implements AInteraction.

template<class T >
bool AWallInteraction< T >::isInner ( )

Member Data Documentation

template<class T >
bool AWallInteraction< T >::m_inner_flag

flag showing if particle is in the inner area of the local particle array - needed for global force summation

Referenced by AWallInteraction< T >::isInner().

template<class T >
CWall* AWallInteraction< T >::m_wall

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