Dump command only accept integer value

Submitted by uhelfenstein on Mon, 12/23/2013 - 12:47

Hi,

I am used to calculate the number of time steps after which I want to write a dump file.

variable l equal v_DumpTime1/v_dt
dump dmp all custom $l post/dump*.$a &
id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

If I run this with LIGGGHTS 3.0.0-beta, I got the following error:

ERROR: Expected integer parameter in input script or data file (../output.cpp:547)

According the log file the last command which was executed and causes the error is the following:

dump dmp all custom 911255.57215977238957 post/dump*.KV1_25_ id type type x y z ix iy iz vx vy vz fx fy fz omegax omegay omegaz radius

It can be seen that the number is not an integer due to the calculation. I propose to change the source that it convert non-integer values into integer.

If I do the same with the run command (calculate the amount of time steps to simulate a defined time and the result is a non-integer value) it works.

Regards, Urs