mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 13:29:08 -06:00
Fix report step number associated with substeps.
It appears summary files by convention expect all substep data points to be chunked together with the data point at the end of the report step.
This commit is contained in:
parent
a162d883bf
commit
60fe6b2687
@ -344,7 +344,8 @@ namespace Opm
|
||||
eclIO_->overwriteInitialOIP(simProps);
|
||||
}
|
||||
// ... insert "extra" data (KR, VISC, ...)
|
||||
eclIO_->writeTimeStep(timer.reportStepNum(),
|
||||
const int reportStepForOutput = substep ? timer.reportStepNum() + 1 : timer.reportStepNum();
|
||||
eclIO_->writeTimeStep(reportStepForOutput,
|
||||
substep,
|
||||
timer.simulationTimeElapsed(),
|
||||
simProps,
|
||||
|
Loading…
Reference in New Issue
Block a user