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

This commit is contained in:
sjplimp
2007-12-05 20:57:47 +00:00
parent 6041bbed96
commit 0bb3fd9b06
5 changed files with 16 additions and 8 deletions

View File

@ -136,10 +136,10 @@ void Output::setup(int flag)
if (ndump) {
for (int idump = 0; idump < ndump; idump++) {
if (strcmp(dump[idump]->style,"custom") == 0)
modify->clearstep_compute();
if (ntimestep % dump_every[idump] == 0 &&
last_dump[idump] != ntimestep) {
if (strcmp(dump[idump]->style,"custom") == 0)
modify->clearstep_compute();
dump[idump]->write();
last_dump[idump] = ntimestep;
}