Go to the documentation of this file.
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);
reference current() const
Definition: StlIterator.h:53
bool hasNext() const
Definition: StlIterator.h:48
reference next()
Definition: StlIterator.h:60
Definition: Vec3Comparer.h:24
Definition: CheckPointable.cpp:17
Definition: StlIterator.h:30
static const Vec3 ZERO
Definition: vec3.h:52