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

This commit is contained in:
sjplimp 2008-08-18 20:32:29 +00:00
parent 82ab56af9a
commit 25280443aa
2 changed files with 6 additions and 2 deletions

View File

@ -982,8 +982,12 @@ void Comm::reverse_comm_compute(Compute *compute)
void Comm::irregular()
{
// clear global->local map since atoms move to new procs
// zero out ghosts so map_set() at end will operate only on local atoms
// exchange() doesn't need to zero ghosts b/c borders()
// is called right after and it zeroes ghosts and calls map_set()
if (map_style) atom->map_clear();
atom->nghost = 0;
// subbox bounds for orthogonal or triclinic