[lammps-users] Conditions to exit a loop

Hi users,

I want to use the value of a variable to decide whether to continue running
the simulation or exit a loop.

Is there a simple way -like an if statement - to do this from the input

Ly Le

Added an "if" command as a patch. It should be useable to
do what you are asking.