13 template<
typename P,
typename I>
20 template<
typename P,
typename InteractionType>
31 template<
typename T,
typename InteractionType>
36 vector<AParallelInteractionStorage*>::iterator exiter=m_exIG.begin();
37 while(exiter!=m_exIG.end() && (!in_exig)){
38 in_exig=(*exiter)->isIn(tv);
48 template<
typename T,
typename InteractionType>
51 console.
XDebug() <<
"ParallelInteractionStorage_NE::Update\n";
55 if(m_update_timestamp != this->m_ppa->getTimeStamp()){
57 this->m_interactions.clear();
58 m_set.erase(m_set.begin(),m_set.end());
68 tv.push_back(
iter->first->getID());
69 tv.push_back(
iter->second->getID());
71 this->m_interactions.push_back(InteractionType(
iter->first,
iter->second,m_param));
72 m_set.insert(pair<int,int>(
iter->first->getID(),
iter->second->getID()));
87 tv.push_back(
iter->first->getID());
88 tv.push_back(
iter->second->getID());
90 this->m_interactions.push_back(InteractionType(
iter->first,
iter->second,m_param));
91 m_set.insert(pair<int,int>(
iter->first->getID(),
iter->second->getID()));
96 m_update_timestamp = this->m_ppa->getTimeStamp();
99 console.
XDebug() <<
"end ParallelInteractionStorage_NE::Update\n";
108 template<
typename P,
typename InteractionType>
113 res=m_set.find(make_pair(pids[0],pids[1]))!=m_set.end();
121 template<
typename P,
typename InteractionType>
126 << this->m_interactions.size()
127 <<
" interaction forces\n";
130 typename list<InteractionType>::iterator it = this->m_interactions.begin();
131 it != this->m_interactions.end();
138 template<
typename P,
typename InteractionType>
143 << this->m_interactions.size()
144 <<
" interaction heat transfers\n" ;
147 typename list<InteractionType>::iterator it = this->m_interactions.begin();
148 it != this->m_interactions.end();