Commit Graph

98 Commits

Author SHA1 Message Date
Joakim Hove
a2fc480e16 Move enum CompletionOrder to Connection class 2019-09-04 14:46:58 +02:00
Joakim Hove
dcf4347aee Moved connection state enum to Connection class 2019-09-04 14:46:58 +02:00
Joakim Hove
a7c5483b0f Move Well status enum to Well2 class 2019-09-04 14:46:58 +02:00
Joakim Hove
c516f868e4 Slight reorganizing of Python tree 2019-08-23 19:15:51 +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
10142b482e setup.py discontinue glob use. 2019-08-16 10:37:48 +02:00
Steinar Foss
522dee0a47 setuptools install PYTHONPATH circumvention. 2019-08-16 10:35:28 +02:00
Steinar Foss
554ceb87dd setup.py will install python packages.
setup.py install to CMAKE_INSTALL_PREFIX.

cmake will create python install dir.
2019-08-15 17:00:43 +02:00
Steinar Foss
36338c8a71 namespace sunbeam -> opmcommon_python. 2019-08-15 11:35:28 +02:00
Steinar Foss
c94ed2f643 renaming python/cxx/sunbeam*.* -> common *.* 2019-08-15 11:19:18 +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
d1052d2034 setup.py: uses ccache c++. 2019-08-09 18:14:02 +02:00
Steinar Foss
cf9aa917dc setup.py: may use ccache.
added note.
2019-08-09 18:14:02 +02:00
Steinar Foss
b0ad3a2b26 resolved merge conflict. 2019-08-09 10:48:43 +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
Joakim Hove
160f0f83e1 Remove Schedule::getGroups() 2019-07-15 06:01:44 +02:00
Joakim Hove
7559c31e43 Use Schedule::groupNames() intead of getGroups() 2019-07-15 06:01:44 +02:00
Joakim Hove
fe83324746 Moved Group related files to Group/ folder in filesystem 2019-07-03 11:15:51 +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
da1fb0b744 python compiles directly. 2019-06-20 10:05:53 +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
Steinar Foss
a1d4fe13af sunbeam scheduls: get_wells as a function. 2019-06-19 11:51:38 +02:00
Steinar Foss
55f9c8c24f can compile sunbeam. 2019-06-19 11:41:37 +02:00
Steinar Foss
ea208bbd56 pybind11: added note to README file. 2019-06-17 09:55:59 +02:00
Steinar Foss
79a5ba09e2 removed sunbeam specific files. 2019-06-17 09:42:01 +02:00
Steinar Foss
d73d0ccc99 added from libecl FindPythonModule/PythonPackage, from pycmake pycmake_test_runner. 2019-06-16 22:00:41 +02:00
Steinar Foss
5bc282d60e removed pycmake. 2019-06-16 19:13:47 +02:00
Steinar Foss
51b484d930 python/CMakeLists: changed pycmake path. 2019-06-14 16:42:37 +02:00
Steinar Foss
141aa41e30 added embedded repo pycmake. 2019-06-14 14:45:08 +02:00
Steinar Foss
8d2398612b added embedded repo pybind11. 2019-06-14 14:34:20 +02:00
Steinar Foss
327e6c3a5c removed submodules pycmake and pybind11. 2019-06-14 14:32:08 +02:00
Markus Fanebust Dregi
ebcac44715 Move .gitmodules to root 2019-06-07 08:26:15 +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
Joakim Hove
b7fc40078b Set __version__ to 0.1.2 2018-11-06 11:18:00 +01:00
Joakim Hove
eed1309b7a Adapt to api changes in opm-common 2018-08-09 08:13:35 +02:00
Joakim Hove
b50da115b9 Fix bug with TimeVector.delet() 2018-06-14 16:03:42 +02:00
Joakim Hove
7ab73165be Implement functionality to delete dates from TimeVector 2018-06-11 17:12:32 +02:00
Joakim Hove
ef2384baf7 Verify that first keyword in TimeVector is not dates 2018-06-11 16:36:20 +02:00
Joakim Hove
7dc82a43e3 Fix bug with DATES with no interleaved data 2018-05-31 21:24:37 +02:00
Joakim Hove
2252a7bd33 Changed time_vector to start with DATES. Ignore TSTEP 2018-03-22 10:17:45 +01:00
Joakim Hove
83428bd716 Set version to 0.0.6 2018-03-21 12:40:41 +01:00
Joakim Hove
cc82c1241e Raised version to 0.0.5 2018-03-21 12:35:48 +01:00
Joakim Hove
d33a5a39b6 Added class TimeVector to be used as basis for Schedule merging. 2018-03-15 10:10:01 +01:00
ReedMe
60f1ac8c67 Add vfp_table_nr to Group
VFP table nr  is added from GRUPNET for further use
related to GroupTree in Webportalen
2018-02-27 10:49:01 +01:00
Joakim Hove
66cf592e8d Added package sunbeam.deck and function sunbeam.deck.parse() 2018-02-23 13:50:02 +01:00