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

This commit is contained in:
sjplimp
2009-01-14 21:27:33 +00:00
parent 55af408961
commit 0fb2adb73c
3 changed files with 15 additions and 11 deletions

View File

@ -100,7 +100,7 @@ void ComputeCentroAtom::compute_peratom()
memory->sfree(centro);
nmax = atom->nmax;
centro = (double *)
memory->smalloc(nmax*sizeof(double),"compute/centro/atom:centro");
memory->smalloc(nmax*sizeof(double),"compute/centro:centro");
scalar_atom = centro;
}
@ -137,9 +137,9 @@ void ComputeCentroAtom::compute_peratom()
memory->sfree(nearest);
maxneigh = jnum;
distsq = (double *) memory->smalloc(maxneigh*sizeof(double),
"compute/centro/atom:distsq");
"compute/centro:distsq");
nearest = (int *) memory->smalloc(maxneigh*sizeof(int),
"compute/centro/atom:nearest");
"compute/centro:nearest");
}
// loop over list of all neighbors within force cutoff