Very first version of an python - OGS interface.
The MR provides an OpenGeoSys python module. At present the module has an initialize()
, an executeSimulation()
, and a finalize()
function. In the future the executeSimulation()
function should be substituted by other functions, like
- update
- status
- time
- validate
- inputs
- outputs
to allow for better control of OGS execution and coupling to other simulation software.
As a side-effect this also bumps required CMake version to 3.22. I (@bilke) would have done the bump anyway in the next two weeks (as I plan to use some recent CMake features to improve our CMake logic).
-
Feature description was added to the changelog -
Tests covering your feature were added?
Next steps:
- Revert 5ff907f4 (due to CMake bump)
- Make ogs with this Python interface available as a pip or conda module
- Enable functionality on Windows Release
- Iterate on this interface