[lammps-users] direction in setforce command

Hi all,
I needed little clarification of the command. If I use setforce to push few atoms in which direction will they be pushed.

I have a domain X= -l to l with a hole at X=0. I want to push the right side atoms to +X direction and left side atoms to -X direction. I am using:

Your logic is correct. A force of -1 pushes things
to the left; +1 is to the right.