Regions command

I am new to MD simulations. Can somebody please explain what is the role of units command in region command in lammps. The units is already defined to be lj or metal units previously and then again defined in the region command. Isnt this inconsistent

Thx
Arun

region	box block 0 1 0 1 0 1 units lattice

I am new to MD simulations. Can somebody please explain what is the role of
units command in region command in lammps. The units is already defined to
be lj or metal units previously and then again defined in the region
command. Isnt this inconsistent

not at all. those two are very different entities. the units flag for
region and many other commands indicates whether any distances in
multiples of the lattice vectors (default) or in absolute cartesian
coordinates (*and* that implies using the units determined by the
units command).

axel.