Commit Graph

225 Commits

Author SHA1 Message Date
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
Joakim Hove
83f2714766 Have create SunbeamState object for access to four top level objects. 2018-02-22 20:54:23 +01:00
Kristian Reed
491c1461f2 add python 3 support and travis test 2018-02-22 10:19:32 +01:00
Joakim Hove
ee0bbb70bb Raised version number to 0.0.4 2018-02-14 21:19:15 +01:00
Joakim Hove
67b30fe715 Use pybind11 as binding framework
This commit changes the api for the Schedule class, the various time related
methods now return datetime.datetime instances instead of datetime.data.
2018-02-08 18:53:15 +01:00
Jens Gåsemyr Magnus
524af0dcf0 Extend Completion class implementation (#54)
* Extend Completion class implementation

Added access to several variables from the completion class. The Well
interface has been changed so that completions for any timestep can be
accessed rather than just the last.

* Bump version to 0.0.3

* Removed single space
2017-12-05 17:48:07 +01:00
Pål Grønås Drange
2b9691e62c Remove redundant parameter 2017-10-17 22:15:44 +02:00
Jens Gåsemyr Magnus
a1424cc2fa Pydoc for user facing parse functions
Rename action to recovery

Changed the name of actions to recoveries in the user facing parse
functions. Updated tests to reflect this.
2017-10-09 10:07:26 +02:00
Pål Grønås Drange
b21d3e84c4 Expose grouptree ultimate (#47) 2017-10-03 20:18:29 +02:00
Jens Gåsemyr Magnus
2cfdfc8b98 Added support for reading Deck data 2017-09-21 10:30:14 +02:00
Jens Gåsemyr Magnus
fc594faaa4 Forward docstrings from C++
Some of the user facing functions and methods in sunbeam have no
implementation in the python-defined classes, but are forwarded from
boost python. This forwarding is done by hijacking the method call at
runtime, which means that python help() cannot resolve the docstring.

Copy the docstring into the hijacking attribute so that the docstring is
available as if the method/function was implemented directly in python.

help(eclipse_state_object) will now correcly forward the docstrings from
the forwarded EclipseState class.
2017-09-14 16:56:38 +02:00
Jens Gåsemyr Magnus
e1d860506a Started exposing deck 2017-09-07 12:36:10 +02:00
Jens Gåsemyr Magnus
11fe32df4f Add support for dynamic parser extensions
Sunbeam can now be used to parse eclipse files to deck representations.
Added support for dynamic parser extensions which can be used to handle
unsupported eclipse keywords when parsing to deck representations.

Fixed missing function declarations
2017-09-05 13:24:06 +02:00
Jens Gåsemyr Magnus
e92bd4bd36 Separated C++ and python source files
Separating the C++ and python source files to make the repository more
structures as we will create additional C++ source files.
2017-09-01 10:17:57 +02:00
Pål Grønås Drange
d5efa529ab Adapt to change in schedule.getTimeMap in opm-parser 2017-08-11 12:48:49 +02:00
Pål Grønås Drange
dd56505825 added getCellVolume on sunbeam.grid 2017-03-31 12:19:39 +02:00
Pål Grønås Drange
1ed4517d65 implemented table lookup for eclipse_state 2017-02-17 15:07:09 +01:00
Pål Grønås Drange
d966376562 added basic tables support, and cornerpoint test data (#27)
* added basic tables support, and cornerpoint test data
2017-02-16 15:43:59 +01:00
Pål Grønås Drange
0d8610ad04 JFunc now returns dict (#25)
made jfunc return dict
2017-02-05 10:41:28 +01:00
Joakim Hove
8e5d3149c0 Add install( ) of libsunbeam. 2017-02-04 13:43:07 +01:00
Pål Grønås Drange
e2485b0c22 Jfunc (#24)
jfunc support
2017-02-03 11:31:22 +01:00
Pål Grønås Drange
42fc9b27d1 added faults 2017-01-13 14:30:07 +01:00
Pål Grønås Drange
39fa96b02f added some config classes, refactored out files 2017-01-13 12:52:50 +01:00
Pål Grønås Drange
afb28c00c2 added basic completions support 2017-01-12 17:17:01 +01:00