14 #ifndef ESYS_LSMCONTACTCOLLECTION_H
15 #define ESYS_LSMCONTACTCOLLECTION_H
36 typedef std::map<Vec3, ContactVector, Vec3Comparer>
ContactMap;
78 it->second.push_back(contact);
94 template <
typename TmplInteractionData>
97 if (interactionData.getForce() !=
Vec3::ZERO) {
100 interactionData.getParticle1(),
101 interactionData.getParticle2(),
102 interactionData.getForcePos(),
103 interactionData.getForce()
109 template <
typename TmplIterator>
112 while (iterator.hasNext())
120 ContactMap::const_iterator it =
m_contactMap.find(centrePt);