[lammps-users] new version of readdump_one and readdump_all.

Hello.
i change the switch code for a series of nested if.

i test the new code with varios dump files and run good.

if you see some errors tell me.

thanks.

readdump_all.m (1.98 KB)

readdump_one.m (3.79 KB)

In readdump_all.m, why aren't you assigning to
Natoms(i) and x_bound(i,:), etc?

Steve

Just posted these files as a patch - thanks for the update.

Steve