ESyS-Particle  2.3.4
CTaggedEWallInteractionGroup< T > Class Template Reference

Class for a group of unbonded,elastic interactions between particles and a wall using only particles with a given tag
More...

#include <TaggedEWallInteractionGroup.h>

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

Public Member Functions

 CTaggedEWallInteractionGroup (TML_Comm *)
 
 CTaggedEWallInteractionGroup (TML_Comm *, CWall *, const CEWallIGP *, int, int)
 
virtual ~CTaggedEWallInteractionGroup ()
 
virtual void Update (ParallelParticleArray< T > *)
 
- Public Member Functions inherited from CEWallInteractionGroup< T >
 CEWallInteractionGroup (TML_Comm *)
 
 CEWallInteractionGroup (TML_Comm *, CWall *, const CEWallIGP *)
 
virtual ~CEWallInteractionGroup ()
 
virtual void setTimeStepSize (double dt)
 
virtual void calcForces ()
 
virtual void applyForce (const Vec3 &)
 
 CEWallInteractionGroup (TML_Comm *)
 
 CEWallInteractionGroup (TML_Comm *, CWall *, const CEWallIGP *)
 
virtual ~CEWallInteractionGroup ()
 
virtual void setTimeStepSize (double dt)
 
virtual void calcForces ()
 
virtual void applyForce (const Vec3 &)
 

Protected Attributes

int m_tag
 
int m_mask
 
- Protected Attributes inherited from CEWallInteractionGroup< T >
vector< CElasticWallInteraction< T > > m_interactions
 
double m_k
 Elastic modulus. More...
 
double m_k_global
 total wall stiffness More...
 
double k_local
 

Detailed Description

template<class T>
class CTaggedEWallInteractionGroup< T >

Class for a group of unbonded,elastic interactions between particles and a wall using only particles with a given tag

Constructor & Destructor Documentation

◆ CTaggedEWallInteractionGroup() [1/2]

◆ CTaggedEWallInteractionGroup() [2/2]

template<class T >
CTaggedEWallInteractionGroup< T >::CTaggedEWallInteractionGroup ( TML_Comm comm,
CWall wallp,
const CEWallIGP I,
int  tag,
int  mask 
)

Constructor for a tagged elastic wall interaction group

Parameters
commthe communicator
wallpa pointer to the wall
paramthe interaction parameters
tagthe tag of the particles
maskthe mask for the particle tag

References console, CTaggedEWallInteractionGroup< T >::m_mask, CTaggedEWallInteractionGroup< T >::m_tag, and Console::XDebug().

Here is the call graph for this function:

◆ ~CTaggedEWallInteractionGroup()

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

Member Function Documentation

◆ Update()

template<class T >
void CTaggedEWallInteractionGroup< T >::Update ( ParallelParticleArray< T > *  PPA)
virtual

Update the interaction group. Checks which particles are close to the wall and have the right tag. Except for the tag issue this is copied from the base class (CEWallInteractionGroup)

Parameters
PPAthe array containing the particles

Reimplemented from CEWallInteractionGroup< T >.

References console, ParallelParticleArray< T >::getParticlesAtPlane(), ParallelParticleArray< T >::isInInner(), esys::lsm::bpu::iter(), and Console::XDebug().

Here is the call graph for this function:

Member Data Documentation

◆ m_mask

template<class T >
int CTaggedEWallInteractionGroup< T >::m_mask
protected

◆ m_tag

template<class T >
int CTaggedEWallInteractionGroup< T >::m_tag
protected

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