git-svn-id: svn://svn.icms.temple.edu/lammps-ro/trunk@5836 f3b2605a-c512-4ea7-a41b-209d697bcdaa
This commit is contained in:
@ -58,7 +58,7 @@ FixReadRestart::~FixReadRestart()
|
||||
|
||||
// delete locally stored arrays
|
||||
|
||||
memory->sfree(count);
|
||||
memory->destroy(count);
|
||||
memory->destroy(extra);
|
||||
}
|
||||
|
||||
@ -87,8 +87,7 @@ double FixReadRestart::memory_usage()
|
||||
|
||||
void FixReadRestart::grow_arrays(int nmax)
|
||||
{
|
||||
count =
|
||||
(int *) memory->srealloc(count,nmax*sizeof(int),"read_restart:count");
|
||||
memory->grow(count,nmax,"read_restart:count");
|
||||
memory->grow(extra,nmax,nextra,"read_restart:extra");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user