*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2010,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2010,2014,2015,2016,2018, 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.
extern "C" {
#endif
-void rotate_atoms(int gnx, int index[], rvec x[], matrix trans);
+void rotate_atoms(int gnx, const int index[], rvec x[], matrix trans);
/* Rotate all atoms in index using matrix trans */
void principal_comp(int n, const int index[], t_atom atom[], rvec x[],
* Returns the total mass
*/
-void add_xcm(rvec x[], int gnx, int *index, rvec xcm);
+void add_xcm(rvec x[], int gnx, const int *index, rvec xcm);
/* Increment all atoms in index with xcm */
#ifdef __cplusplus