Use RVec instead of float for x, v and f device buffers
[alexxy/gromacs.git] / src / gromacs / mdtypes / state_propagator_data_gpu.h
index 44cbc8d7e53887f0aa75abc272dbbe15bcb2f589..d75cd78ea1e2b742d559580b7d92ccfe5144a019 100644 (file)
@@ -184,7 +184,7 @@ public:
      *
      *  \returns GPU positions buffer.
      */
-    DeviceBuffer<float> getCoordinates();
+    DeviceBuffer<RVec> getCoordinates();
 
     /*! \brief Copy positions to the GPU memory.
      *
@@ -245,7 +245,7 @@ public:
      *
      *  \returns GPU velocities buffer.
      */
-    DeviceBuffer<float> getVelocities();
+    DeviceBuffer<RVec> getVelocities();
 
     /*! \brief Copy velocities to the GPU memory.
      *
@@ -280,7 +280,7 @@ public:
      *
      *  \returns GPU force buffer.
      */
-    DeviceBuffer<float> getForces();
+    DeviceBuffer<RVec> getForces();
 
     /*! \brief Copy forces to the GPU memory.
      *