Minor fix print bug

Hello,

There seems to be a bug in the latest version of LAMMPS when using fix print with multiple variables, in which the first row of the output is either missing entries or some of the variables are not being substituted correctly. The attached sample script demonstrates this problem. Rows after the first are unaffected.

For information, when I run this script, I get the following output:

Fix print output for fix 2

30 2.511937043291863958
60 2.5102476305128282874 -4.7923636730799072936 4000 -2.2821160425670790062
90 2.4727739614696742088 -4.7533657655021821498 4000 -2.280591804032507941
120 2.4633018094914844731 -4.7448371424275981312 4000 -2.2815353329361136581
150 2.4480711095940197453 -4.7286790991216705038 4000 -2.2806079895276507585

Fix print output for fix 2

180 2.4696983246754613539 {third} {fourth} ${fifth}-2.2804430938865309919
210 2.4795465996197472158 -4.7607064761810429232 4000 -2.2811598765612957074
240 2.4474690167527959339 -4.7291815232143532555 4000 -2.2817125064615573216
270 2.4732321218841808452 -4.7542966890051854278 4000 -2.2810645671210045826
300 2.4676872474710109806 -4.7498329570469808303 4000 -2.2821457095759698497

Regards,

Kevin Hanley

Post-doctoral researcher
Dept. of Civil and Environmental Engineering
Imperial College London, SW7 2AZ

in.melt (755 Bytes)

Fix for this is today's 17 Jan patch ...

Thanks,
Steve