mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-01-08 15:33:02 -06:00
ebos: add accessor methods to the non-constant deck and eclipseState
these are required by fun things like applyModifierDeck().
This commit is contained in:
parent
22ecf54d41
commit
679651bca1
@ -151,12 +151,18 @@ public:
|
|||||||
Opm::DeckConstPtr deck() const
|
Opm::DeckConstPtr deck() const
|
||||||
{ return deck_; }
|
{ return deck_; }
|
||||||
|
|
||||||
|
Opm::DeckPtr deck()
|
||||||
|
{ return deck_; }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Return a pointer to the internalized ECL deck
|
* \brief Return a pointer to the internalized ECL deck
|
||||||
*/
|
*/
|
||||||
Opm::EclipseStateConstPtr eclState() const
|
Opm::EclipseStateConstPtr eclState() const
|
||||||
{ return eclState_; }
|
{ return eclState_; }
|
||||||
|
|
||||||
|
Opm::EclipseStatePtr eclState()
|
||||||
|
{ return eclState_; }
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
* \brief Return a pointer to the internalized schedule of the ECL deck
|
* \brief Return a pointer to the internalized schedule of the ECL deck
|
||||||
*/
|
*/
|
||||||
@ -247,9 +253,8 @@ private:
|
|||||||
{ return *static_cast<const Implementation*>(this); }
|
{ return *static_cast<const Implementation*>(this); }
|
||||||
|
|
||||||
std::string caseName_;
|
std::string caseName_;
|
||||||
Opm::DeckConstPtr deck_;
|
Opm::DeckPtr deck_;
|
||||||
Opm::EclipseStateConstPtr eclState_;
|
Opm::EclipseStatePtr eclState_;
|
||||||
|
|
||||||
};
|
};
|
||||||
|
|
||||||
} // namespace Ewoms
|
} // namespace Ewoms
|
||||||
|
Loading…
Reference in New Issue
Block a user