Corrected nstcalclr/nstfep/nst_repl_ex checks
authorBerk Hess <hess@kth.se>
Mon, 25 May 2015 13:54:19 +0000 (15:54 +0200)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Sat, 27 Jun 2015 20:37:13 +0000 (22:37 +0200)
commit79703ee4eff93e10c5e3308ff82fc6eb659e7977
tree81cc103b3e87d05e49ee4539cd8b32a3ffa05630
parentb79f8415c863f1d193998d920be73d4005f913c6
Corrected nstcalclr/nstfep/nst_repl_ex checks

Several checks with twin-range electrostatics still checked for
multiples of nstlist instead of nstcalclr and nst_repl_ex was not
checked at all.
Free-energy with small nstdhdl triggered frequent, unnecessary
neighbor search. It seems this can't have caused isssues with
free-energy, because nstfep needs to be a multiple of nstcalcenergy
which again needs to be a multiple of nstcalclr (was nstlist).

Change-Id: I20b8e8ab8329a3aaf904ddfa21573aee8d58c0e4
src/gromacs/gmxpreprocess/readir.c
src/programs/mdrun/md.cpp