Disallow extracting V/F from XTC files in g_traj
authorErik Lindahl <erik@kth.se>
Fri, 20 Jun 2014 15:52:51 +0000 (17:52 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Mon, 23 Jun 2014 11:50:09 +0000 (13:50 +0200)
commit42053c972c232cc05c17e496159a484129a6fe5b
tree54d87611d30d3cda8cdca161461ee67be9c5ec71
parentf3c4bd6b911505085e9b397b358a6b1336feeff1
Disallow extracting V/F from XTC files in g_traj

We now issue a fatal error if the user asks for velocities or
forces to be written to as output from g_traj when the input
XTC file does not contain these quantities.

Fixes #1298.

Change-Id: I45a12fb1e5db5b2b2e1b072444e5430373fbaaa3
src/gromacs/gmxana/gmx_traj.c