ESyS-Particle  2.3.4
ParallelInteractionStorage_ED_T< P, I > Class Template Reference

#include <pi_storage_ed_t.h>

Inheritance diagram for ParallelInteractionStorage_ED_T< P, I >:
Collaboration diagram for ParallelInteractionStorage_ED_T< P, I >:

Public Member Functions

 ParallelInteractionStorage_ED_T (AParallelParticleArray *, const typename I::ParameterType &, int, int, int, int)
 
virtual bool update ()
 
virtual bool willSave ()
 
- Public Member Functions inherited from ParallelInteractionStorage_ED< P, I >
 ParallelInteractionStorage_ED (AParallelParticleArray *, const typename I::ParameterType &)
 
virtual void addExIG (AParallelInteractionStorage *)
 
virtual void setTimeStepSize (double dt)
 does nothing More...
 
virtual void saveCheckPointData (std::ostream &oStream)
 
virtual void loadCheckPointData (std::istream &iStream)
 
virtual void calcHeatTrans ()
 
virtual void calcHeatFrict ()
 
- Public Member Functions inherited from ParallelInteractionStorage_E< P, I >
 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 calcForces ()
 
- Public Member Functions inherited from TParallelInteractionStorage< I >
 TParallelInteractionStorage (AParallelParticleArray *ppa)
 
virtual ~TParallelInteractionStorage ()
 
InteractionIterator getInnerInteractionIterator ()
 types More...
 
template<typename P >
vector< pair< Vec3, P > > forAllInnerInteractionsGetWithPos (P(I::*rdf)() const)
 
template<typename P >
vector< pair< Raw2Data, P > > forAllInnerInteractionsGetRaw2 (P(I::*rdf)() const)
 
template<typename P >
vector< pair< DataWithID, P > > forAllInnerInteractionsGetDataWithID (P(I::*rdf)() const)
 
template<typename P >
vector< pair< DataWithPosID, P > > forAllInnerInteractionsGetDataWithPosID (P(I::*rdf)() const)
 
template<typename P >
void forAllInnerInteractionsGet (P &, typename P::value_type(I::*rdf)() const)
 access functions with tags More...
 
template<typename P >
vector< pair< Vec3, P > > forAllTaggedInnerInteractionsGetWithPos (P(I::*rdf)() const, int, int)
 
template<typename P >
void forAllTaggedInnerInteractionsGet (P &, typename P::value_type(I::*rdf)() const, int, int)
 generate FieldSlave of correct type More...
 
virtual AFieldSlavegenerateNewScalarFieldSlave (TML_Comm *, const string &, int, int, int, int)
 
virtual AFieldSlavegenerateNewVectorFieldSlave (TML_Comm *, const string &, int, int, int, int)
 
template<typename P >
vector< pair< typename TParallelInteractionStorage< I >::Raw2Data, P > > forAllInnerInteractionsGetRaw2 (P(I::*rdf)() const)
 
template<typename P >
vector< pair< typename TParallelInteractionStorage< I >::DataWithPosID, P > > forAllInnerInteractionsGetDataWithPosID (P(I::*rdf)() const)
 
template<typename P >
vector< pair< typename TParallelInteractionStorage< I >::DataWithID, P > > forAllInnerInteractionsGetDataWithID (P(I::*rdf)() const)
 

Protected Attributes

int m_tag1
 
int m_tag2
 
int m_mask1
 
int m_mask2
 
- Protected Attributes inherited from ParallelInteractionStorage_ED< P, I >
int m_update_timestamp
 
vector< AParallelInteractionStorage * > m_exIG
 
- Protected Attributes inherited from ParallelInteractionStorage_E< P, I >
TML_CartComm m_comm
 
set< pair< int, int > > m_set
 
I::ParameterType m_param
 
- Protected Attributes inherited from TParallelInteractionStorage< I >
list< I > m_interactions
 

Additional Inherited Members

- Public Types inherited from ParallelInteractionStorage_E< P, I >
typedef TParallelInteractionStorage< I > Inherited
 
typedef Inherited::InteractionIterator InteractionIterator
 
- Public Types inherited from TParallelInteractionStorage< I >
typedef I interaction_type
 
typedef esys::lsm::quintuple< Vec3, double, Vec3, double, Vec3Raw2Data
 
typedef esys::lsm::triplet< int, int, Vec3DataWithID
 
typedef esys::lsm::quintuple< int, int, Vec3, Vec3, Vec3DataWithPosID
 access functions More...
 
- Public Attributes inherited from ParallelInteractionStorage_E< P, I >
bool m_unbreakable
 
- Protected Member Functions inherited from ParallelInteractionStorage_ED< P, I >
bool isExcluded (const vector< int >)
 

Detailed Description

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

Parallel storage array with exchange for dynamically created interactions (friction etc.) between particles with defined tags. An interaction is only created if particle tag & mask agree

Constructor & Destructor Documentation

◆ ParallelInteractionStorage_ED_T()

Member Function Documentation

◆ update()

template<typename T , typename InteractionType >
bool ParallelInteractionStorage_ED_T< T, InteractionType >::update
virtual

Update interactions. Do full dynamic search.

Reimplemented from ParallelInteractionStorage_ED< P, I >.

References console, Console::Debug(), esys::lsm::bpu::iter(), and Console::XDebug().

Here is the call graph for this function:

◆ willSave()

template<typename P , typename I >
virtual bool ParallelInteractionStorage_ED_T< P, I >::willSave ( )
inlinevirtual

Member Data Documentation

◆ m_mask1

template<typename P , typename I >
int ParallelInteractionStorage_ED_T< P, I >::m_mask1
protected

◆ m_mask2

template<typename P , typename I >
int ParallelInteractionStorage_ED_T< P, I >::m_mask2
protected

◆ m_tag1

template<typename P , typename I >
int ParallelInteractionStorage_ED_T< P, I >::m_tag1
protected

◆ m_tag2

template<typename P , typename I >
int ParallelInteractionStorage_ED_T< P, I >::m_tag2
protected

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