From bfa1d476e36395a02753fb5662d9fb2ae414a9b0 Mon Sep 17 00:00:00 2001 From: chflo Date: Sun, 2 Aug 2015 22:26:45 +0200 Subject: [PATCH] OPM-218: Write restart files at same interval as eclipse --- opm/simulators/timestepping/AdaptiveTimeStepping_impl.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/opm/simulators/timestepping/AdaptiveTimeStepping_impl.hpp b/opm/simulators/timestepping/AdaptiveTimeStepping_impl.hpp index 4e252e80e..950a975b1 100644 --- a/opm/simulators/timestepping/AdaptiveTimeStepping_impl.hpp +++ b/opm/simulators/timestepping/AdaptiveTimeStepping_impl.hpp @@ -180,7 +180,8 @@ namespace Opm { // write data if outputWriter was provided if( outputWriter ) { - outputWriter->writeTimeStep( substepTimer, state, well_state ); + bool substep = true; + outputWriter->writeTimeStep( substepTimer, state, well_state, substep); } // set new time step length