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)
35 evri= m.add_restraint(evr)
46 for d
in [rbss0, rbss1]: