COM pulling options per coord, improved cylinder
[alexxy/gromacs.git] / src / programs / mdrun / runner.cpp
index 8004e6a7edd91fbdd17e2381eb8ef30148936b4e..10c6cc47fa1712367db2e76beb33c0c930a9a5c2 100644 (file)
@@ -1589,7 +1589,7 @@ int mdrunner(gmx_hw_opt_t *hw_opt,
         /* Assumes uniform use of the number of OpenMP threads */
         walltime_accounting = walltime_accounting_init(gmx_omp_nthreads_get(emntDefault));
 
-        if (inputrec->ePull != epullNO)
+        if (inputrec->bPull)
         {
             /* Initialize pull code */
             init_pull(fplog, inputrec, nfile, fnm, mtop, cr, oenv, inputrec->fepvals->init_lambda,
@@ -1639,7 +1639,7 @@ int mdrunner(gmx_hw_opt_t *hw_opt,
                                       Flags,
                                       walltime_accounting);
 
-        if (inputrec->ePull != epullNO)
+        if (inputrec->bPull)
         {
             finish_pull(inputrec->pull);
         }