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

This commit is contained in:
sjplimp 2011-04-28 18:52:25 +00:00
parent e2707ca96f
commit bce11d1402
2 changed files with 1 additions and 2 deletions

View File

@ -104,7 +104,7 @@ void ComputeClusterAtom::compute_peratom()
// grow clusterID array if necessary
if (atom->nlocal > nmax) {
if (atom->nlocal+atom->nghost > nmax) {
memory->destroy(clusterID);
nmax = atom->nmax;
memory->create(clusterID,nmax,"cluster/atom:clusterID");

View File

@ -338,7 +338,6 @@ void FixLangevin::post_force_no_tally()
}
}
}
}
/* ---------------------------------------------------------------------- */