test_props.py: added check for 3d_properties/field_props extraction. cxx/eclipse_state.cpp: adding function field_props. added python class FieldProperties. python FieldProps: added __contains__. python FieldProps: added __getitem__. python field_props: images all 3dprops tests.
28 lines
1.0 KiB
Python
28 lines
1.0 KiB
Python
# This is the entry point were all the pybind11/C++ symbols are imported into
|
|
# Python. Before actually being used the symbols are typically imported one
|
|
# more time to a more suitable location; e.g the Parser() class is imported in
|
|
# the opm/io/parser/__init__.py file as:
|
|
#
|
|
# from opm._common import Parser
|
|
#
|
|
# So that end user code can import it as:
|
|
#
|
|
# from opm.io.parser import Parser
|
|
from __future__ import absolute_import
|
|
from .libopmcommon_python import action
|
|
|
|
from .libopmcommon_python import Parser, ParseContext
|
|
from .libopmcommon_python import DeckKeyword
|
|
|
|
from .libopmcommon_python import EclipseState
|
|
from .libopmcommon_python import test_field_props
|
|
from .libopmcommon_python import FieldProperties
|
|
from .libopmcommon_python import Schedule
|
|
from .libopmcommon_python import OpmLog
|
|
from .libopmcommon_python import SummaryConfig
|
|
from .libopmcommon_python import EclFile, eclArrType
|
|
|
|
#from .schedule import Well, Connection, Schedule
|
|
#from .config import EclipseConfig
|
|
#from .parser import parse, parse_string
|