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

This commit is contained in:
sjplimp
2015-07-15 21:29:44 +00:00
parent 062a3575b6
commit f7bc08d83d
22 changed files with 166 additions and 88 deletions

View File

@ -22,6 +22,8 @@
#include "dump_image.h"
#include "atom.h"
#include "group.h"
#include "input.h"
#include "update.h"
#include "error.h"
using namespace LAMMPS_NS;
@ -75,6 +77,9 @@ void WriteDump::command(int narg, char **arg)
if (strcmp(arg[1],"cfg") == 0)
((DumpCFG *) dump)->multifile_override = 1;
if (update->first_update == 0)
error->warning(FLERR,"Calling write_dump before a full system init.");
dump->init();
dump->write();