Also use DD partitioning in serial
[alexxy/gromacs.git] / src / gromacs / mdlib / constr.cpp
index 17fa1b19ff77b5009dfcec74f74c41c3e1a4738a..255dfb77a3528121ad8fa4a17f6cb018155e445f 100644 (file)
@@ -489,7 +489,7 @@ bool Constraints::Impl::apply(bool                      bLog,
     /* Communicate the coordinates required for the non-local constraints
      * for LINCS and/or SETTLE.
      */
-    if (cr->dd)
+    if (havePPDomainDecomposition(cr))
     {
         dd_move_x_constraints(cr->dd,
                               box,