Commit Graph

287 Commits

Author SHA1 Message Date
Markus Blatt
f8c6fabb2d Use system's pybind11 if available. 2021-03-19 20:18:58 +01:00
Markus Blatt
6cf4250f18 Removes inclusion of boost-python header 2021-03-17 16:02:41 +01:00
Markus Blatt
974f7da6a1 Use python3 for setup scripts, too 2021-03-11 11:50:27 +01:00
Joakim Hove
69c198271f Merge pull request #2327 from joakim-hove/summary-invalid-fipnum
Summary invalid fipnum
2021-03-10 07:32:43 +01:00
Joakim Hove
84d5dbde0e Make the Builtin class available from Python 2021-03-09 12:22:39 +01:00
Joakim Hove
18dca82a8b Handle empty regions in summary region results 2021-03-08 16:29:56 +01:00
Joakim Hove
8a901f2700 Merge pull request #2326 from joakim-hove/summary-add-fp
Add fieldprops argument to SummaryConfig constructor
2021-03-08 12:25:13 +01:00
Joakim Hove
48b366b1f9 Add fieldprops argument to SummaryConfig constructor 2021-03-08 08:23:01 +01:00
Joakim Hove
b5183b1d76 Hide RestartConfig as private member of Schedule class 2021-03-07 11:27:09 +01:00
Joakim Hove
7b896359f6 Part 2: Use Opm::time_point 2021-03-03 15:13:34 +01:00
Joakim Hove
37e29266ea Remove timemap member from Schedule class 2021-03-03 15:09:29 +01:00
Joakim Hove
0c74e9ac7a Expose ParseContext::ignore_keyword() in Python 2021-03-02 10:24:18 +01:00
Joakim Hove
bcffaefa7a Use ScheduleState for wells++
Use SchedueleState for wells, in addition to the members UDQConfig, GasLiftOpt
and GuideRateConfig.
2021-02-10 07:22:46 +01:00
Joakim Hove
e016d357d8 Use ScheduleState to manage groups 2021-02-02 07:25:16 +01:00
Joakim Hove
7e8bb3846a Fix bug in python/setup-test.sh.in 2021-01-28 17:20:19 +01:00
Joakim Hove
d15a3a918c Replace windows path separators in GDFILE keyword 2021-01-27 16:15:28 +01:00
Joakim Hove
5a8cb5f562 Add very basic Python wrapping for ScheduleState 2021-01-19 09:51:22 +01:00
Bård Skaflestad
5816d2dbd2 Push Compatibility Check To Parser Level
Leverage the 'prohibits'/'requires' support to enforce earlier
keyword compatibility checks.  This plays better with parallel runs.
2020-12-17 21:33:11 +01:00
Torbjørn Skille
a8461fd121 Updating class ERst
- rename member function from getRst -> getRestartData
 - adding support for parsing and reading data for LGRs
 - a number of member functions made const
 - updated python bindings for this class
2020-12-01 23:06:44 +01:00
Arne Morten Kvarving
edeef07018 remove unused file 2020-11-26 12:07:04 +01:00
Arne Morten Kvarving
b7fdffa12d disable building tests in pypi-packages 2020-11-25 12:20:02 +01:00
Arne Morten Kvarving
87698342d8 add export of build results from pypi docker 2020-11-25 11:57:10 +01:00
Arne Morten Kvarving
62bb1bc196 add python3.9 to pypi 2020-11-25 11:57:02 +01:00
Joakim Hove
e61e7afcc8 Refactor the NNC input class
- The NNC and EDITNNC keywords are internalized in the same class.
- The EDITNNC keyword operations are applied directly to the NNC keywords.
- The nnc vectors are ordered with cell1 < cell2 and ascending order.
- An api has been added to get the KeywordLocation from an NCC
- NNC/EDITNNC which is connected to inactive cell is ignored
2020-11-11 19:57:06 +01:00
Torbjørn Skille
9fa90b2687 Update of EclIO classes.
- Enables reading of output files generated by simulator IX
 - Adding support for EclFile data type C0nn (string with length > 8 characters)
 - Update of program summary, now supporting well names with more that 8 characters
 - Updates of program convertECL, possible to write output files with IX "format"
 - updates of python bindings (EclOutput and EclFile)
