Turn t_forcerec.shift_vec into an std::vector of gmx::RVec
[alexxy/gromacs.git] / src / gromacs / pbcutil / pbc.h
index 17ccfbcf5a65d4eaf89deefd1cd79a3f70e1cfd4..fce60b814fc62be5e95d82119a215369b25f73ee 100644 (file)
@@ -283,7 +283,7 @@ void pbc_dx_d(const t_pbc* pbc, const dvec x1, const dvec x2, dvec dx);
  * \param[in]  box       The simulation box
  * \param[out] shift_vec The shifting vectors
  */
-void calc_shifts(const matrix box, rvec shift_vec[]);
+void calc_shifts(const matrix box, gmx::ArrayRef<gmx::RVec> shift_vec);
 
 /*! \brief Calculates the center of the box.
  *