Increased tolerance for angle functions.
authorDavid van der Spoel <spoel@xray.bmc.uu.se>
Fri, 8 Feb 2019 16:04:47 +0000 (17:04 +0100)
committerDavid van der Spoel <spoel@xray.bmc.uu.se>
Fri, 8 Feb 2019 21:26:06 +0000 (22:26 +0100)
Increased the tolerance for urey-bradley and
quartic angles some more.

Part of #2795.

Change-Id: I929957f1a8de7ad78d174cc613c544234f1450d0

src/gromacs/listed_forces/tests/bonded.cpp

index ed3a185712d1371cf7b04b777e824f8438c1a496..bb3a503d37a9e3983e2b0a36e43682d37bb6887d 100644 (file)
@@ -534,9 +534,9 @@ std::vector<iListInput> c_InputAngles =
     { iListInput().setLinearAngle(50.0, 0.4, 40.0, 0.6) },
     { iListInput(2e-6, 1e-8).setCrossBondBonds(0.8, 0.7, 45.0) },
     { iListInput(2e-6, 1e-8).setCrossBondAngles(0.8, 0.7, 0.3, 45.0) },
-    { iListInput(8e-3, 1e-8).setUreyBradley(950.0, 46.0, 0.3, 5.0) },
-    { iListInput(8e-3, 1e-8).setUreyBradley(100.0, 45.0, 0.3, 5.0, 90.0, 47.0, 0.32, 7.0) },
-    { iListInput(7e-4, 1e-8).setQuarticAngles(87.0, cQuarticAngles ) }
+    { iListInput(2e-2, 1e-8).setUreyBradley(950.0, 46.0, 0.3, 5.0) },
+    { iListInput(2e-2, 1e-8).setUreyBradley(100.0, 45.0, 0.3, 5.0, 90.0, 47.0, 0.32, 7.0) },
+    { iListInput(8e-4, 1e-8).setQuarticAngles(87.0, cQuarticAngles ) }
 };
 
 //! Constants for Ryckaert-Bellemans A