*
* 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
-real calc_similar_ind(gmx_bool bRho, int nind, int *index, real mass[],
+real calc_similar_ind(gmx_bool bRho, int nind, const int *index, const real mass[],
rvec x[], rvec xp[]);
/* Returns RMSD or Rho (depending on bRho) over all atoms in index */
* Maiorov & Crippen, PROTEINS 22, 273 (1995).
*/
-void calc_fit_R(int ndim, int natoms, real *w_rls, const rvec *xp, rvec *x,
+void calc_fit_R(int ndim, int natoms, const real *w_rls, const rvec *xp, rvec *x,
matrix R);
/* Calculates the rotation matrix R for which
* sum_i w_rls_i (xp_i - R x_i).(xp_i - R x_i)