Collision detection and building of a non-bonded list can be sped up when rigid bodies are used. To do this, use a RigidClosePairsFinder.
26 lsc.add_particles(rbps0)
27 lsc.add_particles(rbps1)
36 evri = m.add_restraint(evr)
47 for d
in [rbss0, rbss1]: