From e653067951a55dfa0150002975a71e080e08eb32 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Atgeirr=20Fl=C3=B8=20Rasmussen?= Date: Wed, 3 Aug 2016 13:50:23 +0200 Subject: [PATCH] Adapt new interface with timers. --- opm/autodiff/BlackoilReorderingTransportModel.hpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/opm/autodiff/BlackoilReorderingTransportModel.hpp b/opm/autodiff/BlackoilReorderingTransportModel.hpp index 3eeb4b26b..00bdb31b1 100644 --- a/opm/autodiff/BlackoilReorderingTransportModel.hpp +++ b/opm/autodiff/BlackoilReorderingTransportModel.hpp @@ -258,11 +258,11 @@ namespace Opm { - void prepareStep(const double dt, + void prepareStep(const SimulatorTimerInterface& timer, const ReservoirState& reservoir_state, const WellState& well_state) { - Base::prepareStep(dt, reservoir_state, well_state); + Base::prepareStep(timer, reservoir_state, well_state); Base::param_.solve_welleq_initially_ = false; state0_.reservoir_state = reservoir_state; state0_.well_state = well_state; @@ -285,7 +285,7 @@ namespace Opm { template IterationReport nonlinearIteration(const int /* iteration */, - const double /* dt */, + const SimulatorTimerInterface& /* timer */, NonlinearSolverType& /* nonlinear_solver */, ReservoirState& reservoir_state, const WellState& well_state) @@ -324,7 +324,7 @@ namespace Opm { - void afterStep(const double /* dt */, + void afterStep(const SimulatorTimerInterface& /* timer */, const ReservoirState& /* reservoir_state */, const WellState& /* well_state */) {