Håkon Hægland
29c4ffcdc9
Use std::shared_ptr as holder type.
...
Use std::shared_ptr as holder type for some Pybind11 classes such that
they can be shared with opm.simulators.
2021-09-20 11:43:50 +02:00
Torbjørn Skille
c900462edb
fixing bug in Opm::EclIO::ESmry constructor
...
- changed behaviour when opening summary file from restart run
- will now work with loadBaseRunData=false and original base run folder
not found.
2021-09-07 22:49:48 +02:00
Torbjørn Skille
514e3a4a35
Adding python bindings for c++ class ExtESmry
...
- Used for loading data from summary file ESMRY
- python class ESmry supporting both SMSPEC/UNSMRY and ESMRY summary files.
2021-08-23 22:15:58 +02:00
Cintia Goncalves Machado
0427f45163
fix;
2021-08-04 13:35:21 +02:00
Cintia Goncalves Machado
830cb81620
addEnableWATVAP
2021-08-04 12:23:17 +02:00
Torbjørn Skille
eded5fdb0c
add functionality to the parser for parsing selected sections of a data deck
...
- made available in python bindings
- added unit tests both for c++ and python
2021-06-22 18:45:24 +02:00
Markus Blatt
50ec3bca05
Spelling fixes pointed out by lintian.
2021-06-15 21:11:36 +02:00
Vegard Kippe
e5987985be
Removed pandas dep also from supporting files..
2021-05-13 10:53:03 +02:00
Vegard Kippe
8a69023089
Removed the pandas dependency
2021-05-13 10:47:27 +02:00
Vegard Kippe
62e78e0018
Adding pandas to requirements.txt
2021-05-12 12:36:42 +02:00
Vegard Kippe
fe5004685c
Adding support for time (HH:MM:SS.MICROSEC) in time_vector. Updating tests accordingly.
2021-05-12 12:16:34 +02:00
Arne Morten Kvarving
04ae012638
changed: python 3.5 is no longer support in pypi
2021-05-08 19:25:06 +02:00
Arne Morten Kvarving
c407618375
Schedule: forward types to avoid includes
...
move constructor definition to compile unit
to avoid symbol usage in header
2021-04-27 12:45:24 +02:00
Arne Morten Kvarving
97eaa972c2
EclipseState: forward types to avoid includes
...
also clean up some unnecessary forwards, old debugging code
2021-04-27 12:45:24 +02:00
Joakim Hove
a6bdda7b27
Merge pull request #2420 from tskille/fix_erst
...
fixing bug for python bindings ERst
2021-04-14 10:05:59 +02:00
Torbjørn Skille
94e541ad60
new python bindings class EModel
2021-04-13 10:42:43 +02:00
Torbjørn Skille
6003736221
fixing bug for python bindings ERst
...
> bug related to occurence parameter in function get_erst_vector(..)
> additional python unittest related to this function
2021-04-11 08:48:23 +02:00
Arne Morten Kvarving
9402db2421
fix building python bindings (with lto)
...
need to set the define for header only library with internal libfmt,
and whatever flags are required by external libfmt
2021-04-09 11:56:25 +02:00
Arne Morten Kvarving
5d13b9ed59
fixed: built builtin_pybind11.cpp in python bindings
...
necessary with lto as symbols are not visible in main library
2021-04-09 11:56:25 +02:00
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