Merge pull request #2358 from eagunn/iss2345

Replace instances of NULL with nullptr
This commit is contained in:
Axel Kohlmeyer
2020-09-15 17:41:24 -04:00
committed by GitHub
1185 changed files with 8417 additions and 8329 deletions

View File

@ -46,7 +46,7 @@ AtomVecEllipsoid::AtomVecEllipsoid(LAMMPS *lmp) : AtomVec(lmp)
atom->rmass_flag = atom->angmom_flag = atom->torque_flag = 1;
nlocal_bonus = nghost_bonus = nmax_bonus = 0;
bonus = NULL;
bonus = nullptr;
// strings with peratom variables to include in each AtomVec method
// strings cannot contain fields in corresponding AtomVec default strings
@ -484,7 +484,7 @@ void AtomVecEllipsoid::pack_data_post(int ilocal)
/* ----------------------------------------------------------------------
pack bonus ellipsoid info for writing to data file
if buf is NULL, just return buffer size
if buf is nullptr, just return buffer size
------------------------------------------------------------------------- */
int AtomVecEllipsoid::pack_data_bonus(double *buf, int /*flag*/)