Unite the post-DD-partition update of the local topology
[alexxy/gromacs.git] / src / gromacs / domdec / mdsetup.cpp
index 1176ddb4e178650b9697c3a366fc38576cc20b5e..7ff47990f7dfd68d355cf33ce4e4fdb8af0d78c9 100644 (file)
@@ -108,11 +108,7 @@ void mdAlgorithmsSetupAtomData(const t_commrec*     cr,
              mdAtoms);
 
     t_mdatoms* mdatoms = mdAtoms->mdatoms();
-    if (usingDomDec)
-    {
-        dd_sort_local_top(*cr->dd, fr->atomInfo, top);
-    }
-    else
+    if (!usingDomDec)
     {
         gmx_mtop_generate_local_top(top_global, top, inputrec.efep != FreeEnergyPerturbationType::No);
     }