From 3c643dba132276bd5b5da55a6971607ca719c957 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?B=C3=A5rd=20Skaflestad?= Date: Fri, 26 May 2023 17:12:30 +0200 Subject: [PATCH] Don't Provide Deck Accessors in FlowMainEbos Following commits f4f8c033d and c7016854d (PR #4286), the "vanguard" no longer maintains an internal Deck data member. Don't pretend that it does by providing member functions to access that data member. If someone tries to actually call these member functions then they will get an unfriendly diagnostic message and a build failure. --- opm/simulators/flow/FlowMainEbos.hpp | 6 ------ 1 file changed, 6 deletions(-) diff --git a/opm/simulators/flow/FlowMainEbos.hpp b/opm/simulators/flow/FlowMainEbos.hpp index 9957a1686..c7eb4a823 100644 --- a/opm/simulators/flow/FlowMainEbos.hpp +++ b/opm/simulators/flow/FlowMainEbos.hpp @@ -431,12 +431,6 @@ void handleExtraConvergenceOutput(SimulatorReport& report, } } - const Deck& deck() const - { return ebosSimulator_->vanguard().deck(); } - - Deck& deck() - { return ebosSimulator_->vanguard().deck(); } - const EclipseState& eclState() const { return ebosSimulator_->vanguard().eclState(); }