Number of collisions in pair_style gran

Glad you got it to work.

Just as a note:

I used the command "compute ID particlesGroup coord/atom 2*${particleRadius}"
but it appears that coord/atom doesn't support "on the fly" formula calculations.

No LAMMPS input script command supports that syntax.

Steve