<div dir="ltr">Hi Steve,<br><br>if I recall correctly you are not the first to struggle with this issue. Maybe you could write a short wiki-page, once you have it all figured out?<br><br>-Ole<br><br>Am Mittwoch, 20. Mai 2015 13:36:22 UTC+2 schrieb Steve Schmerler:<blockquote class="gmail_quote" style="margin: 0;margin-left: 0.8ex;border-left: 1px #ccc solid;padding-left: 1ex;">On May 20 02:37 -0700, Matthias Krack wrote:
<br>> Hi Steve
<br>>
<br>> I have just checked in a tool called dumpdcd.f90 which you can find now in
<br>> the cp2k/tools folder of the current CP2K trunk version. It should allow
<br>> the dump of DCD files generated by CP2K. It provides also some other useful
<br>> functionality. After compiling it using e.g.
<br>>
<br>> gfortran -o dumdcd.exe dumpdcd.f90
<br>>
<br>> dumpdcd.exe -h
<br>>
<br>> prints a help menu. The flags -i and -d provide a more detail dump. For
<br>> atomic labels you have to supply an XYZ template file.
<br>
<br>OK thanks, that was helpful. So you just read until the end of the file
<br>and cp2k doesn't store the number of steps (frames) in the header. And
<br>cp2k seems to store the angles directly [a,gamma,b,beta,alpha,c], while
<br>lammps stores their cosines [a,cos(gamma),b,cos(beta),cos(<wbr>alpha),c] and
<br>both do this in the same somewhat unusual ordering. Well, this dcd
<br>business is really something. Is there an official specification of the
<br>format(s)? Anyway, thank you very much for this tool and the fast
<br>response.
<br>
<br>best,
<br>Steve
<br>
<br>--
<br>Steve Schmerler
<br>Institut für Theoretische Physik
<br>TU Freiberg, Germany
<br></blockquote></div>