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

This commit is contained in:
sjplimp
2012-06-14 23:20:23 +00:00
parent 9d1a80fecb
commit eed35157e7
2 changed files with 20 additions and 7 deletions

View File

@ -95,9 +95,12 @@ void WriteRestart::command(int narg, char **arg)
lmp->init();
// move atoms to new processors before writing file
// enforce PBC before in case atoms are outside box
// do pre_exchange so FixShearHistory will store
// current neigh info with atoms
// enforce PBC in case atoms are outside box
// call borders() to rebuild atom map since exchange() destroys map
if (modify->n_pre_exchange) modify->pre_exchange();
if (domain->triclinic) domain->x2lamda(atom->nlocal);
domain->pbc();
domain->reset_box();