mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
NOTE: this pull request depends on #2555 which should be merged first. A rewrite of the outdated PR #2543. Refactors flow_ebos_blackoil.cpp such that we can choose not to execute the whole simulation using the flowEbosBlackoilMain() function but instead only initialize by calling flowEbosBlackoilMainInit(). This is necessary to implement a Python step() method that can advance the simulator one report step at a time. Also adds a method initFlowEbosBlackoil() to Main.hpp that can be used directly from the Python interface's BlackOilSimulator object to gain access to the FlowMainEbos object before it has initialized the simulation main loop.