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