Renamed verlet-buffer-drift to verlet-buffer-tolerance
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / calc_verletbuf.c
index e80737ffa070f70f8a01ab43711f5fd129d2b5df..781dfd841e87523098aad8f7900930a1956c4947 100644 (file)
@@ -713,7 +713,7 @@ static real surface_frac(int cluster_size, real particle_distance, real rlist)
 }
 
 void calc_verlet_buffer_size(const gmx_mtop_t *mtop, real boxvol,
-                             const t_inputrec *ir, real drift_target,
+                             const t_inputrec *ir,
                              const verletbuf_list_setup_t *list_setup,
                              int *n_nonlin_vsite,
                              real *rlist)
@@ -959,7 +959,7 @@ void calc_verlet_buffer_size(const gmx_mtop_t *mtop, real boxvol,
                     drift);
         }
 
-        if (fabs(drift) > drift_target)
+        if (fabs(drift) > ir->verletbuf_tol)
         {
             ib0 = ib;
         }