[lammps-users] about if and variable command

Thanks for your reply, I only want to gain the time information if some condition is satisfied. How can I do?

variable xcoord atom x[1]

then, whether the above variable xcoord changes with timestep?

2008/2/21, Steve Plimpton <[email protected]>: