git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@3481 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -66,7 +66,7 @@ void ComputeKEAtom::compute_peratom()
|
||||
if (atom->nlocal > nmax) {
|
||||
memory->sfree(ke);
|
||||
nmax = atom->nmax;
|
||||
ke = (double *) memory->smalloc(nmax*sizeof(double),"compute/ke/atom:ke");
|
||||
ke = (double *) memory->smalloc(nmax*sizeof(double),"ke/atom:ke");
|
||||
scalar_atom = ke;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user