ESyS-Particle
4.0.1
|
parallel interaction storage array with exchange More...
#include <pi_storage_e.h>
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 |
parallel interaction storage array with exchange
ParallelInteractionStorage_E< P, I >::ParallelInteractionStorage_E | ( | AParallelParticleArray * | PPA, |
const typename I::ParameterType & | param | ||
) |
Construct parallel interaction storage
PPA | a pointer to the particle array |
param | the interaction parameters |
void ParallelInteractionStorage_E< P, InteractionType >::calcForces | ( | ) | [virtual] |
calculate all forces
Implements AParallelInteractionStorage.
References BasicCon::Debug().
bool ParallelInteractionStorage_E< P, InteractionType >::isIn | ( | const std::vector< int > & | ) | [virtual] |
References BasicCon::Debug().
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().
void ParallelInteractionStorage_E< P, InteractionType >::setUnbreakable | ( | bool | b | ) | [virtual] |
set the interactions "unbreakable" -> turns update into a NO-OP
b | true -> unbreakable, false -> breakable |
Reimplemented in ParallelInteractionStorage_EB< P, I >.