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

This commit is contained in:
sjplimp
2015-02-06 16:19:34 +00:00
parent 7b1005eeae
commit 1091ba1131
3 changed files with 22 additions and 30 deletions

View File

@ -113,11 +113,16 @@ void WriteRestart::command(int narg, char **arg)
lmp->init();
// move atoms to new processors before writing file
// do setup_pre_exchange to force update of per-atom info if needed
// enforce PBC in case atoms are outside box
// call borders() to rebuild atom map since exchange() destroys map
// NOTE: removed call to setup_pre_exchange
// used to be needed by fixShearHistory for granular
// to move history info from neigh list to atoms between runs
// but now that is done via FIx::post_run()
// don't think any other fix needs this or should do it
// e.g. fix evaporate should not delete more atoms
modify->setup_pre_exchange();
// modify->setup_pre_exchange();
if (domain->triclinic) domain->x2lamda(atom->nlocal);
domain->pbc();
domain->reset_box();