Dump file without timestep 0

Hi,

I am using the "dump" command with "custom" style and I want to print in
a file values (positions and forces) only from the last timestep of my
simulation. I know I can use a huge "N" so essentially lammps will write
the timestep 0 and the very last timestep. Is there a way to avoid
writing timestep 0? I cannot find something in the manual.

Thanks
Alex

Hi,

I am using the "dump" command with "custom" style and I want to print in
a file values (positions and forces) only from the last timestep of my
simulation. I know I can use a huge "N" so essentially lammps will write
the timestep 0 and the very last timestep. Is there a way to avoid
writing timestep 0? I cannot find something in the manual.

why don't you just use the write_dump command?

axel.

Hi Axel,

Thanks for the advice! I didn't think of using write_dump.

Cheers
Alex