Fixes to free energy code, output & g_bar compatibility.
authorSander Pronk <pronk@kth.se>
Thu, 10 Jan 2013 22:35:28 +0000 (23:35 +0100)
committerSander Pronk <pronk@kth.se>
Thu, 17 Jan 2013 15:37:50 +0000 (16:37 +0100)
commit23eb71d14195e494f215bca1115bdb0b47bd5cf7
tree5f108a7972f9245ad7f2d16c2d3fcbd0ba96b454
parente508a07b6e127fa1cf31d263bcbd33e4040066cb
Fixes to free energy code, output & g_bar compatibility.

- Fixes to the handling of the new free energy input options, so that
    input are more stringently checked and common errors are caught.
- Fixed g_bar so it can deal with output from mdrun (in dhdl.xvg and
    ener.edr input)
- Free energy output is now backward compatible with g_bar if 4.5-style
    settings are used
- Some mdp option documentation clarifications.

This fixes issue #1090

Still left to do:
- g_energy -odh relies on an ugly hack to get the xvg headers for free
  energy
output to work. That needs to be fixed so ener.edr can be interpreted
independently from the associated tpr file.
- The mdp documentation could use some more improvements.

Change-Id: I6198f935a94b7341d8dd85444e348ea8a55621ad
14 files changed:
include/mdebin.h
include/names.h
include/types/inputrec.h
share/html/online/mdp_opt.html
src/gmxlib/names.c
src/gmxlib/tpxio.c
src/gmxlib/txtdump.c
src/kernel/md.c
src/kernel/readir.c
src/mdlib/mdebin.c
src/mdlib/mdebin_bar.c
src/mdlib/mdebin_bar.h
src/tools/gmx_bar.c
src/tools/gmx_energy.c