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

This commit is contained in:
sjplimp 2007-04-23 16:54:49 +00:00
parent a4bdfdfac1
commit 95af0d5a2a
1 changed files with 3 additions and 1 deletions

View File

@ -329,7 +329,7 @@ void Output::create_thermo(int narg, char **arg)
/* ----------------------------------------------------------------------
setup restart capability
if only one filename, append ".*" if not "*" in filename
if only one filename and it contains no "*", then append ".*"
------------------------------------------------------------------------- */
void Output::create_restart(int narg, char **arg)
@ -339,6 +339,8 @@ void Output::create_restart(int narg, char **arg)
if (restart) delete restart;
delete [] restart1;
delete [] restart2;
restart = NULL;
restart1 = restart2 = NULL;
restart_every = atoi(arg[0]);
if (restart_every == 0) {