*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2004, The GROMACS development team.
- * Copyright (c) 2013,2014,2015,2017, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,2017,2018, 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.
}
oatom = ps->param[i].a[1-k]; /* the other atom */
if (vsite_type[oatom] == NOTSET &&
- vsite_type[oatom] != F_VSITEN &&
oatom == plist[pindex[atom].ftype].param[pindex[atom].parnr].aj())
{
/* if the other atom isn't a vsite, and it is AI */
for (k = 0; (k < 2) && !bKeep; k++) /* for all atoms in the bond */
{
atom = ps->param[i].a[k];
- if (vsite_type[atom] == NOTSET && vsite_type[atom] != F_VSITEN)
+ if (vsite_type[atom] == NOTSET)
{
bUsed = FALSE;
for (m = 0; (m < vsnral) && !bUsed; m++)
for (k = 0; (k < 3) && !bKeep; k++) /* for all atoms in the angle */
{
atom = ps->param[i].a[k];
- if (vsite_type[atom] == NOTSET && vsite_type[atom] != F_VSITEN)
+ if (vsite_type[atom] == NOTSET)
{
bUsed = FALSE;
for (m = 0; (m < vsnral) && !bUsed; m++)
GMX_ASSERT(vsnral != 0, "If we've seen a vsite before, we know how many constructing atoms it had");
GMX_ASSERT(first_atoms != NULL, "If we've seen a vsite before, we know what its first atom index was");
atom = ps->param[i].a[k];
- if (vsite_type[atom] == NOTSET && vsite_type[atom] != F_VSITEN)
+ if (vsite_type[atom] == NOTSET)
{
/* vsnral will be set here, we don't get here with nvsite==0 */
bUsed = FALSE;