2020-11-10 22:02:38 +01:00
Joakim Hove
0cdfdca0f7 Add SummaryState functions has_well_var() and has_group_var() 2020-10-15 13:01:52 +02:00
Kai Bao
6093a80dff fixing the compilation due to interface change 2020-10-02 14:09:01 +02:00
Joakim Hove
8e247ca6e8 Use new ParseCOntext signature 2020-09-29 15:37:14 +02:00
Joakim Hove
52d69dfd0d Update PYTHONPATH in enable-python.sh 2020-07-15 10:16:21 +02:00
Joakim Hove
c7b93797b6 Merge pull request #1852 from joakim-hove/python-wellnames
Add python wrapper for Schedule::wellNames( const std::string& )
2020-07-02 09:50:57 +02:00
Joakim Hove
d6a3cdb986 Merge pull request #1832 from CeetronSolutions/python-pypi-cleanup
Python pypi package work
2020-07-01 13:34:26 +02:00
Joakim Hove
ab821b90a5 Add python wrapper for Schedule::wellNames( const std::string& ) 2020-07-01 11:01:12 +02:00
Gaute Lindkvist
f7b080b7b6 Fix remaining double use of python/python and opm/opm folders in Python package generation 2020-07-01 03:25:11 -04:00
Gaute Lindkvist
c24d7f7798 Remove static python flags from generate-pypi script 2020-06-30 10:55:23 -04:00
Joakim Hove
eb48fb709a Add SummaryState::get_xxx() overloads with a default argument 2020-06-29 14:14:49 +02:00
Gaute Lindkvist
a624d6c690 Remove static python flags from generate-pypi script 2020-06-25 09:26:38 -04:00
Gaute Lindkvist
474d4a90dc Add more metadata to setup.py for pypi page 2020-06-19 14:56:12 +02:00
Gaute Lindkvist
29bb9f05be Add simple pypi howto 2020-06-19 13:38:55 +02:00
Gaute Lindkvist
16505b421a Rename package to lowercase 'opm' instead of 'Opm' 2020-06-18 10:32:05 -04:00
Gaute Lindkvist
5515422d02 Add docker files and scripts for creating cross-distro PyPI packages 2020-06-18 10:32:05 -04:00
Gaute Lindkvist
cbd23e71ef Add generation of a setup-package.sh script for creating PyPI-packages 2020-06-16 13:08:33 +02:00
Gaute Lindkvist
9ed75f030b Rename python/python folder to python/opm
This makes bdist_wheel find and add the library binary files.
2020-06-16 13:08:33 +02:00
Gaute Lindkvist
e3bb9a3151 README.md file skeleton for Python package 2020-06-16 13:08:33 +02:00
Gaute Lindkvist
85f8c7b37d Add more metadata to Python setup.py 2020-06-16 13:08:33 +02:00
Gaute Lindkvist
6db3ccf36f Add link flags to Python setup.py 2020-06-16 13:08:33 +02:00
Gaute Lindkvist
a2d52dcc0b Add versioning to python/setup.py 2020-06-10 14:30:38 +02:00
Gaute Lindkvist
2f6d4a8f84 Improve string comparison in install.py to remove warning 2020-06-10 14:08:38 +02:00
Joakim Hove
4e7ac10320 Explicitly mark const overload in Python binding 2020-05-28 16:21:14 +02:00
Arne Morten Kvarving
0656b4bf17 fixed: it's test_suite, not tests_suite 2020-04-21 09:24:41 +02:00
Joakim Hove
0cfc291039 Add function to calculate volume for all active cells - omp 2020-04-15 20:33:22 +02:00