File: __init__.py

package info (click to toggle)
opm-simulators 2022.10%2Bds-2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 9,352 kB
  • sloc: cpp: 76,729; lisp: 1,173; sh: 886; python: 158; makefile: 19
file content (12 lines) | stat: -rw-r--r-- 526 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
# 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 .simulators import BlackOilSimulator