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