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

parallel storage array with exchange for bonded/breakable interactions More...

#include <pi_storage_eb.h>

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

List of all members.

Public Types

typedef
ParallelInteractionStorage_E
< P, I > 
Inherited
typedef
Inherited::InteractionIterator 
InteractionIterator

Public Member Functions

 ParallelInteractionStorage_EB (AParallelParticleArray *, const typename I::ParameterType &)
virtual bool update ()
void setUnbreakable (bool)
virtual void calcHeatTrans ()
virtual void saveCheckPointData (std::ostream &oStream)
virtual void loadCheckPointData (std::istream &iStream)
virtual void saveSnapShotData (std::ostream &)

Public Attributes

bool m_unbreakable

Detailed Description

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

parallel storage array with exchange for bonded/breakable interactions


Member Function Documentation

template<typename P , typename InteractionType >
void ParallelInteractionStorage_EB< P, InteractionType >::loadCheckPointData ( std::istream &  iStream) [virtual]

Read interaction data from input stream pointing to a restartable checkpoint file. The stream needs to be already positioned at the right place.

Parameters:
iStreamthe input stream
Warning:
return type may change to bool at some stage

Reimplemented from AParallelInteractionStorage.

References ParallelParticleArray< T >::getParticlePtrByIndex().

Here is the call graph for this function:

template<typename P , typename InteractionType >
void ParallelInteractionStorage_EB< P, InteractionType >::saveCheckPointData ( std::ostream &  oStream) [virtual]

save checkpoint (i.e. restart) data

Reimplemented from AParallelInteractionStorage.

template<typename P , typename InteractionType >
void ParallelInteractionStorage_EB< P, InteractionType >::saveSnapShotData ( std::ostream &  oStream) [virtual]

save snapshot (i.e. viz/postprocess) data

Reimplemented from AParallelInteractionStorage.

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

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

Parameters:
btrue -> unbreakable, false -> breakable

Reimplemented from ParallelInteractionStorage_E< P, I >.

Referenced by TSubLattice< T >::addBondedIG(), and TSubLattice< T >::addCappedBondedIG().

Here is the caller graph for this function:

template<typename P , typename InteractionType >
bool ParallelInteractionStorage_EB< P, InteractionType >::update ( ) [virtual]

Update interactions. Check for broken interactions and remove them.

Implements AParallelInteractionStorage.

References BasicCon::XDebug().

Here is the call graph for this function:


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