softmatter:Cell List

If the simulation space is divided into cells of size $r_c \times r_c \times r_c$ then a particle in any given cell is guaranteed to interact only with particles in its cell and the 26 neighboring cells.