ebos: add accessor methods to the non-constant deck and eclipseState

these are required by fun things like applyModifierDeck().
This commit is contained in:
Andreas Lauser 2016-08-08 15:47:41 +02:00
parent 22ecf54d41
commit 679651bca1

View File

@ -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<const Implementation*>(this); }
std::string caseName_;
Opm::DeckConstPtr deck_;
Opm::EclipseStateConstPtr eclState_;
Opm::DeckPtr deck_;
Opm::EclipseStatePtr eclState_;
};
} // namespace Ewoms