-bool constrain_shake(FILE* log, /* Log file */
- shakedata* shaked, /* Total number of atoms */
- const real invmass[], /* Atomic masses */
- const InteractionDefinitions& idef, /* The interaction def */
- const t_inputrec& ir, /* Input record */
- ArrayRef<const RVec> x_s, /* Coords before update */
- ArrayRef<RVec> xprime, /* Output coords when constraining x */
- ArrayRef<RVec> vprime, /* Output coords when constraining v */
- const t_pbc* pbc, /* PBC information */
- t_nrnb* nrnb, /* Performance measure */
- real lambda, /* FEP lambda */
+bool constrain_shake(FILE* log, /* Log file */
+ shakedata* shaked, /* Total number of atoms */
+ gmx::ArrayRef<const real> invmass, /* Atomic masses */
+ const InteractionDefinitions& idef, /* The interaction def */
+ const t_inputrec& ir, /* Input record */
+ ArrayRef<const RVec> x_s, /* Coords before update */
+ ArrayRef<RVec> xprime, /* Output coords when constraining x */
+ ArrayRef<RVec> vprime, /* Output coords when constraining v */
+ const t_pbc* pbc, /* PBC information */
+ t_nrnb* nrnb, /* Performance measure */
+ real lambda, /* FEP lambda */