[lammps-users] about atom id

Dear Steve,

I want to modify fix_nve.cpp and fix_nve.h. I want to print the atom’ID ,but what variable represents atom’s ID in two files, or HOW can I assign atom’s ID to a variable?

Thanks

the atom->tag array stores atom IDs for all atoms

Steve