forked from lijiext/lammps
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5510 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
d30e0f0e5f
commit
9c2137ef51
|
@ -258,7 +258,9 @@ void ReadRestart::command(int narg, char **arg)
|
|||
|
||||
// move atoms to new processors via irregular()
|
||||
// in case read by different proc than wrote restart file
|
||||
// first do map_init() since irregular->migrate_atoms() will do map_clear()
|
||||
|
||||
if (atom->map_style) atom->map_init();
|
||||
if (domain->triclinic) domain->x2lamda(atom->nlocal);
|
||||
Irregular *irregular = new Irregular(lmp);
|
||||
irregular->migrate_atoms();
|
||||
|
|
Loading…
Reference in New Issue