Dear all,
I have a loop in lammps where a minimization is done with each iteration. I would like to be able to save (pe) and (lz) in a vector after each iteration and use the vectors after the loop (to find their minimum for instance). Ideally it would look like this:
variable n loop 5
label loop
minimize 1.0e-8 1.0e-8 100000 100000
variable aa[n] equal (lz)
next n
jump run_1.34_csh_1.in loop
I would appreciate any help with this problem.
Thank you,
Ali