git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@2676 f3b2605a-c512-4ea7-a41b-209d697bcdaa

This commit is contained in:
sjplimp
2009-03-18 17:37:46 +00:00
parent 71fee196e6
commit d32f0a53f2
7 changed files with 239 additions and 2 deletions

View File

@ -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 =