*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016,2017, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017,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.
return ell;
}
-real ahx_len(int gnx, int index[], rvec x[])
+real ahx_len(int gnx, const int index[], rvec x[])
/* Assume we have a list of Calpha atoms only! */
{
rvec dx;
return norm(dx);
}
-real radius(FILE *fp, int nca, int ca_index[], rvec x[])
+real radius(FILE *fp, int nca, const int ca_index[], rvec x[])
/* Assume we have all the backbone */
{
real dl2, dlt;
return std::sqrt(dlt/nca);
}
-static real rot(rvec x1, rvec x2)
+static real rot(rvec x1, const rvec x2)
{
real phi1, dphi, cp, sp;
real xx, yy;
return dphi;
}
-real twist(int nca, int caindex[], rvec x[])
+real twist(int nca, const int caindex[], rvec x[])
{
real pt, dphi;
int i, a0, a1;
return (pt/(nca-1));
}
-real ca_phi(int gnx, int index[], rvec x[])
+real ca_phi(int gnx, const int index[], rvec x[])
/* Assume we have a list of Calpha atoms only! */
{
real phi, phitot;
return norm(dipje);
}
-real rise(int gnx, int index[], rvec x[])
+real rise(int gnx, const int index[], rvec x[])
/* Assume we have a list of Calpha atoms only! */
{
real z, z0, ztot;