Fix entropy calculation in gmx anaeig
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Sat, 10 Nov 2018 06:00:24 +0000 (07:00 +0100)
committerMark Abraham <mark.j.abraham@gmail.com>
Sun, 11 Nov 2018 02:08:17 +0000 (03:08 +0100)
commit1538aaba79e66e76f4b8af4d273882ddc0d9ad39
treeb4d7b70197b4f30739b6ce1c09434685ae497430
parent03737b0cafac0fbe7445e291c418756ec5f7365b
Fix entropy calculation in gmx anaeig

gmx anaeig reads eigenvectors produced by gmx covar and
can compute entropy according to Schlitter's formula or
based on the quasiharmonic method. If the number of
eigenvectors is not consistent with the number of atoms
the entropy calculation could use uninitialized variables.
Added a warning when this happens.

Fixes #2668

Change-Id: I4f265212ce0a7bf82e25e1aa6f9cbb544c45db3f
docs/release-notes/2018/2018.4.rst
src/gromacs/gmxana/gmx_anaeig.cpp