|
ESyS-Particle
2.3.4
|
Class for a group of unbonded,elastic interactions between particles and a sphere body. More...
#include <ESphereBodyInteractionGroup.h>


Public Member Functions | |
| CESphereBodyInteractionGroup (TML_Comm *) | |
| CESphereBodyInteractionGroup (TML_Comm *, CSphereBody *, const CESphereBodyIGP *) | |
| virtual | ~CESphereBodyInteractionGroup () |
| virtual void | setTimeStepSize (double dt) |
| virtual void | calcForces () |
| virtual void | applyForce (const Vec3 &) |
| virtual void | Update (ParallelParticleArray< T > *) |
Public Member Functions inherited from ASphereBodyInteractionGroup< T > | |
| ASphereBodyInteractionGroup (TML_Comm *comm) | |
| virtual | ~ASphereBodyInteractionGroup () |
| virtual void | setVelocity (const Vec3 &) |
| double | getDisplacement () |
| void | resetDisplacement () |
| void | moveSphereBodyBy (const Vec3 &mv) |
| void | zeroForce () |
Public Member Functions inherited from AInteractionGroup< T > | |
| virtual | ~AInteractionGroup () |
Protected Attributes | |
| vector< CElasticSphereBodyInteraction< T > > | m_interactions |
| double | m_k |
| Elastic modulus. More... | |
| double | m_k_global |
| total sphere body stiffness More... | |
| double | k_local |
Protected Attributes inherited from ASphereBodyInteractionGroup< T > | |
| CSphereBody * | m_sphere |
| the sphere body More... | |
| TML_Comm * | m_comm |
| MPI communicator. More... | |
| int | m_inner_count |
Friends | |
| ostream & | operator<< (ostream &, const CESphereBodyInteractionGroup &) |
Class for a group of unbonded,elastic interactions between particles and a sphere body.
| CESphereBodyInteractionGroup< T >::CESphereBodyInteractionGroup | ( | TML_Comm * | comm | ) |
| CESphereBodyInteractionGroup< T >::CESphereBodyInteractionGroup | ( | TML_Comm * | comm, |
| CSphereBody * | spherep, | ||
| const CESphereBodyIGP * | I | ||
| ) |
Constructor for elastic sphere body interaction group
| comm | the communicator |
| spherep | a pointer to the sphere body |
| param | the interaction parameters |
References console, CElasticIGP::getSpringConst(), CESphereBodyInteractionGroup< T >::m_k, ASphereBodyInteractionGroup< T >::m_sphere, and Console::XDebug().

|
inlinevirtual |
|
virtual |
Apply a given force to the sphere body. Only forces in the direction of the given force are considered, free movement is assumed in perpendicular directions.
| F | the force |
Reimplemented from ASphereBodyInteractionGroup< T >.
References console, esys::lsm::bpu::iter(), Vec3::norm(), Vec3::unit(), Console::Warning(), Vec3::X(), Vec3::Y(), and Vec3::Z().

|
virtual |
Implements ASphereBodyInteractionGroup< T >.
References console, and Console::XDebug().

|
inlinevirtual |
Null op, time step size not required.
Reimplemented from ASphereBodyInteractionGroup< T >.
|
virtual |
Implements AInteractionGroup< T >.
References console, ParallelParticleArray< T >::getParticlesNearSphere(), ParallelParticleArray< T >::isInInner(), esys::lsm::bpu::iter(), and Console::XDebug().

|
friend |
|
protected |
|
protected |
|
protected |
Elastic modulus.
Referenced by CESphereBodyInteractionGroup< T >::CESphereBodyInteractionGroup().
|
protected |
total sphere body stiffness