Commit e8ce065a authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@508 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 9e8c9fb0
Loading
Loading
Loading
Loading
+2 −1
Original line number Diff line number Diff line
@@ -164,12 +164,13 @@ void DisplaceAtoms::command(int narg, char **arg)

  // move atoms to new processors
  // enforce PBC before in case atoms are outside box
  // use comm::irregular() since atoms could have moved long distances

  if (domain->triclinic) domain->x2lamda(atom->nlocal);
  domain->pbc();
  domain->reset_box();
  comm->setup();
  comm->exchange();
  comm->irregular();
  if (domain->triclinic) domain->lamda2x(atom->nlocal);

  // check if any atoms were lost