Dear LAMMPS users and developers,
Please accept my apologies if this is quite a trivial question. (I looked into the manual and mail list but no findings yet)
I have a very long variable array (up to a couple hundred of elements) such as:
variable t world 0 1 2 3 4…
world w world 230 237 250…
Is there a smarter way to assign the array, if
-
they are arithmetic sequence such as 10, 12, 14, 16…
-
they are of no order?
Thank you so much for the help.
LC Liu