Replace DOMAINDECOMP macro by a renamed function
[alexxy/gromacs.git] / src / gromacs / pulling / pull_rotation.cpp
index 325c3f65b92a6a8fa8d7f7e80df5ad5fdcc0b63c..bcea9f3db18ef1138cbdc1f773dc4fe10b593855 100644 (file)
@@ -3980,7 +3980,7 @@ void do_rotation(const t_commrec*               cr,
 
     /**************************************************************************/
     /* Done communicating, we can start to count cycles for the load balancing now ... */
-    if (DOMAINDECOMP(cr))
+    if (haveDDAtomOrdering(*cr))
     {
         ddReopenBalanceRegionCpu(cr->dd);
     }