*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, 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.
}
void rerun_parallel_comm(t_commrec *cr, t_trxframe *fr,
- gmx_bool *bNotLastFrame)
+ gmx_bool *bLastStep)
{
rvec *xp, *vp;
- if (MASTER(cr) && !*bNotLastFrame)
+ if (MASTER(cr) && *bLastStep)
{
fr->natoms = -1;
}
fr->x = xp;
fr->v = vp;
- *bNotLastFrame = (fr->natoms >= 0);
+ *bLastStep = (fr->natoms < 0);
}
*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2016,2017, 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.
gmx_int64_t value);
void rerun_parallel_comm(t_commrec *cr, t_trxframe *fr,
- gmx_bool *bNotLastFrame);
+ gmx_bool *bLastStep);
/* get the conserved energy associated with the ensemble type*/
real compute_conserved_from_auxiliary(t_inputrec *ir, t_state *state,