*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2017,2018, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017,2018,2019, 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.
resizeLagrangianData(shaked, ncons);
}
+// TODO: Check if this code is useful. It might never be called.
void
-make_shake_sblock_dd(shakedata *shaked,
- const t_ilist *ilcon, const t_block *cgs,
+make_shake_sblock_dd(shakedata *shaked,
+ const t_ilist *ilcon,
const gmx_domdec_t *dd)
{
int ncons, c, cg;
cg = 0;
for (c = 0; c < ncons; c++)
{
- if (c == 0 || iatom[1] >= cgs->index[cg+1])
+ if (c == 0 || iatom[1] >= cg + 1)
{
shaked->sblock[shaked->nblocks++] = 3*c;
- while (iatom[1] >= cgs->index[cg+1])
+ while (iatom[1] >= cg + 1)
{
cg++;
}