git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8398 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2012-06-25 23:31:14 +00:00
parent 83784f8381
commit dfb51e6b00
14 changed files with 751 additions and 750 deletions

View File

@ -872,7 +872,7 @@ int AtomVecEllipsoid::pack_exchange(int i, double *buf)
buf[m++] = tag[i];
buf[m++] = type[i];
buf[m++] = mask[i];
buf[m++] = image[i];
*((tagint *) &buf[m++]) = image[i];
buf[m++] = rmass[i];
buf[m++] = angmom[i][0];
@ -919,7 +919,7 @@ int AtomVecEllipsoid::unpack_exchange(double *buf)
tag[nlocal] = static_cast<int> (buf[m++]);
type[nlocal] = static_cast<int> (buf[m++]);
mask[nlocal] = static_cast<int> (buf[m++]);
image[nlocal] = static_cast<tagint> (buf[m++]);
image[nlocal] = *((tagint *) &buf[m++]);
rmass[nlocal] = buf[m++];
angmom[nlocal][0] = buf[m++];
@ -990,7 +990,7 @@ int AtomVecEllipsoid::pack_restart(int i, double *buf)
buf[m++] = tag[i];
buf[m++] = type[i];
buf[m++] = mask[i];
buf[m++] = image[i];
*((tagint *) &buf[m++]) = image[i];
buf[m++] = v[i][0];
buf[m++] = v[i][1];
buf[m++] = v[i][2];
@ -1041,7 +1041,7 @@ int AtomVecEllipsoid::unpack_restart(double *buf)
tag[nlocal] = static_cast<int> (buf[m++]);
type[nlocal] = static_cast<int> (buf[m++]);
mask[nlocal] = static_cast<int> (buf[m++]);
image[nlocal] = static_cast<tagint> (buf[m++]);
image[nlocal] = *((tagint *) &buf[m++]);
v[nlocal][0] = buf[m++];
v[nlocal][1] = buf[m++];
v[nlocal][2] = buf[m++];