Unverified Commit a645278d authored by Axel Kohlmeyer's avatar Axel Kohlmeyer Committed by GitHub
Browse files

Merge pull request #1325 from Adrian-Diaz/shrink_wrap_tiled

Support shrink wrap boundary condition when reading data files with comm tiled enabled
parents b29d5266 d2093fe8
Loading
Loading
Loading
Loading
+3 −3
Original line number Original line Diff line number Diff line
@@ -872,9 +872,9 @@ void ReadData::command(int narg, char **arg)
  if (domain->nonperiodic == 2) {
  if (domain->nonperiodic == 2) {
    if (domain->triclinic) domain->x2lamda(atom->nlocal);
    if (domain->triclinic) domain->x2lamda(atom->nlocal);
    domain->reset_box();
    domain->reset_box();
    comm->init();
    Irregular *irregular = new Irregular(lmp);
    comm->exchange();
    irregular->migrate_atoms(1);
    if (atom->map_style) atom->map_set();
    delete irregular;
    if (domain->triclinic) domain->lamda2x(atom->nlocal);
    if (domain->triclinic) domain->lamda2x(atom->nlocal);


    bigint natoms;
    bigint natoms;