mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 10:40:21 -06:00
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:
commit
d21e310d01
@ -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();
|
||||||
|
Loading…
Reference in New Issue
Block a user