#include "gromacs/utility/fatalerror.h"
#include "gromacs/utility/smalloc.h"
-static void copy_bond (t_params *pr, int to, int from)
+static void copy_bond (InteractionTypeParameters *pr, int to, int from)
/* copies an entry in a bond list to another position.
* does no allocing or freeing of memory
*/
return nh;
}
-void make_shake (t_params plist[], t_atoms *atoms, int nshake)
+void make_shake(gmx::ArrayRef<InteractionTypeParameters> plist, t_atoms *atoms, int nshake)
{
- char ***info = atoms->atomname;
- t_params *pr;
- t_params *bonds;
- t_param p, *bond, *ang;
- real b_ij, b_jk;
- int i, j, ftype, ftype_a;
- bool bFound;
+ char ***info = atoms->atomname;
+ InteractionTypeParameters *pr;
+ InteractionTypeParameters *bonds;
+ t_param p, *bond, *ang;
+ real b_ij, b_jk;
+ int i, j, ftype, ftype_a;
+ bool bFound;
if (nshake != eshNONE)
{