*
* Copyright (c) 1991-2000, University of Groningen, The Netherlands.
* Copyright (c) 2001-2007, The GROMACS development team.
- * Copyright (c) 2013,2014,2015, by the GROMACS development team, led by
+ * Copyright (c) 2013,2014,2015,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.
return;
}
real area = 0.0, vol = 0.0;
- real *dots = NULL, *atom_area = NULL;
+ real *dots = nullptr, *atom_area = nullptr;
int lfnr = 0, maxdots = 0;
if (mode & FLAG_VOLUME)
{
{
flags |= impl_->flags_;
*area = 0;
- if (volume == NULL)
+ if (volume == nullptr)
{
flags &= ~FLAG_VOLUME;
}
{
*volume = 0;
}
- if (at_area == NULL)
+ if (at_area == nullptr)
{
flags &= ~FLAG_ATOM_AREA;
}
else
{
- *at_area = NULL;
+ *at_area = nullptr;
}
- if (lidots == NULL)
+ if (lidots == nullptr)
{
flags &= ~FLAG_DOTS;
}
else
{
- *lidots = NULL;
+ *lidots = nullptr;
}
- if (n_dots == NULL)
+ if (n_dots == nullptr)
{
flags &= ~FLAG_DOTS;
}