ESyS-Particle  2.3.4
CBWallInteractionGroup Class Reference

Class for a group of bonded,elastic interactions between particles and a wall. More...

#include <BWallInteractionGroup.h>

Collaboration diagram for CBWallInteractionGroup:

Public Member Functions

 CBWallInteractionGroup (TML_Comm *)
 
 CBWallInteractionGroup (TML_Comm *, CWall *, const CBWallIGP *)
 
virtual ~CBWallInteractionGroup ()
 
virtual void calcForces ()
 
virtual void applyForce (const Vec3 &)
 
virtual void Update (ParallelParticleArray< T > *)
 

Protected Attributes

vector< CBondedWallInteraction< T > > m_bonded_interactions
 bonded interactions for tagged particles More...
 
vector< CElasticWallInteraction< T > > m_elastic_interactions
 elastic interactions for the rest More...
 
double m_k
 spring constant More...
 
int m_tag
 
int m_mask
 

Friends

ostream & operator<< (ostream &, const CBWallInteractionGroup &)
 

Detailed Description

Class for a group of bonded,elastic interactions between particles and a wall.

Author
Steffen Abe $Revision$. $Date$

Constructor & Destructor Documentation

◆ CBWallInteractionGroup() [1/2]

CBWallInteractionGroup::CBWallInteractionGroup ( TML_Comm )

◆ CBWallInteractionGroup() [2/2]

CBWallInteractionGroup::CBWallInteractionGroup ( TML_Comm ,
CWall ,
const CBWallIGP  
)

◆ ~CBWallInteractionGroup()

virtual CBWallInteractionGroup::~CBWallInteractionGroup ( )
inlinevirtual

Member Function Documentation

◆ applyForce()

void CBWallInteractionGroup::applyForce ( const Vec3 F)
virtual

Apply a given force to the wall. Only forces in the direction of the given force are considered, free movement is assumed in perpendicular directions.

Parameters
Fthe force

References console, esys::lsm::bpu::iter(), Vec3::unit(), Vec3::X(), Console::XDebug(), Vec3::Y(), and Vec3::Z().

Here is the call graph for this function:

◆ calcForces()

void CBWallInteractionGroup::calcForces ( )
virtual

References console, and Console::XDebug().

Here is the call graph for this function:

◆ Update()

void CBWallInteractionGroup::Update ( ParallelParticleArray< T > *  PPA)
virtual

Update interactions from an existing parallel particle array

Parameters
PPAa pointer to the particle array

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

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

ostream& operator<< ( ostream &  ,
const CBWallInteractionGroup  
)
friend

Member Data Documentation

◆ m_bonded_interactions

vector<CBondedWallInteraction<T> > CBWallInteractionGroup::m_bonded_interactions
protected

bonded interactions for tagged particles

◆ m_elastic_interactions

vector<CElasticWallInteraction<T> > CBWallInteractionGroup::m_elastic_interactions
protected

elastic interactions for the rest

◆ m_k

double CBWallInteractionGroup::m_k
protected

spring constant

◆ m_mask

int CBWallInteractionGroup::m_mask
protected

◆ m_tag

int CBWallInteractionGroup::m_tag
protected

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