|
opm-simulators
|
Public Member Functions | |
| PyOnePhaseSimulator (const std::string &deck_filename, const std::vector< std::string > &args) | |
| PyOnePhaseSimulator (std::shared_ptr< Opm::Deck > deck, std::shared_ptr< Opm::EclipseState > state, std::shared_ptr< Opm::Schedule > schedule, std::shared_ptr< Opm::SummaryConfig > summary_config, const std::vector< std::string > &args) | |
Public Member Functions inherited from Opm::Pybind::PyBaseSimulator< Opm::Properties::TTag::FlowOnePhaseProblem > | |
| PyBaseSimulator (const std::string &deckFilename, const std::vector< std::string > &args) | |
| PyBaseSimulator (std::shared_ptr< Deck > deck, std::shared_ptr< EclipseState > state, std::shared_ptr< Schedule > schedule, std::shared_ptr< SummaryConfig > summary_config, const std::vector< std::string > &args) | |
| void | advance (int report_step) |
| bool | checkSimulationFinished () |
| int | currentStep () |
| py::array_t< double > | getFluidStateVariable (const std::string &name) const |
| py::array_t< double > | getCellVolumes () |
| double | getDT () |
| py::array_t< double > | getPorosity () |
| py::array_t< double > | getPrimaryVariable (const std::string &variable) const |
| py::array_t< int > | getPrimaryVarMeaning (const std::string &variable) const |
| std::map< std::string, int > | getPrimaryVarMeaningMap (const std::string &variable) const |
| int | run () |
| void | setPorosity (PyCArray array) |
| void | setPrimaryVariable (const std::string &idx_name, PyCArray array) |
| void | setupMpi (bool init_mpi, bool finalize_mpi) |
| int | step () |
| int | stepCleanup () |
| int | stepInit () |
Additional Inherited Members | |
Public Types inherited from Opm::Pybind::PyBaseSimulator< Opm::Properties::TTag::FlowOnePhaseProblem > | |
| using | PyCArray = py::array_t< double, py::array::c_style|py::array::forcecast > |
Protected Member Functions inherited from Opm::Pybind::PyBaseSimulator< Opm::Properties::TTag::FlowOnePhaseProblem > | |
| FlowMain< Opm::Properties::TTag::FlowOnePhaseProblem > & | getFlowMain () const |
| PyFluidState< Opm::Properties::TTag::FlowOnePhaseProblem > & | getFluidState () const |
| PyMaterialState< Opm::Properties::TTag::FlowOnePhaseProblem > & | getMaterialState () const |
Protected Attributes inherited from Opm::Pybind::PyBaseSimulator< Opm::Properties::TTag::FlowOnePhaseProblem > | |
| const std::string | deck_filename_ |
| bool | has_run_init_ |
| bool | has_run_cleanup_ |
| bool | mpi_init_ |
| bool | mpi_finalize_ |
| std::unique_ptr< PyMain< Opm::Properties::TTag::FlowOnePhaseProblem > > | main_ |
| std::unique_ptr< FlowMain< Opm::Properties::TTag::FlowOnePhaseProblem > > | flow_main_ |
| Simulator * | simulator_ |
| std::unique_ptr< PyFluidState< Opm::Properties::TTag::FlowOnePhaseProblem > > | fluid_state_ |
| std::unique_ptr< PyMaterialState< Opm::Properties::TTag::FlowOnePhaseProblem > > | material_state_ |
| std::shared_ptr< Deck > | deck_ |
| std::shared_ptr< EclipseState > | eclipse_state_ |
| std::shared_ptr< Schedule > | schedule_ |
| std::shared_ptr< SummaryConfig > | summary_config_ |
| std::vector< std::string > | args_ |