ESyS-Particle
4.0.1
|
Class for a group of unbonded,elastic interactions between particles and a wall. More...
#include <brokenEWallInteractionGroup.h>
Public Member Functions | |
CEWallInteractionGroup (TML_Comm *) | |
CEWallInteractionGroup (TML_Comm *, CWall *, const CEWallIGP *) | |
virtual void | setTimeStepSize (double dt) |
virtual void | calcForces () |
virtual void | applyForce (const Vec3 &) |
virtual void | Update (ParallelParticleArray< T > *) |
CEWallInteractionGroup (TML_Comm *) | |
CEWallInteractionGroup (TML_Comm *, CWall *, const CEWallIGP *) | |
virtual void | setTimeStepSize (double dt) |
virtual void | calcForces () |
virtual void | applyForce (const Vec3 &) |
virtual void | Update (ParallelParticleArray< T > *) |
![]() | |
AWallInteractionGroup (TML_Comm *comm) | |
virtual void | setVelocity (const Vec3 &) |
double | getDisplacement () |
void | resetDisplacement () |
void | moveWallBy (const Vec3 &mv) |
void | setWallNormal (const Vec3 &wn) |
void | zeroForce () |
Protected Attributes | |
vector < CElasticWallInteraction< T > > | m_interactions |
double | m_k |
Elastic modulus. | |
double | m_k_global |
total wall stiffness | |
double | k_local |
![]() | |
CWall * | m_wall |
the wall | |
TML_Comm * | m_comm |
MPI communicator. | |
int | m_inner_count |
Friends | |
ostream & | operator<< (ostream &, const CEWallInteractionGroup &) |
ostream & | operator<< (ostream &, const CEWallInteractionGroup &) |
Class for a group of unbonded,elastic interactions between particles and a wall.
CEWallInteractionGroup< T >::CEWallInteractionGroup | ( | TML_Comm * | comm, |
CWall * | wallp, | ||
const CEWallIGP * | I | ||
) |
Constructor for elastic wall interaction group
comm | the communicator |
wallp | a pointer to the wall |
param | the interaction parameters |
References CEWallInteractionGroup< T >::m_k, AWallInteractionGroup< T >::m_wall, and BasicCon::XDebug().
|
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.
F | the force |
Reimplemented from AWallInteractionGroup< T >.
|
inlinevirtual |
Null op, time step size not required.
Reimplemented from AWallInteractionGroup< T >.
|
inlinevirtual |
Null op, time step size not required.
Reimplemented from AWallInteractionGroup< T >.