Fixed flop-accounting for periodic improper dihedrals
authorErik Lindahl <erik@kth.se>
Mon, 7 Jan 2013 00:19:15 +0000 (01:19 +0100)
committerGerrit Code Review <gerrit@gerrit.gromacs.org>
Thu, 10 Jan 2013 22:04:49 +0000 (23:04 +0100)
Flops were incorrectly assigned as proper dihedrals.
Fixes #632.

Change-Id: Ifda09b9a0e6575c5f6f19f3c55979804fe1dc2eb

src/gmxlib/ifunc.c

index 79ac2e206411baadc62810bb625832f05ac39438..e2d6f79a7456be1e7473b59f9083153363a341f9 100644 (file)
@@ -112,7 +112,7 @@ const t_interaction_function interaction_function[F_NRE]=
   def_bonded  ("RBDIHS",   "Ryckaert-Bell.",  4, 6, 6,  eNR_RB, rbdihs            ),
   def_bonded  ("FOURDIHS", "Fourier Dih.",    4, 4, 4,  eNR_FOURDIH, rbdihs       ),
   def_bonded  ("IDIHS",    "Improper Dih.",   4, 2, 2,  eNR_IMPROPER,idihs        ),
-  def_bonded  ("PIDIHS",   "Improper Dih.",   4, 3, 3,  eNR_PROPER, pdihs         ),
+  def_bonded  ("PIDIHS",   "Improper Dih.",   4, 3, 3,  eNR_IMPROPER, pdihs       ),
   def_bondedt ("TABDIHS", "Tab. Dih.",        4, 2, 2,  eNR_TABDIHS, tab_dihs     ),
   def_bonded  ("CMAP",  "CMAP Dih.",          5, -1, -1,  eNR_CMAP,   unimplemented ),
   def_bonded  ("GB12",     "GB 1-2 Pol.",     2, 4, 0,  eNR_GB,     unimplemented ),