Move update grouping to DDSystemInfo
[alexxy/gromacs.git] / src / gromacs / domdec / distribute.cpp
index 25efe43f9defa737a35290c0c2ef5dc445d56208..e0615aba27ae8e2dcfd56e9215ce0ece1da81243 100644 (file)
@@ -408,12 +408,12 @@ getAtomGroupDistribution(const gmx::MDLogger &mdlog,
 
     std::vector < std::vector < int>> indices(dd->nnodes);
 
-    if (dd->comm->useUpdateGroups)
+    if (dd->comm->systemInfo.useUpdateGroups)
     {
         int atomOffset = 0;
         for (const gmx_molblock_t &molblock : mtop.molblock)
         {
-            const auto &updateGrouping = dd->comm->updateGroupingPerMoleculetype[molblock.type];
+            const auto &updateGrouping = dd->comm->systemInfo.updateGroupingPerMoleculetype[molblock.type];
 
             for (int mol = 0; mol < molblock.nmol; mol++)
             {