Initialize inputrec better in genbox
authorMark Abraham <mark.j.abraham@gmail.com>
Thu, 6 Feb 2014 17:23:49 +0000 (18:23 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Fri, 7 Feb 2014 22:07:17 +0000 (23:07 +0100)
commitec38466b3525c46402e8fe290dffcd421fbc4aa6
tree325472b496921a873ba2a9dbc652482bf5e3b289
parent97bdc26e50b6a8e64a3bbb3f2901f9fc24286cf9
Initialize inputrec better in genbox

Incoming NBNXN patches change the behaviour if you just leave the VDW
modifier set to zero. The modifier is not supposed to be zero, because
grompp is supposed to change eintmodPOTSHIFT_VERLET to something
non-zero, but since we don't have a vanilla constructor for an
inputrec and use it outside grompp, we have a horrible flow-on effect.

So we set both the modifiers explicitly, to avoid these problems.

Change-Id: I2f8381e81104e673fb1a602b2d9cac1ccd81fff0
src/gromacs/gmxpreprocess/genbox-addconf.c