36 using TypeTag = Opm::Properties::TTag::EclFlowProblemTPFA;
42 std::shared_ptr<Opm::Deck>
deck,
43 std::shared_ptr<Opm::EclipseState>
state,
44 std::shared_ptr<Opm::Schedule> schedule,
46 bool checkSimulationFinished();
47 py::array_t<double> getPorosity();
50 py::array_t<double, py::array::c_style | py::array::forcecast>
array);
52 void advance(
int report_step);
59 const std::string deckFilename_;
60 bool hasRunInit_ =
false;
61 bool hasRunCleanup_ =
false;
66 std::unique_ptr<Opm::Main> main_;
68 std::unique_ptr<Opm::FlowMainEbos<TypeTag>> mainEbos_;
69 Simulator *ebosSimulator_;
70 std::unique_ptr<PyMaterialState<TypeTag>> materialState_;
71 std::shared_ptr<Opm::Deck> deck_;
72 std::shared_ptr<Opm::EclipseState> eclipse_state_;
73 std::shared_ptr<Opm::Schedule> schedule_;
74 std::shared_ptr<Opm::SummaryConfig> summary_config_;