t_extmass *MassQ, int **trotter_seqlist, int trotter_seqno)
{
- int n, i, d, ngtc, gc = 0;
+ int n, i, d, ngtc, gc = 0, t;
t_grp_tcstat *tcstat;
t_grpopts *opts;
gmx_int64_t step_eff;
scale the velocities later, but we need them scaled in order to
produce the correct outputs, so we'll scale them here. */
- for (i = 0; i < ngtc; i++)
+ for (t = 0; t < ngtc; t++)
{
- tcstat = &ekind->tcstat[i];
- tcstat->vscale_nhc = scalefac[i];
- tcstat->ekinscaleh_nhc *= (scalefac[i]*scalefac[i]);
- tcstat->ekinscalef_nhc *= (scalefac[i]*scalefac[i]);
+ tcstat = &ekind->tcstat[t];
+ tcstat->vscale_nhc = scalefac[t];
+ tcstat->ekinscaleh_nhc *= (scalefac[t]*scalefac[t]);
+ tcstat->ekinscalef_nhc *= (scalefac[t]*scalefac[t]);
}
/* now that we've scaled the groupwise velocities, we can add them up to get the total */
/* but do we actually need the total? */