From fa85bc64456e05bd0066b08ec325372329a2cf89 Mon Sep 17 00:00:00 2001 From: Joakim Hove Date: Wed, 3 Feb 2021 11:45:18 +0100 Subject: [PATCH] Remove report_step argument from Well::handleCOMPSEGS() --- opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp | 2 +- .../parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp | 2 +- src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp | 1 - 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp b/opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp index a1078bcfa..cb6aba1a3 100644 --- a/opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp +++ b/opm/parser/eclipse/EclipseState/Schedule/Well/Well.hpp @@ -566,7 +566,7 @@ public: void updateWPaveRefDepth(double ref_depth); bool handleWELSEGS(const DeckKeyword& keyword); - bool handleCOMPSEGS(const DeckKeyword& keyword, std::size_t report_step, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors); + bool handleCOMPSEGS(const DeckKeyword& keyword, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors); bool handleWELOPENConnections(const DeckRecord& record, std::size_t report_step, Connection::State status, bool action_mode); bool handleCOMPLUMP(const DeckRecord& record, std::size_t report_step); bool handleWPIMULT(const DeckRecord& record, std::size_t report_step); diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp index 12f10354b..55389bd8a 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/KeywordHandlers.cpp @@ -236,7 +236,7 @@ namespace { return; } - if (well_ptr->handleCOMPSEGS(handlerContext.keyword, handlerContext.currentStep, *handlerContext.grid_ptr, parseContext, errors)) + if (well_ptr->handleCOMPSEGS(handlerContext.keyword, *handlerContext.grid_ptr, parseContext, errors)) this->updateWell(std::move(well_ptr), handlerContext.currentStep); } diff --git a/src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp b/src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp index 9e5613018..e81e8b253 100644 --- a/src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp +++ b/src/opm/parser/eclipse/EclipseState/Schedule/Well/Well.cpp @@ -700,7 +700,6 @@ bool Well::updateSolventFraction(double solvent_fraction_arg) { bool Well::handleCOMPSEGS(const DeckKeyword& keyword, - std::size_t report_step, const EclipseGrid& grid, const ParseContext& parseContext, ErrorGuard& errors) {