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

This commit is contained in:
sjplimp
2011-03-26 00:50:29 +00:00
parent fbb475b9cd
commit 1f2a7add78
131 changed files with 1278 additions and 1496 deletions

View File

@ -62,7 +62,7 @@ FixEvent::~FixEvent()
memory->destroy(xevent);
memory->destroy(xold);
memory->destroy(vold);
memory->sfree(imageold);
memory->destroy(imageold);
}
/* ---------------------------------------------------------------------- */
@ -181,8 +181,7 @@ void FixEvent::grow_arrays(int nmax)
memory->grow(xevent,nmax,3,"event:xevent");
memory->grow(xold,nmax,3,"event:xold");
memory->grow(vold,nmax,3,"event:vold");
imageold = (int *)
memory->srealloc(imageold,nmax*sizeof(int),"event:imageold");
memory->grow(imageold,nmax,"event:imageold");
// allow compute event to access stored event coords