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

|
virtual |
|
inlinevirtual |
Null op, time step size not required.
|
virtual |
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