Commit Graph

33 Commits

Author SHA1 Message Date
Steinar Foss
78ab86e2a3 test_state2.py: added test_tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
0ae8c4b235 python grid: properties as small cap. 2019-09-13 16:17:35 +02:00
Steinar Foss
3ecb446c20 test_state2: added test_simulation. 2019-09-13 16:17:35 +02:00
Steinar Foss
97728e9fda test_state2.py: added test_grid. 2019-09-13 16:17:35 +02:00
Steinar Foss
af096fddf9 test_state2: added test_state_nnc. 2019-09-13 16:17:35 +02:00
Steinar Foss
0257528ea9 test_state2: added test_repr_title. 2019-09-13 16:17:35 +02:00
Steinar Foss
fcca1fa823 python EclipseState: added constructor. 2019-09-13 16:17:35 +02:00
Steinar Foss
7fc7a8f0ba python class Sunbeamstate: remove state. 2019-09-13 16:17:35 +02:00
Steinar Foss
b97503d34d exposed class TableManager as Tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
c01d3b0139 propertes.py: removed Tables. 2019-09-13 16:17:35 +02:00
Steinar Foss
7811054029 properties.py: EclipeState: removed faults. 2019-09-13 16:17:35 +02:00
Steinar Foss
e1bffe7b3d python: exposed class Eclipse3DProperties. 2019-09-13 16:17:35 +02:00
Steinar Foss
525dfdcd69 properties.py: removed Eclipse3DProperties. 2019-09-13 16:17:35 +02:00
Steinar Foss
369a99a64a python: exposed class EclipseGrid. 2019-09-13 16:17:35 +02:00
Steinar Foss
d5e0d72f0f properties.py: removed class EclipseGrid. 2019-09-13 16:17:35 +02:00
Steinar Foss
318d396adc Parserkeyword property -> name/ ParserKW -> ParserKeyword. 2019-09-06 22:50:25 +02:00
Steinar Foss
ff79a404be Can extract parserkw's in python.
added keyword PYINPUT.

added pythonclass ParserKW.

python acces to ParserKW.

removed wrong kw PYINPUT.

...
2019-09-06 15:40:31 +02:00
Steinar Foss
132fc1ff1b moved pyclass EclipseConfig to ecl_state. 2019-09-06 09:42:46 +02:00
Steinar Foss
6dfab9c621 added new python test state2. 2019-09-06 09:13:30 +02:00
Steinar Foss
dedc74f299 exposed cxx class EclipseConfig to python dir. via pybind11. 2019-09-06 09:05:02 +02:00
Steinar Foss
ad50a22ed7 removed python class EclipseConfig. 2019-09-05 21:05:19 +02:00
Joakim Hove
7984d2a0f4 Expose the Parser class properly to Python 2019-09-05 08:44:47 +02:00
Joakim Hove
8e8abee556 Renamed opm.parser -> opm.io 2019-08-23 11:24:15 +02:00
Joakim Hove
7e775ecd17 Emptied the opm/__init__.py file and create opm.parser package 2019-08-19 16:01:19 +02:00
Steinar Foss
e25416c236 renamed python pkg sunbeam -> opm.
setup.py: test_suite -> tests_suite .

libsunbeam -> libopmcommon_python.

sunbeam -> opm: test_connection ok.

test_deck ok.

test_group_tree ok.

test_grupnet ok.

test_parse_deck.py ok.

test_parse.py ok.

python all tests ok.
2019-08-15 11:02:09 +02:00
Steinar Foss
c208a59597 Sunbeam will be compiled with setuptools.
setup.py moved to python/python.

moved python tests to python/python.

added __init__.py under python/tests.

added 'test_' before all python test names.

test_ prefix added to tests.

setup.py and python tests moved back to python base.

setuptools executes from root python.

python: tests run from root python w/ setup.py.

python tests: temp reduced to test_deck only.

python setup.py: manually linked opmcommon.

setup.py: linked ecl.

setup.py linked boost_filesystem.

setup.py: linked boost_regex.

python all tests run.

removec usr/local from setup.py ext_module.

cmake make copies entire python dir to build.

setup.py can execute from build.

setup.py executes from build/python.

python tests run under setup.py.

setup.py library_dirs and include-dirs set by cmake command.

removed cmake files from sunbeam.

sunbeam: added code for install.

setup.py: removed 'import ecl'.

python/src -> python->src_sunbeam.

setup.py: discontinued use of glob, all files listed instead.

build-opm_module.sh: added prefix_path to opm.

build-opm-module.sh: changed spell error for EXTRA_MODULE_FLAGS[opm-common].

setup.py: infer include directories from cmake target

CMakeLists.txt: under python: align install statement.

CMakeLists build python: removed find_package.

src_sunbeam -> cxx.

setup.py: test_suite as string.

setup.py: tests_suite -> test_suite.

setup.py: added exception if 'build_ext' not used.

temporarily moved files to python/sunbeam.
2019-08-09 10:40:33 +02:00
Joakim Hove
7c856f681d Use new classes Group2 and GTNode 2019-08-06 22:59:16 +02:00
Steinar Foss
597bbde151 jenkins will build python. (#865)
Jenkins will build with -DOPM_ENABLE_PYTHON=ON
2019-06-29 08:20:00 +02:00
Steinar Foss
af2e3190a2 python tests: runs ok directly under opm-common. 2019-06-20 12:04:09 +02:00
Steinar Foss
5e88782e51 sunbeam test schedule.py works for new Well2. 2019-06-19 14:43:59 +02:00
Steinar Foss
24f44c1c64 sunbeam test connections.py works for new Well2. 2019-06-19 14:06:20 +02:00
Steinar Foss
4161a1339a test well.py all pass with new Well2. 2019-06-19 13:51:43 +02:00
Joakim Hove
77795b5005 Add 'python/' from commit '278373703455ea6562a0f8e5278b4db46eb1fc7e'
git-subtree-dir: python
git-subtree-mainline: e8dbf7d8ee
git-subtree-split: 2783737034
2019-05-08 07:20:29 +02:00