/*
* This file is part of the GROMACS molecular simulation package.
*
- * Copyright (c) 2014,2015,2016, by the GROMACS development team, led by
+ * Copyright (c) 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.
energygrp_vdw = grppener->ener[egLJSR];
break;
default:
- energygrp_elec = NULL; /* Keep compiler happy */
- energygrp_vdw = NULL; /* Keep compiler happy */
+ energygrp_elec = nullptr; /* Keep compiler happy */
+ energygrp_vdw = nullptr; /* Keep compiler happy */
gmx_fatal(FARGS, "Unknown function type %d in do_nonbonded14", ftype);
break;
}
t_pbc pbc_no;
const t_pbc *pbc_nonnull;
- if (pbc != NULL)
+ if (pbc != nullptr)
{
pbc_nonnull = pbc;
}
else
{
- set_pbc(&pbc_no, epbcNONE, NULL);
+ set_pbc(&pbc_no, epbcNONE, nullptr);
pbc_nonnull = &pbc_no;
}