Remove references to ecutsGROUP
[alexxy/gromacs.git] / src / gromacs / gmxpreprocess / grompp.cpp
index 1c8b99d808e9ac2641cbf4bf3f5ebfb18ca9bb54..553cd9f232ac7024db4f3d1cccb82f87424c6e47 100644 (file)
@@ -768,15 +768,6 @@ new_status(const char *topfile, const char *topppfile, const char *confin,
         warning(wi, buf);
     }
 
-    /* If using the group scheme, make sure charge groups are made whole to avoid errors
-     * in calculating charge group size later on
-     */
-    if (ir->cutoff_scheme == ecutsGROUP && ir->ePBC != epbcNONE)
-    {
-        // Need temporary rvec for coordinates
-        do_pbc_first_mtop(nullptr, ir->ePBC, state->box, sys, state->x.rvec_array());
-    }
-
     /* Do more checks, mostly related to constraints */
     if (bVerbose)
     {