ESyS-Particle  2.3
CRotElasticInteractionGroup< T > Class Template Reference

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

#include <RotElasticInteractionGroup.h>

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

Public Member Functions

 CRotElasticInteractionGroup ()
 
 CRotElasticInteractionGroup (const CRotElasticIGP *)
 
virtual ~CRotElasticInteractionGroup ()
 
virtual void setExIG (AParallelInteractionStorage *eg)
 
void setParam (const CRotElasticIGP *)
 
virtual void setTimeStepSize (double dt)
 
virtual void calcForces ()
 
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< CRotElasticInteractionm_interactions
 
AParallelInteractionStoragem_exIG
 
double m_kr
 
- Protected Attributes inherited from APairInteractionGroup< T >
set< pair< int, int > > m_set
 
unsigned int m_update_timestamp
 

Friends

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

Detailed Description

template<class T>
class CRotElasticInteractionGroup< T >

Class for a group of unbonded,elastic interactions.

Constructor & Destructor Documentation

References NULL.

template<class T >
CRotElasticInteractionGroup< T >::CRotElasticInteractionGroup ( const CRotElasticIGP Param)

References CRotElasticIGP::getNormalSpringConst(), and NULL.

Here is the call graph for this function:

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

Member Function Documentation

template<class T >
void CRotElasticInteractionGroup< T >::calcForces ( )
virtual

Implements AInteractionGroup< T >.

References console, and BasicCon::Debug().

Here is the call graph for this function:

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

Reimplemented from APairInteractionGroup< T >.

template<class T >
void CRotElasticInteractionGroup< T >::setParam ( const CRotElasticIGP Param)

References CRotElasticIGP::getNormalSpringConst().

Here is the call graph for this function:

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

Null op, don't require time step size.

Implements AInteractionGroup< T >.

template<class 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 console, ParallelParticleArray< T >::getFullPairList(), ParallelParticleArray< T >::getNewPairList(), AParallelParticleArray::getTimeStamp(), esys::lsm::bpu::iter(), NULL, and BasicCon::XDebug().

Here is the call graph for this function:

Friends And Related Function Documentation

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

Member Data Documentation

template<class T >
AParallelInteractionStorage* CRotElasticInteractionGroup< T >::m_exIG
protected
template<class T >
vector<CRotElasticInteraction> CRotElasticInteractionGroup< T >::m_interactions
protected
template<class T >
double CRotElasticInteractionGroup< T >::m_kr
protected

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