Replace DOMAINDECOMP macro by a renamed function
[alexxy/gromacs.git] / src / gromacs / domdec / mdsetup.cpp
index f6799a6c23dc81ec6b83e1f546638783bd1653ed..9aedfc1b830d8e697aa7744ef5e72901c9ab0ffc 100644 (file)
@@ -77,7 +77,7 @@ void mdAlgorithmsSetupAtomData(const t_commrec*     cr,
                                VirtualSitesHandler* vsite,
                                gmx_shellfc_t*       shellfc)
 {
-    bool usingDomDec = DOMAINDECOMP(cr);
+    bool usingDomDec = haveDDAtomOrdering(*cr);
 
     int numAtomIndex;
     int numHomeAtoms;