ESyS-Particle
4.0.1
|
Class for a group of unbonded,elastic interactions. More...
#include <RotElasticInteractionGroup.h>
Public Member Functions | |
CRotElasticInteractionGroup (const CRotElasticIGP *) | |
virtual void | setExIG (AParallelInteractionStorage *eg) |
void | setParam (const CRotElasticIGP *) |
virtual void | setTimeStepSize (double dt) |
virtual void | calcForces () |
virtual void | Update (ParallelParticleArray< T > *) |
Protected Attributes | |
vector< CRotElasticInteraction > | m_interactions |
AParallelInteractionStorage * | m_exIG |
double | m_kr |
Friends | |
ostream & | operator<< (ostream &, const CRotElasticInteractionGroup< T > &) |
Class for a group of unbonded,elastic interactions.
virtual void CRotElasticInteractionGroup< T >::setTimeStepSize | ( | double | dt | ) | [inline, virtual] |
Null op, don't require time step size.
Implements AInteractionGroup< T >.
void CRotElasticInteractionGroup< T >::Update | ( | ParallelParticleArray< T > * | PPA | ) | [virtual] |
Update the interactions from the neighbor table. If the ParallelParticleArray has been rebuilt since the last update, the interaction group is cleared and rebuilt from scratch. Otherwise only new interactions are added.
Implements AInteractionGroup< T >.
References ParallelParticleArray< T >::getFullPairList(), ParallelParticleArray< T >::getNewPairList(), AParallelParticleArray::getTimeStamp(), and BasicCon::XDebug().