ESyS-Particle  4.0.1
Public Types | Public Member Functions | Public Attributes | Protected Attributes
ParallelInteractionStorage_E< P, I > Class Template Reference

parallel interaction storage array with exchange More...

#include <pi_storage_e.h>

Inheritance diagram for ParallelInteractionStorage_E< P, I >:
Inheritance graph
[legend]
Collaboration diagram for ParallelInteractionStorage_E< P, I >:
Collaboration graph
[legend]

List of all members.

Public Types

typedef
TParallelInteractionStorage< I > 
Inherited
typedef
Inherited::InteractionIterator 
InteractionIterator

Public Member Functions

 ParallelInteractionStorage_E (AParallelParticleArray *, const typename I::ParameterType &)
virtual void setUnbreakable (bool)
virtual void exchange ()
virtual void rebuild ()
virtual void tryInsert (const I &)
virtual void tryInsert (const std::vector< int > &)
virtual bool isIn (const std::vector< int > &)
virtual void setTimeStepSize (double dt)
virtual void calcForces ()

Public Attributes

bool m_unbreakable

Protected Attributes

TML_CartComm m_comm
set< pair< int, int > > m_set
I::ParameterType m_param

Detailed Description

template<typename P, typename I>
class ParallelInteractionStorage_E< P, I >

parallel interaction storage array with exchange


Constructor & Destructor Documentation

template<typename P , typename I >
ParallelInteractionStorage_E< P, I >::ParallelInteractionStorage_E ( AParallelParticleArray PPA,
const typename I::ParameterType &  param 
)

Construct parallel interaction storage

Parameters:
PPAa pointer to the particle array
paramthe interaction parameters

Member Function Documentation

template<typename P , typename InteractionType >
void ParallelInteractionStorage_E< P, InteractionType >::calcForces ( ) [virtual]

calculate all forces

Implements AParallelInteractionStorage.

References BasicCon::Debug().

Here is the call graph for this function:

template<typename P, typename I>
bool ParallelInteractionStorage_E< P, InteractionType >::isIn ( const std::vector< int > &  ) [virtual]
Warning:
evil hack, only checks 1st & 2nd id -> change from pair<int,int> to vector<int>

References BasicCon::Debug().

Here is the call graph for this function:

template<typename P , typename InteractionType >
void ParallelInteractionStorage_E< P, InteractionType >::rebuild ( ) [virtual]

rebuild all interactions, i.e. set particle pointers according to particle indices

Implements AParallelInteractionStorage.

References ParallelParticleArray< T >::getParticlePtrByIndex(), and BasicCon::XDebug().

Here is the call graph for this function:

template<typename P , typename InteractionType >
void ParallelInteractionStorage_E< P, InteractionType >::setUnbreakable ( bool  b) [virtual]

set the interactions "unbreakable" -> turns update into a NO-OP

Parameters:
btrue -> unbreakable, false -> breakable

Reimplemented in ParallelInteractionStorage_EB< P, I >.


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