memcpymask is a constant and thus should be uppercase

This commit is contained in:
Axel Kohlmeyer
2024-12-27 01:54:44 -05:00
parent 5ece81323e
commit 53c3fa2afd
6 changed files with 19 additions and 19 deletions

View File

@ -409,9 +409,9 @@ void Dump::write()
int nlocal = atom->nlocal;
if (nlocal > maxpbc) pbc_allocate();
if (nlocal) {
memcpy(&xpbc[0][0],&atom->x[0][0],(3*nlocal*sizeof(double))&memcpymask);
memcpy(&vpbc[0][0],&atom->v[0][0],(3*nlocal*sizeof(double))&memcpymask);
memcpy(imagepbc,atom->image,(nlocal*sizeof(imageint))&memcpymask);
memcpy(&xpbc[0][0],&atom->x[0][0],(3*nlocal*sizeof(double))&MEMCPYMASK);
memcpy(&vpbc[0][0],&atom->v[0][0],(3*nlocal*sizeof(double))&MEMCPYMASK);
memcpy(imagepbc,atom->image,(nlocal*sizeof(imageint))&MEMCPYMASK);
}
xhold = atom->x;
vhold = atom->v;