git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@8292 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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();
|
||||
|
||||
Reference in New Issue
Block a user