also write initial data when using adaptive time stepping.

This commit is contained in:
Robert K 2015-01-09 16:02:42 +01:00
parent a9edc45a49
commit f11d1758c1

View File

@ -342,7 +342,7 @@ namespace Opm
if (timer.currentStepNum() == 0) {
output_writer_.writeInit(timer);
}
if( ! adaptiveTimeStepping )
if( ! adaptiveTimeStepping || timer.currentStepNum() == 0 )
output_writer_.writeTimeStep(timer, state, well_state);
}