ESyS-Particle
4.0.1
|
Class for a group of unbonded,elastic interactions. More...
#include <ElasticInteractionGroup.h>
Public Member Functions | |
CElasticInteractionGroup (const CElasticIGP *) | |
virtual void | setExIG (AParallelInteractionStorage *eg) |
void | setParam (const CElasticIGP *) |
virtual void | calcForces () |
virtual void | setTimeStepSize (double dt) |
virtual void | Update (ParallelParticleArray< T > *) |
![]() | |
bool | isIn (int, int) |
Protected Attributes | |
vector< CElasticInteraction > | m_interactions |
AParallelInteractionStorage * | m_exIG |
double | m_k |
![]() | |
set< pair< int, int > > | m_set |
unsigned int | m_update_timestamp |
Friends | |
ostream & | operator<< (ostream &, const CElasticInteractionGroup< T > &) |
Class for a group of unbonded,elastic interactions.
|
inlinevirtual |
Null operation, don't require time step size.
Implements AInteractionGroup< T >.
|
virtual |
Update the interactions from the neighbortable. If the ParallelParticleArray has been rebuild since the last update, the interactiongroup is cleared and rebuild from scratch. Otherwise only new interactions are added.
Implements AInteractionGroup< T >.
References ParallelParticleArray< T >::getFullPairList(), ParallelParticleArray< T >::getNewPairList(), AParallelParticleArray::getTimeStamp(), and BasicCon::XDebug().