the overall number of collisions between different types of particles
I would like to count the overall number of collisions between different types of particles.
Suppose we have 3 types of particles
So what i need is the total number of collisions between each type, between type 1 and type 2 , between type 1 and type 3, and between type 2 and type 3, Is there a way to do this?
Do i have to make some changes in the source code of liggghts or use a predefined liggghts command .
Ps: i have 20 different type of particles.