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