Merge release-5-0 into master
[alexxy/gromacs.git] / src / gromacs / mdlib / tpi.c
index c19a5ef38c8ac71d13ab95d0af22291d0a2dc00a..d517174f1b353d40ca35673e8fc4269e3f7e170a 100644 (file)
@@ -166,6 +166,11 @@ double do_tpi(FILE *fplog, t_commrec *cr,
     real bU_bin_limit      = 50;
     real bU_logV_bin_limit = bU_bin_limit + 10;
 
+    if (inputrec->cutoff_scheme == ecutsVERLET)
+    {
+        gmx_fatal(FARGS, "TPI does not work (yet) with the Verlet cut-off scheme");
+    }
+
     nnodes = cr->nnodes;
 
     top = gmx_mtop_generate_local_top(top_global, inputrec);