Fixed a consistency check in make_edi for flooding
authorCarsten Kutzner <ckutzne@gwdg.de>
Thu, 15 Jun 2017 11:40:15 +0000 (13:40 +0200)
committerCarsten Kutzner <ckutzne@gwdg.de>
Fri, 16 Jun 2017 12:52:32 +0000 (14:52 +0200)
commit3f1eb0a03d2710848c2e2a06b6a4d1c0b6b82ab8
treeefa85a0951f7c1121e6239eeedd882269705fcd4
parent07da80b97f553c0e4f7054b0a1a118deedd158b6
Fixed a consistency check in make_edi for flooding

If one sets up a flooding .edi input file with gmx make_edi,
the code should check that one does not use of the last 6 eigenvectors
of the covariance matrix, which correspond to the rotational and
translational degrees of freedom.
The check that was in the code erroneously checked against the
number of eigenvalues neig that was stored in the .xvg file,
not against the total number of eigenvectors which depends on
the number of atoms nav used in gmx covar. Thus the original
check would always fail if the .xvg eigenvalue file contained
1-6 values only.

Change-Id: Ib293f6b69b80fbf014a7507431beaf1f939849ac
src/gromacs/gmxana/gmx_make_edi.cpp