Which Dump Command?

I would like to preform a dump command every n timesteps such as this…

atomid vx vy vz

but I am hoping to remove all header lines. Such a dump file could be quickly read by Matlab using Matlab’s import command. A simple loop through atom id’s could differentiate between each dump interval. My goal is to get phonon DOS without waiting on “readdump_all.m”.

Any suggestions?

Mike

LAMMPS can't do that directly. Just write
out an atom-style dump, and then write a simple
sed script to strip the headers. Or split it into
files and whack the 1st N lines of each file and
cat it back together etc. Linux commands are your friend.

Steve

I’m new to Linux, just looked up SED. This looks extremely helpful! Thanks!

Mike