From 865a039ca4433a623a99465470dc5a2513f669e3 Mon Sep 17 00:00:00 2001 From: Arne Morten Kvarving Date: Sun, 23 May 2021 13:47:04 +0200 Subject: [PATCH] GasLiftStage2: remove unused member nonlinear_iteration_idx_ --- opm/simulators/wells/GasLiftStage2.hpp | 1 - opm/simulators/wells/GasLiftStage2_impl.hpp | 3 --- 2 files changed, 4 deletions(-) diff --git a/opm/simulators/wells/GasLiftStage2.hpp b/opm/simulators/wells/GasLiftStage2.hpp index c027ba0ab..0212bae68 100644 --- a/opm/simulators/wells/GasLiftStage2.hpp +++ b/opm/simulators/wells/GasLiftStage2.hpp @@ -149,7 +149,6 @@ namespace Opm bool debug_; int max_iterations_ = 1000; //int time_step_idx_; - int nonlinear_iteration_idx_; struct OptimizeState { OptimizeState( GasLiftStage2 &parent_, const Group &group_ ) : diff --git a/opm/simulators/wells/GasLiftStage2_impl.hpp b/opm/simulators/wells/GasLiftStage2_impl.hpp index c0b68ff55..5ca5af516 100644 --- a/opm/simulators/wells/GasLiftStage2_impl.hpp +++ b/opm/simulators/wells/GasLiftStage2_impl.hpp @@ -61,9 +61,6 @@ GasLiftStage2( { // this->time_step_idx_ // = this->ebos_simulator_.model().newtonMethod().currentTimeStep(); - this->nonlinear_iteration_idx_ - = ebos_simulator.model().newtonMethod().numIterations(); - } /********************************************