mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
A simplified version of PR #2518 that uses a deck filename to construct the simulator. After private discussion with @joakim-hove it was decided that the construction of the blackoil simulator from Python using deck, ecliseState, schedule and summaryConfig as constructor arguments from \#2518 should be replaced by a constructor taking only the deck filename as parameter. A rewrite of the Python bindings for the blackoil simulator using pybind11 as introduced in PR #2127. The new version uses the refactored flow.cpp introduced in PR #2516 and thus avoids duplication of the code in simulators.cpp. This PR will be the starting point for implementing the Python bindings introduced in PR #2403.
5 lines
96 B
CMake
5 lines
96 B
CMake
if(NOT TARGET pybind11)
|
|
add_subdirectory( pybind11 )
|
|
add_subdirectory( simulators )
|
|
endif()
|