Enable update groups
[alexxy/gromacs.git] / src / gromacs / domdec / partition.cpp
index 0fe65fcfb83d87ac9bc6258d0abdda2f2135fe48..7d9e8b6cd9b7aacdd6d863c6d75b1d815641e17f 100644 (file)
@@ -2802,7 +2802,8 @@ static void dd_sort_state(gmx_domdec_t *dd, rvec *cgcm, t_forcerec *fr, t_state
     dd->ncg_home = sort->sorted.size();
     if (debug)
     {
-        fprintf(debug, "Set the new home charge group count to %d\n",
+        fprintf(debug, "Set the new home %s count to %d\n",
+                dd->comm->bCGs ? "charge group" : "atom",
                 dd->ncg_home);
     }
 
@@ -3303,7 +3304,7 @@ void dd_partition_system(FILE                    *fplog,
 
     ncg_home_old = dd->ncg_home;
 
-    /* When repartitioning we mark charge groups that will move to neighboring
+    /* When repartitioning we mark atom groups that will move to neighboring
      * DD cells, but we do not move them right away for performance reasons.
      * Thus we need to keep track of how many charge groups will move for
      * obtaining correct local charge group / atom counts.