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

This commit is contained in:
sjplimp
2014-08-25 16:01:17 +00:00
parent 508ea4a575
commit 4ea728dc80
18 changed files with 73 additions and 52 deletions

View File

@ -459,7 +459,10 @@ void ReadRestart::command(int narg, char **arg)
// 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 (atom->map_style) {
atom->map_init();
atom->map_set();
}
if (domain->triclinic) domain->x2lamda(atom->nlocal);
Irregular *irregular = new Irregular(lmp);
irregular->migrate_atoms(1);