Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / mdlib / forcerec.c
index c999e409144979472660e9954fed3ef6eae50806..836b23d8fbb85319074248d00c165665e5d563a5 100644 (file)
@@ -2861,6 +2861,11 @@ void init_forcerec(FILE              *fp,
         gmx_fatal(FARGS, "Switch/shift interaction not supported with Buckingham");
     }
 
+    if (fr->bBHAM && fr->cutoff_scheme == ecutsVERLET)
+    {
+        gmx_fatal(FARGS, "Verlet cutoff-scheme is not supported with Buckingham");
+    }
+
     if (fp)
     {
         fprintf(fp, "Cut-off's:   NS: %g   Coulomb: %g   %s: %g\n",