atom_modify map array region test block -10 10 -10 10 -10 10 create_box 1 test create_atoms 1 single 0 0 0 variable x equal x[1] variable y equal y[1] variable z equal z[1] variable shift_x equal -5 variable shift_y equal 4 variable shift_z equal 2.1 print "Coordinates of an atom before displacing: ${x} ${y} ${z}" print "Displace values: ${shift_x} ${shift_y} ${shift_z}" displace_atoms all move -${shift_x} -${shift_y} -${shift_z} print "Coordinates of an atom after displacing: ${x} ${y} ${z}"