Convert gmx_stochd_t to C++
[alexxy/gromacs.git] / src / gromacs / mdlib / update.h
index be81265beac8f84f761c1718b1b4490afa16345d..da2a9b765b839c1e28d6f71e79984c7bc82dd16f 100644 (file)
@@ -221,7 +221,8 @@ void berendsen_tcoupl(const t_inputrec *ir, const gmx_ekindata_t *ekind, real dt
 void andersen_tcoupl(const t_inputrec *ir, int64_t step,
                      const t_commrec *cr, const t_mdatoms *md,
                      gmx::ArrayRef<gmx::RVec> v,
-                     real rate, const gmx_bool *randomize, const real *boltzfac);
+                     real rate, const std::vector<bool> &randomize,
+                     gmx::ArrayRef<const real> boltzfac);
 
 void nosehoover_tcoupl(const t_grpopts *opts, const gmx_ekindata_t *ekind, real dt,
                        double xi[], double vxi[], const t_extmass *MassQ);