Replace DOMAINDECOMP macro by a renamed function
[alexxy/gromacs.git] / src / gromacs / restraint / restraintmdmodule_impl.h
index 8cfab33f45706d09565f230dfa1a59ffc367b4c4..bc22320e5a64c93b8ab52028d7218930dcf1b647 100644 (file)
@@ -132,7 +132,7 @@ public:
         // Center of mass to return for the site. Currently the only form of site
         // implemented is as a global atomic coordinate.
         gmx::RVec r = { 0, 0, 0 };
-        if (DOMAINDECOMP(&cr)) // Domain decomposition
+        if (haveDDAtomOrdering(cr)) // Domain decomposition
         {
             // Get global-to-local indexing structure
             auto* crossRef = cr.dd->ga2la;