Files
opm-common/python/sunbeam/sunbeam_state.hpp
Joakim Hove 77795b5005 Add 'python/' from commit '278373703455ea6562a0f8e5278b4db46eb1fc7e'
git-subtree-dir: python
git-subtree-mainline: e8dbf7d8ee
git-subtree-split: 2783737034
2019-05-08 07:20:29 +02:00

26 lines
945 B
C++

#include <opm/json/JsonObject.hpp>
#include <opm/parser/eclipse/Parser/Parser.hpp>
#include <opm/parser/eclipse/Deck/Deck.hpp>
#include <opm/parser/eclipse/EclipseState/Schedule/Schedule.hpp>
#include <opm/parser/eclipse/EclipseState/SummaryConfig/SummaryConfig.hpp>
class SunbeamState {
public:
SunbeamState(bool file_input, const std::string& deck_input);
SunbeamState(bool file_input, const std::string& deck_input, const Opm::ParseContext& context);
SunbeamState(bool file_input, const std::string& deck_input, const Opm::ParseContext& context, const Opm::Parser& parser);
const Opm::EclipseState& getEclipseState() const;
const Opm::Deck& getDeck() const;
const Opm::Schedule getSchedule() const;
const Opm::SummaryConfig getSummmaryConfig() const;
private:
Opm::ErrorGuard guard;
Opm::Deck deck;
Opm::EclipseState ecl_state;
Opm::Schedule schedule;
Opm::SummaryConfig summary_config;
};