ESyS-Particle  4.0.1
Public Member Functions | Protected Attributes | Friends | List of all members
CBWallInteractionGroup< T > Class Template Reference

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

#include <BWallInteractionGroup.h>

Inheritance diagram for CBWallInteractionGroup< T >:
Inheritance graph
[legend]
Collaboration diagram for CBWallInteractionGroup< T >:
Collaboration graph
[legend]

Public Member Functions

 CBWallInteractionGroup (TML_Comm *)
 CBWallInteractionGroup (TML_Comm *, CWall *, const CBWallIGP *)
virtual void calcForces ()
virtual void applyForce (const Vec3 &)
virtual void Update (ParallelParticleArray< T > *)
- Public Member Functions inherited from AWallInteractionGroup< T >
 AWallInteractionGroup (TML_Comm *comm)
virtual void setTimeStepSize (double dt)
virtual void setVelocity (const Vec3 &)
double getDisplacement ()
void resetDisplacement ()
void moveWallBy (const Vec3 &mv)
void setWallNormal (const Vec3 &wn)
void zeroForce ()

Protected Attributes

vector< CBondedWallInteraction
< T > > 
m_bonded_interactions
 bonded interactions for tagged particles
vector
< CElasticWallInteraction< T > > 
m_elastic_interactions
 elastic interactions for the rest
double m_k
 spring constant
int m_tag
int m_mask
- Protected Attributes inherited from AWallInteractionGroup< T >
CWallm_wall
 the wall
TML_Commm_comm
 MPI communicator.
int m_inner_count

Friends

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

Detailed Description

template<class T>
class CBWallInteractionGroup< T >

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

Author
Steffen Abe $Revision$. $Date$

Constructor & Destructor Documentation

template<class T >
CBWallInteractionGroup< T >::CBWallInteractionGroup ( TML_Comm comm,
CWall wallp,
const CBWallIGP I 
)

Constructor for bonded wall interaction group

Parameters
commthe communicator
wallpa pointer to the wall
paramthe interaction parameters

References CBWallInteractionGroup< T >::m_k, AWallInteractionGroup< T >::m_wall, and BasicCon::XDebug().

Here is the call graph for this function:

Member Function Documentation

template<class T >
void CBWallInteractionGroup< T >::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

Reimplemented from AWallInteractionGroup< T >.

References BasicCon::XDebug().

Here is the call graph for this function:

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

Update interactions from an existing parallel particle array

Parameters
PPAa pointer to the particle array

Implements AInteractionGroup< T >.

References ParallelParticleArray< T >::getParticlesAtPlane(), ParallelParticleArray< T >::isInInner(), and BasicCon::XDebug().

Here is the call graph for this function:


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