In GROMACS how do I know how many box images a particular atom has moved from from t=0 to t=N? LAMMPS, for example, has the option to include image flags in the dump file for x, y, and z. Is there any way I can automatically know which simulation box image a particular atom is in a GROMACS .gro or similar file? The command I used to generate instantaneous coordinates is the following:
gmx trjconv -s trajectory.tpr -f trajectory.xtc -o coord.gro -pbc whole
Where trajectory.tpr and trajectory.xtc are outputs of a completed NPT simulation.