File: __init__.py

package info (click to toggle)
opm-simulators 2025.10%2Bds-4
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 21,460 kB
  • sloc: cpp: 193,029; sh: 1,807; python: 1,704; lisp: 1,108; makefile: 31; awk: 10
file content (14 lines) | stat: -rw-r--r-- 604 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Instead of having the pybind11 extension module, e.g.
#   simulators.cpython-310-x86_64-linux-gnu.so  located
#   directly in the opm directory, we create a package (sub
#   directory) with the same name and place it there.
#   In this way we can do (if needed in the future)
#
#  from opm.simulators import BlackOilSimulator, FoamSimulator, PurePythonUtils, ...
#
#  where FoamSimulator and PurePythonUtils does not currently exists,
#  but could be possible future extensions..
#
from .BlackOil import BlackOilSimulator
from .GasWater import GasWaterSimulator
from .OnePhase import OnePhaseSimulator