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

@ -52,15 +52,15 @@ Irregular::Irregular(LAMMPS *lmp) : Pointers(lmp)
// migrate work vectors
maxlocal = 0;
mproclist = NULL;
msizes = NULL;
mproclist = nullptr;
msizes = nullptr;
// send buffers
maxdbuf = 0;
dbuf = NULL;
dbuf = nullptr;
maxbuf = 0;
buf = NULL;
buf = nullptr;
// universal work vectors
@ -70,7 +70,7 @@ Irregular::Irregular(LAMMPS *lmp) : Pointers(lmp)
// initialize buffers for migrate atoms, not used for datum comm
// these can persist for multiple irregular operations
buf_send = buf_recv = NULL;
buf_send = buf_recv = nullptr;
maxsend = maxrecv = BUFMIN;
bufextra = BUFEXTRA;
grow_send(maxsend,2);