From: Olaf Lenz (
Date: Tue Oct 08 2013 - 03:31:45 CDT


For a tutorial, I wanted my students to visualize all pairs of particles
in a system that are closer than a given distance $a$. I thought this to
be a simple application of "within" selection, something like:

  exwithin 1 of all

Unfortunately, this will not show anything. Finally, I noticed that it
is not actually that simple, and I was not able to solve the problem.
Does anybody have an idea how to do that? It would be really useful!


Dr. rer. nat. Olaf Lenz
Institut für Computerphysik, Allmandring 3, D-70569 Stuttgart
Phone: +49-711-685-63607