opm-simulators/opm/simulators/utils
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
..
DeferredLogger.cpp avoid include in header 2021-06-18 11:43:54 +02:00
DeferredLogger.hpp bugfix: Detect exception during beginReportStep in parallel a. abort 2021-09-15 20:50:49 +02:00
DeferredLoggingErrorHelpers.hpp bugfix: Detect exception during beginReportStep in parallel a. abort 2021-09-15 20:50:49 +02:00
gatherDeferredLogger.cpp Silence warnings from range-for. 2020-10-12 09:39:37 +02:00
gatherDeferredLogger.hpp Moved files to opm/simulators/ subdirs. 2019-05-08 12:58:19 +02:00
moduleVersion.cpp changed: move moduleVersion to a separate object library 2020-06-08 10:07:22 +02:00
moduleVersion.hpp Add build time to flow startup banner 2020-03-31 08:42:24 +02:00
ParallelEclipseState.cpp fixed: include required headers where needed 2021-04-26 22:39:32 +02:00
ParallelEclipseState.hpp remove some Opm:: qualifiers inside Opm namespace 2021-05-18 10:09:45 +02:00
ParallelFileMerger.cpp ParallelFileMerger: move to separate compile unit 2021-04-29 12:57:27 +02:00
ParallelFileMerger.hpp fixed: do not use Opm:: prefix when inside namespace Opm 2021-05-05 11:59:18 +02:00
ParallelRestart.cpp Instantiate pack etc. for new integer type. 2021-07-08 17:55:28 +02:00
ParallelRestart.hpp Chase Type Specific Aquifer Data API Change 2021-06-25 09:58:27 +02:00
ParallelSerialization.cpp Remove references to RestartConfig 2021-03-26 08:03:07 +01:00
ParallelSerialization.hpp Broadcast schedule another time after filtering connection on rank 0 2020-11-24 22:46:49 +01:00
PartiallySupportedFlowKeywords.cpp Minor updates 2021-07-10 14:05:33 +08:00
PartiallySupportedFlowKeywords.hpp Add keyword validation using a predicate function 2021-06-14 18:10:36 +02:00
PropsCentroidsDataHandle.hpp CentroidsPropsDatahandle Use emplace_back for saving pair 2020-09-21 21:30:51 +02:00
readDeck.cpp Initialize blackoil simulator from schedule shared with Python. 2021-09-21 15:52:59 +02:00
readDeck.hpp Initialize blackoil simulator from schedule shared with Python. 2021-09-21 15:52:59 +02:00
UnsupportedFlowKeywords.cpp add radial to regression test 2021-09-01 00:13:02 +02:00
UnsupportedFlowKeywords.hpp changed: put unsupported keywords in separate compile unit 2021-05-12 14:29:33 +02:00