[lammps-users] using xlo and xhi as variables

Hi all

After reading a restart file, I want to use the xlo and xhi values of
the cell as variables to find the canter of the cell. How can I do it.

Is there any way to find the center of the cell, apart from using xlo,
xhi, ylo, yhi and zlo zhi values.

Thanks
Navdeep

Define a variable that computes 0.5*(xlo+xhi). They
are thermo keywords, so you can use them in a variable.

Steve