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

This commit is contained in:
sjplimp
2013-08-21 17:22:55 +00:00
parent 2cbcde563f
commit 7511965094
4 changed files with 55 additions and 9 deletions

View File

@ -29,6 +29,7 @@
#include "neighbor.h"
#include "domain.h"
#include "modify.h"
#include "fix.h"
#include "universe.h"
#include "comm.h"
#include "output.h"
@ -292,6 +293,12 @@ void WriteRestart::write(char *file)
}
memory->destroy(buf);
// invoke any fixes that write their own restart file
for (int ifix = 0; ifix < modify->nfix; ifix++)
if (modify->fix[ifix]->restart_file)
modify->fix[ifix]->write_restart_file();
}
/* ----------------------------------------------------------------------