Move locality.h from nbnxm to mdtypes
[alexxy/gromacs.git] / src / gromacs / mdrun / tpi.cpp
index c0db5dd99253a0ce429c41df732b15d2dc6913ec..b58165c61a242e93e90747a94886a38706b718ad 100644 (file)
@@ -669,7 +669,7 @@ LegacySimulator::do_tpi()
                 /* TODO: Avoid updating all atoms at every bNS step */
                 fr->nbv->setAtomProperties(*mdatoms, fr->cginfo);
 
-                fr->nbv->constructPairlist(Nbnxm::InteractionLocality::Local,
+                fr->nbv->constructPairlist(InteractionLocality::Local,
                                            &top.excls, step, nrnb);
 
                 bNS = FALSE;
@@ -724,7 +724,7 @@ LegacySimulator::do_tpi()
             }
 
             /* Note: NonLocal refers to the inserted molecule */
-            fr->nbv->convertCoordinates(Nbnxm::AtomLocality::NonLocal, false, x);
+            fr->nbv->convertCoordinates(AtomLocality::NonLocal, false, x);
 
             /* Clear some matrix variables  */
             clear_mat(force_vir);