mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Dynamically update schedule from Python
Adds some methods that enables Opm::Schedule to be dynamically modified from Python. A test case in test_schedule.py illustrates the use case.
This commit is contained in:
@@ -2,7 +2,7 @@ import os
|
||||
import unittest
|
||||
from contextlib import contextmanager
|
||||
from pathlib import Path
|
||||
from opm2.simulators import BlackOilSimulator
|
||||
from opm.simulators import BlackOilSimulator
|
||||
|
||||
@contextmanager
|
||||
def pushd(path):
|
||||
|
||||
Reference in New Issue
Block a user