|
ESyS-Particle
2.3.4
|
Class for a group of bonded, elastic interactions with per-direction spring constants between particles and a wall. More...
#include <SoftBWallInteractionGroup.h>

Public Member Functions | |
| CSoftBWallInteractionGroup (TML_Comm *) | |
| CSoftBWallInteractionGroup (TML_Comm *, CWall *, const CSoftBWallIGP *) | |
| virtual | ~CSoftBWallInteractionGroup () |
| virtual void | setTimeStepSize (double dt) |
| virtual void | calcForces () |
| virtual void | applyForce (const Vec3 &) |
| virtual void | Update (ParallelParticleArray< T > *) |
Protected Attributes | |
| vector< CSoftBondedWallInteraction< T > > | m_interactions |
| double | m_normalK |
| double | m_shearK |
| spring constants for each direction More... | |
| int | m_tag |
| int | m_mask |
| bool | m_scaling |
Friends | |
| ostream & | operator<< (ostream &, const CSoftBWallInteractionGroup &) |
Class for a group of bonded, elastic interactions with per-direction spring constants between particles and a wall.
| CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup | ( | TML_Comm * | comm | ) |
| CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup | ( | TML_Comm * | comm, |
| CWall * | wallp, | ||
| const CSoftBWallIGP * | I | ||
| ) |
Constructor for bonded wall interaction group with direction dependend elasticity
| comm | the communicator |
| wallp | a pointer to the wall |
| param | the interaction parameters |
References console, CBWallIGP::getMask(), CSoftBWallIGP::getNormalK(), CSoftBWallIGP::getScaling(), CSoftBWallIGP::getShearK(), CBWallIGP::getTag(), CSoftBWallInteractionGroup< T >::m_mask, CSoftBWallInteractionGroup< T >::m_normalK, CSoftBWallInteractionGroup< T >::m_scaling, CSoftBWallInteractionGroup< T >::m_shearK, CSoftBWallInteractionGroup< T >::m_tag, and Console::XDebug().

|
inlinevirtual |
|
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 |
References console, esys::lsm::bpu::iter(), Vec3::unit(), Vec3::X(), Console::XDebug(), Vec3::Y(), and Vec3::Z().

|
virtual |
|
inlinevirtual |
Null op, don't require time step size.
|
virtual |
References console, ParallelParticleArray< T >::getParticlesAtPlane(), ParallelParticleArray< T >::isInInner(), esys::lsm::bpu::iter(), and Console::XDebug().

|
friend |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
spring constants for each direction
Referenced by CSoftBWallInteractionGroup< T >::CSoftBWallInteractionGroup().
|
protected |