*
* 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.
{
md->nCrmsd = 1;
}
- md->bConstrVir = (getenv("GMX_CONSTRAINTVIR") != NULL);
+ md->bConstrVir = (getenv("GMX_CONSTRAINTVIR") != nullptr);
}
else
{
/* Pass NULL for unit to let get_ebin_space determine the units
* for interaction_function[i].longname
*/
- md->ie = get_ebin_space(md->ebin, md->f_nre, ener_nm, NULL);
+ md->ie = get_ebin_space(md->ebin, md->f_nre, ener_nm, nullptr);
if (md->nCrmsd)
{
/* This should be called directly after the call for md->ie,
do_enxnms(fp_ene, &md->ebin->nener, &md->ebin->enm);
}
- md->print_grpnms = NULL;
+ md->print_grpnms = nullptr;
/* check whether we're going to write dh histograms */
- md->dhc = NULL;
+ md->dhc = nullptr;
if (ir->fepvals->separate_dhdl_file == esepdhdlfileNO)
{
/* Currently dh histograms are only written with dynamics */
mde_delta_h_coll_init(md->dhc, ir);
}
- md->fp_dhdl = NULL;
+ md->fp_dhdl = nullptr;
snew(md->dE, ir->fepvals->n_lambda);
}
else
{
/* zero for simulated tempering */
md->dE[i] = enerd->enerpart_lambda[i+1]-enerd->enerpart_lambda[0];
- if (md->temperatures != NULL)
+ if (md->temperatures != nullptr)
{
/* MRS: is this right, given the way we have defined the exchange probabilities? */
/* is this even useful to have at all? */
if (md->nE > 1)
{
- if (md->print_grpnms == NULL)
+ if (md->print_grpnms == nullptr)
{
snew(md->print_grpnms, md->nE);
n = 0;