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

This commit is contained in:
sjplimp 2014-05-01 14:18:30 +00:00
parent ddc1ad9ca2
commit 191c90e48e
1 changed files with 3 additions and 2 deletions

View File

@ -112,8 +112,9 @@ void FixEvent::restore_event()
x[i][1] = xevent[i][1];
x[i][2] = xevent[i][2];
// since xevent is unwrapped coordinate, need to
// adjust image flags when remapping
// since xevent is unwrapped coordinate,
// need to adjust image flag from default when remapping
// same as in read_data -> Atom::data_atoms()
image[i] = ((imageint) IMGMAX << IMG2BITS) |
((imageint) IMGMAX << IMGBITS) | IMGMAX;