From 679651bca1fd883a6dc5b0b4a6d8f5412d2efc0c Mon Sep 17 00:00:00 2001 From: Andreas Lauser Date: Mon, 8 Aug 2016 15:47:41 +0200 Subject: [PATCH] ebos: add accessor methods to the non-constant deck and eclipseState these are required by fun things like applyModifierDeck(). --- applications/ebos/eclbasegridmanager.hh | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/applications/ebos/eclbasegridmanager.hh b/applications/ebos/eclbasegridmanager.hh index f5618c3fb..f61222356 100644 --- a/applications/ebos/eclbasegridmanager.hh +++ b/applications/ebos/eclbasegridmanager.hh @@ -151,12 +151,18 @@ public: Opm::DeckConstPtr deck() const { return deck_; } + Opm::DeckPtr deck() + { return deck_; } + /*! * \brief Return a pointer to the internalized ECL deck */ Opm::EclipseStateConstPtr eclState() const { return eclState_; } + Opm::EclipseStatePtr eclState() + { return eclState_; } + /*! * \brief Return a pointer to the internalized schedule of the ECL deck */ @@ -247,9 +253,8 @@ private: { return *static_cast(this); } std::string caseName_; - Opm::DeckConstPtr deck_; - Opm::EclipseStateConstPtr eclState_; - + Opm::DeckPtr deck_; + Opm::EclipseStatePtr eclState_; }; } // namespace Ewoms