diff --git a/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp b/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp index fd906eece..383880e1f 100644 --- a/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp +++ b/opm/simulators/timestepping/AdaptiveSimulatorTimer.cpp @@ -112,6 +112,8 @@ namespace Opm double AdaptiveSimulatorTimer::simulationTimeElapsed() const { return current_time_; } + double AdaptiveSimulatorTimer::simulationStartTimeForCurrentReportStep() const { return start_time_; } + bool AdaptiveSimulatorTimer::done () const { return (current_time_ >= total_time_) ; } double AdaptiveSimulatorTimer::averageStepLength() const diff --git a/opm/simulators/timestepping/AdaptiveSimulatorTimer.hpp b/opm/simulators/timestepping/AdaptiveSimulatorTimer.hpp index ac4bb6ed1..e1afebe52 100644 --- a/opm/simulators/timestepping/AdaptiveSimulatorTimer.hpp +++ b/opm/simulators/timestepping/AdaptiveSimulatorTimer.hpp @@ -71,6 +71,10 @@ namespace Opm /// \brief \copydoc SimulationTimer::simulationTimeElapsed double simulationTimeElapsed() const; + /// \brief \copydoc SimulationTimer::simulationStartTimeForCurrentReportStep + double simulationStartTimeForCurrentReportStep() const; + + /// \brief \copydoc SimulationTimer::done bool done () const;