git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5836 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user