Commit a5efab93 authored by sjplimp's avatar sjplimp
Browse files

git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@6969 f3b2605a-c512-4ea7-a41b-209d697bcdaa
parent 1441940a
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -232,7 +232,7 @@ void FixEvaporate::pre_exchange()
  // keep ndel,ndeltopo,ncount,nall,nbefore current after each mol deletion

  } else {
    int me,proc,iatom,imolecule,ndelone,ndelall;
    int me,proc,iatom,imolecule,ndelone;
    int *molecule = atom->molecule;

    ndeltopo[0] = ndeltopo[1] = ndeltopo[2] = ndeltopo[3] = 0;
@@ -316,7 +316,7 @@ void FixEvaporate::pre_exchange()

      // update ndel,ncount,nall,nbefore

      MPI_Allreduce(&ndelone,&ndelall,1,MPI_INT,MPI_SUM,world);
      MPI_Allreduce(&ndelone,&ndel,1,MPI_INT,MPI_SUM,world);
      MPI_Allreduce(&ncount,&nall,1,MPI_INT,MPI_SUM,world);
      MPI_Scan(&ncount,&nbefore,1,MPI_INT,MPI_SUM,world);
      nbefore -= ncount;