|
ESyS-Particle
2.3
|
Class for a group of bonded,elastic interactions between particles and a wall. More...
#include <BWallInteractionGroup.h>


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 > *) |
Public Member Functions inherited from AWallInteractionGroup< T > | |
| AWallInteractionGroup (TML_Comm *comm) | |
| virtual | ~AWallInteractionGroup () |
| 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 () |
Public Member Functions inherited from AInteractionGroup< T > | |
| virtual | ~AInteractionGroup () |
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 |
Protected Attributes inherited from AWallInteractionGroup< T > | |
| CWall * | m_wall |
| the wall More... | |
| TML_Comm * | m_comm |
| MPI communicator. More... | |
| int | m_inner_count |
Friends | |
| ostream & | operator<< (ostream &, const CBWallInteractionGroup &) |
Class for a group of bonded,elastic interactions between particles and a wall.
| CBWallInteractionGroup< T >::CBWallInteractionGroup | ( | TML_Comm * | comm | ) |
| CBWallInteractionGroup< T >::CBWallInteractionGroup | ( | TML_Comm * | comm, |
| CWall * | wallp, | ||
| const CBWallIGP * | I | ||
| ) |
Constructor for bonded wall interaction group
| comm | the communicator |
| wallp | a pointer to the wall |
| param | the interaction parameters |
References console, CBWallIGP::getMask(), CElasticIGP::getSpringConst(), CBWallIGP::getTag(), AWallInteractionGroup< T >::m_inner_count, CBWallInteractionGroup< T >::m_k, CBWallInteractionGroup< T >::m_mask, CBWallInteractionGroup< T >::m_tag, AWallInteractionGroup< T >::m_wall, and BasicCon::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 |
Reimplemented from AWallInteractionGroup< T >.
References console, esys::lsm::bpu::iter(), Vec3::unit(), Vec3::X(), BasicCon::XDebug(), Vec3::Y(), and Vec3::Z().

|
virtual |
Implements AWallInteractionGroup< T >.
References console, and BasicCon::XDebug().

|
virtual |
Update interactions from an existing parallel particle array
| PPA | a pointer to the particle array |
Implements AInteractionGroup< T >.
References console, ParallelParticleArray< T >::getParticlesAtPlane(), ParallelParticleArray< T >::isInInner(), esys::lsm::bpu::iter(), and BasicCon::XDebug().

|
friend |
|
protected |
bonded interactions for tagged particles
|
protected |
elastic interactions for the rest
|
protected |
spring constant
Referenced by CBWallInteractionGroup< T >::CBWallInteractionGroup().
|
protected |
Referenced by CBWallInteractionGroup< T >::CBWallInteractionGroup().
|
protected |
Referenced by CBWallInteractionGroup< T >::CBWallInteractionGroup().