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

This commit is contained in:
sjplimp
2016-05-31 16:33:07 +00:00
parent 7e7450948c
commit 876b033ea8
96 changed files with 170 additions and 159 deletions

View File

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