Move locality.h from nbnxm to mdtypes
[alexxy/gromacs.git] / src / gromacs / mdtypes / state_propagator_data_gpu.h
index b5bc2699c0bcbae12af7f45e46e17a6919de237b..5617395073652d63a3774fe3514af38d0ccc76c7 100644 (file)
@@ -57,6 +57,8 @@
 #include "gromacs/utility/arrayref.h"
 #include "gromacs/utility/classhelpers.h"
 
+#include "locality.h"
+
 class GpuEventSynchronizer;
 
 namespace gmx
@@ -66,19 +68,6 @@ class StatePropagatorDataGpu
 {
     public:
 
-        /*! \brief Atom locality indicator: local, non-local, all.
-         *
-         * \todo This should be managed by a separate object, since the localities
-         *       are used here and in buffer ops.
-         */
-        enum class AtomLocality : int
-        {
-            Local    = 0, //!< Local atoms
-            NonLocal = 1, //!< Non-local atoms
-            All      = 2, //!< Both local and non-local atoms
-            Count    = 3  //!< The number of atom locality types
-        };
-
         /*! \brief Constructor
          *
          * The buffers are reallocated only at the reinit call, the padding is