Clarification in in.lj input script

Can somebody please explain the use of the following statements in in.lj

variable	x index 1
variable	y index 1
variable	z index 1

variable	xx equal 20*$x
variable	yy equal 20*$y
variable	zz equal 20*$z

The manual says the index style should be followed by a string. 

Thanks 
Arun

I have already answered a similar question of yours. :slight_smile:

Ray

Can somebody please explain the use of the following statements in in.lj

variable x index 1
variable y index 1
variable z index 1

variable xx equal 20*$x
variable yy equal 20*$y
variable zz equal 20*$z

The manual says the index style should be followed by a string.

it does. in all six cases.

axel.

The reason to use a variable for the box size (and thus
the number of atoms) is so that you can at run time

use -var x 3 in the command line to run a different size
problem. Useful for benchmarking. E.g. see the
bench/README file.

Steve