[lammps-users] Bug in data2xmovie

I found lines that read like this:

sscanf(line,"%d %d %d %lg %lg %lg",
       &tag,&type,&x,&y,&z);

when they should have read like this:

sscanf(line,"%d %d %lg %lg %lg",
       tag,&type,&x,&y,&z);

Notice the extra "%d" on the previous set of lines. A
patch is attached.

data2xmovie.diff (609 Bytes)

Just posted a patch to fix this bug. Ditto for your post yesterday
about empty "Pair Coeff" sections in data files produced
by the restart2data tool.

Thanks,
Steve