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

This commit is contained in:
sjplimp
2009-12-03 17:45:22 +00:00
parent 2ac56e521f
commit 69d350af34
25 changed files with 1065 additions and 270 deletions

View File

@ -86,7 +86,7 @@ void ComputePEAtom::compute_peratom()
memory->sfree(energy);
nmax = atom->nmax;
energy = (double *)
memory->smalloc(nmax*sizeof(double),"compute/pe/atom:energy");
memory->smalloc(nmax*sizeof(double),"pe/atom:energy");
scalar_atom = energy;
}