mirror of https://github.com/lammps/lammps.git
git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@9332 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
parent
19a0bc490e
commit
807f72a6b0
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue