mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-02 12:36:54 -06:00
also write initial data when using adaptive time stepping.
This commit is contained in:
parent
a9edc45a49
commit
f11d1758c1
@ -342,7 +342,7 @@ namespace Opm
|
|||||||
if (timer.currentStepNum() == 0) {
|
if (timer.currentStepNum() == 0) {
|
||||||
output_writer_.writeInit(timer);
|
output_writer_.writeInit(timer);
|
||||||
}
|
}
|
||||||
if( ! adaptiveTimeStepping )
|
if( ! adaptiveTimeStepping || timer.currentStepNum() == 0 )
|
||||||
output_writer_.writeTimeStep(timer, state, well_state);
|
output_writer_.writeTimeStep(timer, state, well_state);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user