mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Merge pull request #331 from dr-robertk/PR/eclipsewriter-only-summary-in-substeps
SimFullyImplBO: write simulation state at all report step and in the end.
This commit is contained in:
commit
5ae25819f1
@ -274,9 +274,8 @@ namespace Opm
|
||||
WellStateFullyImplicitBlackoil well_state;
|
||||
well_state.init(wells, state, prev_well_state);
|
||||
|
||||
if( ! adaptiveTimeStepping ) {
|
||||
output_writer_.writeTimeStep( timer, state, well_state );
|
||||
}
|
||||
// write simulation state at the report stage
|
||||
output_writer_.writeTimeStep( timer, state, well_state );
|
||||
|
||||
// Max oil saturation (for VPPARS), hysteresis update.
|
||||
props_.updateSatOilMax(state.saturation());
|
||||
@ -335,9 +334,7 @@ namespace Opm
|
||||
}
|
||||
|
||||
// Write final simulation state.
|
||||
if( ! adaptiveTimeStepping ) {
|
||||
output_writer_.writeTimeStep( timer, state, prev_well_state );
|
||||
}
|
||||
output_writer_.writeTimeStep( timer, state, prev_well_state );
|
||||
|
||||
// Stop timer and create timing report
|
||||
total_timer.stop();
|
||||
|
Loading…
Reference in New Issue
Block a user