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