Fix nblib pairlist update function
[alexxy/gromacs.git] / api / nblib / integrator.h
index f72d6b46d1fecc2059e7cba2479afcace1ca0a5d..02f3a907bf68e848f391bbb026d2f85d2106e8c3 100644 (file)
@@ -74,6 +74,13 @@ public:
      */
     LeapFrog(const Topology& topology, const Box& box);
 
+    /*! \brief Constructor.
+     *
+     * \param[in] masses  List of inverse masses.
+     * \param[in] box     Box object for ensuring that coordinates remain within bounds
+     */
+    LeapFrog(gmx::ArrayRef<const real> inverseMasses, const Box& box);
+
     /*! \brief Integrate
      *
      * Integrates the equation of motion using Leap-Frog algorithm.