Uniform "generated by" information in output files.
authorTeemu Murtola <teemu.murtola@gmail.com>
Fri, 5 Jul 2013 02:58:36 +0000 (05:58 +0300)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sun, 21 Jul 2013 12:21:06 +0000 (14:21 +0200)
commitd67173b36b78840466e691a4a6657d2b8fdb1c84
tree577ddd37b3e73f8db1211da2d61a676bbc5a7601
parent9909487191ec1f8910b65713b70ff669743778bb
Uniform "generated by" information in output files.

Extend the printBinaryInformation() function to make it possible to
write the lines in a particular comment format.  Use the function to
print out "Generated by" information in several output formats.  Removed
command_line() from statutil.h as it is no longer used.  Replaced most
uses of Program() with ShortProgram() where the actual path was not
relevant.

Also use printBinaryInformation() to print out information into the
mdrun log file.  Again print the copyright header to the beginning of
the log file.

Related to #1209.

Change-Id: Ibf32de318421a10d39f217517005fea408d19fbf
17 files changed:
src/contrib/do_multiprot.c
src/gromacs/commandline/cmdlinemodulemanager.cpp
src/gromacs/gmxana/gmx_densorder.cpp
src/gromacs/gmxana/gmx_dipoles.cpp
src/gromacs/gmxana/gmx_trjconv.c
src/gromacs/gmxlib/copyrite.cpp
src/gromacs/gmxlib/main.cpp
src/gromacs/gmxlib/matio.cpp
src/gromacs/gmxlib/statutil.cpp
src/gromacs/gmxlib/warninp.c
src/gromacs/gmxlib/xvgr.cpp
src/gromacs/gmxpreprocess/pdb2top.cpp
src/gromacs/legacyheaders/copyrite.h
src/gromacs/legacyheaders/pdb2top.h
src/gromacs/legacyheaders/statutil.h
src/programs/gmx/g_x2top.c
src/programs/gmx/pdb2gmx.c