ESyS-Particle  2.3.4
CElasticInteractionGroup< T > Class Template Reference

Class for a group of unbonded,elastic interactions. More...

#include <ElasticInteractionGroup.h>

Inheritance diagram for CElasticInteractionGroup< T >:
Collaboration diagram for CElasticInteractionGroup< T >:

Public Member Functions

 CElasticInteractionGroup ()
 
 CElasticInteractionGroup (const CElasticIGP *)
 
virtual ~CElasticInteractionGroup ()
 
virtual void setExIG (AParallelInteractionStorage *eg)
 
void setParam (const CElasticIGP *)
 
virtual void calcForces ()
 
virtual void setTimeStepSize (double dt)
 
virtual void Update (ParallelParticleArray< T > *)
 
- Public Member Functions inherited from APairInteractionGroup< T >
bool isIn (int, int)
 
- Public Member Functions inherited from AInteractionGroup< T >
virtual ~AInteractionGroup ()
 

Protected Attributes

vector< CElasticInteractionm_interactions
 
AParallelInteractionStoragem_exIG
 
double m_k
 
- Protected Attributes inherited from APairInteractionGroup< T >
set< pair< int, int > > m_set
 
unsigned int m_update_timestamp
 

Friends

ostream & operator<< (ostream &, const CElasticInteractionGroup< T > &)
 

Detailed Description

template<class T>
class CElasticInteractionGroup< T >

Class for a group of unbonded,elastic interactions.

Constructor & Destructor Documentation

◆ CElasticInteractionGroup() [1/2]

References NULL.

◆ CElasticInteractionGroup() [2/2]

template<class T >
CElasticInteractionGroup< T >::CElasticInteractionGroup ( const CElasticIGP Param)

References CElasticIGP::getSpringConst(), and NULL.

Here is the call graph for this function:

◆ ~CElasticInteractionGroup()

template<class T >
virtual CElasticInteractionGroup< T >::~CElasticInteractionGroup ( )
inlinevirtual

Member Function Documentation

◆ calcForces()

template<class T >
void CElasticInteractionGroup< T >::calcForces
virtual

Implements AInteractionGroup< T >.

References console, and Console::Debug().

Here is the call graph for this function:

◆ setExIG()

template<class T >
virtual void CElasticInteractionGroup< T >::setExIG ( AParallelInteractionStorage eg)
inlinevirtual

◆ setParam()

template<class T >
void CElasticInteractionGroup< T >::setParam ( const CElasticIGP Param)

References CElasticIGP::getSpringConst().

Here is the call graph for this function:

◆ setTimeStepSize()

template<class T >
virtual void CElasticInteractionGroup< T >::setTimeStepSize ( double  dt)
inlinevirtual

Null operation, don't require time step size.

Implements AInteractionGroup< T >.

◆ Update()

template<class T >
void CElasticInteractionGroup< T >::Update ( ParallelParticleArray< T > *  PPA)
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 console, ParallelParticleArray< T >::getFullPairList(), ParallelParticleArray< T >::getNewPairList(), esys::lsm::bpu::iter(), NULL, and Console::XDebug().

Here is the call graph for this function:

Friends And Related Function Documentation

◆ operator<<

template<class T >
ostream& operator<< ( ostream &  ost,
const CElasticInteractionGroup< T > &  E 
)
friend

Member Data Documentation

◆ m_exIG

template<class T >
AParallelInteractionStorage* CElasticInteractionGroup< T >::m_exIG
protected

◆ m_interactions

template<class T >
vector<CElasticInteraction> CElasticInteractionGroup< T >::m_interactions
protected

Referenced by operator<<().

◆ m_k

template<class T >
double CElasticInteractionGroup< T >::m_k
protected

The documentation for this class was generated from the following files: