ESyS-Particle  2.3.4
AWallInteraction< T > Class Template Referenceabstract

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

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

Author
Steffen Abe $Revision$ $Date$

Constructor & Destructor Documentation

◆ AWallInteraction()

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

◆ ~AWallInteraction()

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

Member Function Documentation

◆ calcForces()

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

◆ getPosFirst()

template<class T >
virtual Vec3 AWallInteraction< T >::getPosFirst ( ) const
inlinevirtual

Implements AInteraction.

References AWallInteraction< T >::m_p.

◆ getStiffness()

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

◆ hasTag()

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

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

Parameters
tagthe tag
maskthe mask

Implements AInteraction.

◆ isInner()

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

Member Data Documentation

◆ m_inner_flag

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

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

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

◆ m_p

◆ m_wall

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

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