/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2016,2017,2019, by the GROMACS development team, led by
+ * Copyright (c) 2012,2013,2014,2015,2016 by the GROMACS development team.
+ * Copyright (c) 2017,2018,2019,2020,2021, by the GROMACS development team, led by
* Mark Abraham, David van der Spoel, Berk Hess, and Erik Lindahl,
* and including many others, as listed in the AUTHORS file in the
* top-level source directory and at http://www.gromacs.org.
struct nbnxn_atomdata_t;
struct NbnxnPairlistCpu;
+namespace gmx
+{
+template<typename>
+class ArrayRef;
+}
+
/*! \brief Prune a single NbnxnPairlistCpu entry with distance \p rlistInner
*
* Reads a cluster pairlist \p nbl->ciOuter, \p nbl->cjOuter and writes
* all cluster pairs within \p rlistInner to \p nbl->ci, \p nbl->cj.
*/
-void nbnxn_kernel_prune_2xnn(NbnxnPairlistCpu* nbl,
- const nbnxn_atomdata_t* nbat,
- const rvec* gmx_restrict shift_vec,
- real rlistInner);
+void nbnxn_kernel_prune_2xnn(NbnxnPairlistCpu* nbl,
+ const nbnxn_atomdata_t* nbat,
+ gmx::ArrayRef<const gmx::RVec> shift_vec,
+ real rlistInner);