Merge pull request #1325 from Adrian-Diaz/shrink_wrap_tiled

Support shrink wrap boundary condition when reading data files with comm tiled enabled
This commit is contained in:
Axel Kohlmeyer
2019-02-13 16:28:58 +01:00
committed by GitHub

View File

@ -872,9 +872,9 @@ void ReadData::command(int narg, char **arg)
if (domain->nonperiodic == 2) {
if (domain->triclinic) domain->x2lamda(atom->nlocal);
domain->reset_box();
comm->init();
comm->exchange();
if (atom->map_style) atom->map_set();
Irregular *irregular = new Irregular(lmp);
irregular->migrate_atoms(1);
delete irregular;
if (domain->triclinic) domain->lamda2x(atom->nlocal);
bigint natoms;