opm-simulators/opm/simulators/flow
Håkon Hægland 5ad65c70ee Initialize blackoil simulator from schedule shared with Python.
Adds a new constructor to Main.hpp that takes shared pointers to Deck,
EclipseState, Schedule, and SummaryConfig. This makes it possible to
share these variables with Python without worrying about lifetime issues
of the underlying C++ objects. For example, a Python script can first
create an opm.io.schedule.Schedule object which is modified from Python.
Then, assume the same Python script creates an
opm.simulators.BlackOilSimulator which is initialized with the same
schedule object. Since the underlying C++ object is a shared pointer,
the Schedule object in Python may go out of scope (get deleted by Python)
without having the C++ schedule object being deleted. And the Python
BlackOilSimulator may continue to be used after the Python Schedule object
has been deleted since it still has a valid C++ schedule object.
2021-09-21 15:52:59 +02:00
..
python Initialize blackoil simulator from schedule shared with Python. 2021-09-21 15:52:59 +02:00
BlackoilModelEbos.hpp Merge pull request #3454 from plgbrts/gw1 2021-08-03 12:01:34 +02:00
BlackoilModelParametersEbos.hpp add option for relaxed convergence for stw 2021-09-14 14:32:14 +02:00
countGlobalCells.cpp countGlobalCells: put non-template code in separate compile unit 2021-04-30 15:09:23 +02:00
countGlobalCells.hpp remove unused method 2021-06-08 15:10:11 +02:00
FlowMainEbos.hpp Set external UDQState for flow blackoil 2021-07-04 08:55:07 +02:00
KeywordValidation.cpp Add basic functionality for validating special case keywords 2021-08-24 13:50:40 +02:00
KeywordValidation.hpp Add missing include for unordered_map. 2021-09-09 12:17:54 +02:00
Main.hpp Initialize blackoil simulator from schedule shared with Python. 2021-09-21 15:52:59 +02:00
NonlinearSolverEbos.hpp Rename WellStateFullyImplicitBlackoil -> WellState 2021-05-21 15:07:21 +02:00
SimulatorFullyImplicitBlackoilEbos.cpp SimulatorFullyIplicitBlackoilEbos: avoid boost includes in header 2021-06-08 15:44:28 +02:00
SimulatorFullyImplicitBlackoilEbos.hpp SimulatorFullyIplicitBlackoilEbos: avoid boost includes in header 2021-06-08 15:44:28 +02:00
ValidationFunctions.cpp Add basic functionality for validating special case keywords 2021-08-24 13:50:40 +02:00
ValidationFunctions.hpp Add basic functionality for validating special case keywords 2021-08-24 13:50:40 +02:00