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:
Håkon Hægland
2022-05-02 18:43:04 +02:00
parent ea82bebb3a
commit 91ac3a2a32
7 changed files with 124 additions and 19 deletions

View File

@@ -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):