Merge pull request #98 from andlaus/reverse_increment_write_order_again

go back to incrementing the current simulation time first, then calling EclipseWriter::writeSolution()
This commit is contained in:
Atgeirr Flø Rasmussen 2014-03-20 09:04:10 +01:00
commit d21e310d01

View File

@ -420,13 +420,13 @@ namespace Opm
tstep_os.close(); tstep_os.close();
} }
// advance to next timestep before reporting at this location
++timer;
// write an output file for later inspection // write an output file for later inspection
if (output_) { if (output_) {
eclipseWriter_.writeTimeStep(timer, state, well_state.basicWellState()); eclipseWriter_.writeTimeStep(timer, state, well_state.basicWellState());
} }
// advance to next timestep before reporting at this location
++timer;
} }
total_timer.stop(); total_timer.stop();