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

This commit is contained in:
sjplimp 2013-01-25 20:34:50 +00:00
parent 19a0bc490e
commit 807f72a6b0
1 changed files with 2 additions and 1 deletions

View File

@ -82,7 +82,7 @@ void ComputeVoronoi::compute_peratom()
// grow per atom array if necessary
int local = atom->nlocal;
int nlocal = atom->nlocal;
if (nlocal > nmax) {
memory->destroy(voro);
nmax = atom->nmax;
@ -118,6 +118,7 @@ void ComputeVoronoi::compute_peratom()
// invoke voro++ and fetch results for owned atoms in group
int *mask = atom->mask;
std::vector<int> neigh;
voronoicell_neighbor c;