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

This commit is contained in:
sjplimp
2010-09-10 22:52:55 +00:00
parent 3b4a8b5395
commit 0a8ca11287
7 changed files with 338 additions and 68 deletions

View File

@ -91,6 +91,7 @@ Modify::Modify(LAMMPS *lmp) : Pointers(lmp)
nfix_restart_peratom = 0;
id_restart_peratom = style_restart_peratom = NULL;
index_restart_peratom = NULL;
nfix_restart_save = 0;
ncompute = maxcompute = 0;
compute = NULL;
@ -146,8 +147,9 @@ void Modify::init()
int i,j;
// delete storage of restart info since it is not valid after 1st run
// read_restart sets nfix_restart_save so will persist to actual 1st run
restart_deallocate();
if (!nfix_restart_save) restart_deallocate();
// create lists of fixes to call at each stage of run