git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@15083 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -107,7 +107,7 @@ void ComputeCentroAtom::compute_peratom()
|
||||
|
||||
// grow centro array if necessary
|
||||
|
||||
if (atom->nlocal > nmax) {
|
||||
if (atom->nmax > nmax) {
|
||||
memory->destroy(centro);
|
||||
nmax = atom->nmax;
|
||||
memory->create(centro,nmax,"centro/atom:centro");
|
||||
|
||||
Reference in New Issue
Block a user