Commit Graph

11207 Commits

Author SHA1 Message Date
Joakim Hove
414b7c1946 Add TracerConfig::operator[](std::size_t) 2021-11-22 15:52:36 +01:00
Joakim Hove
7e26d683dd
Merge pull request #2859 from joakim-hove/tracer-intehead
Update INTEHEAD vector to take tracer data into account
2021-11-22 15:51:09 +01:00
Joakim Hove
48c97f8f2e
Merge pull request #2867 from atgeirr/add-missing-include
Add missing include for unordered_map.
2021-11-22 10:28:57 +01:00
Joakim Hove
5c3c19474a
Merge pull request #2858 from joakim-hove/parser-item-init
Initialize values used for overloading in ParserItem
2021-11-22 09:50:33 +01:00
Joakim Hove
6d669c9b6c
Merge pull request #2853 from joakim-hove/wstats
WSTAT
2021-11-22 09:50:04 +01:00
Atgeirr Flø Rasmussen
cacdafcf51 Add missing include for unordered_map. 2021-11-22 09:48:32 +01:00
Joakim Hove
272a22a34c Update INTEHEAD vector to take tracer data into account 2021-11-22 09:46:02 +01:00
Joakim Hove
27c690acf4 Add class Tracers with tracer dimensions 2021-11-22 09:46:02 +01:00
Joakim Hove
37d9893e9e
Merge pull request #2855 from joakim-hove/add-ztracer
Add ztracer keyword to restart file
2021-11-22 09:37:34 +01:00
Joakim Hove
2043a5f991
Merge pull request #2848 from joakim-hove/keyword-is
Suggestion: use keyword.is<T>() instead of checking name?
2021-11-19 16:09:03 +01:00
Joakim Hove
5df24a644a
Merge pull request #2857 from joakim-hove/netbalan-default
Netbalan default
2021-11-19 15:36:04 +01:00
Joakim Hove
45c726156c Use keyword.is<ParserKeyword:XXXX> instead of checking name 2021-11-19 15:32:20 +01:00
Joakim Hove
d1f3d40e03 Add ZTRACER keyword before tracer solution data in restart file 2021-11-19 08:00:23 +01:00
Joakim Hove
137ef059e7 Add TracerConfig::operator[] 2021-11-19 07:53:21 +01:00
Joakim Hove
0998309138 Rename DeckKeyword::isKeyword -> DeckKeyword::is 2021-11-18 16:45:08 +01:00
Joakim Hove
78a90e1dec Create Network::Balance constructor based on default values 2021-11-18 15:29:38 +01:00
Joakim Hove
ebc92f4250 Add bool active() method to NetworkDims 2021-11-18 15:29:38 +01:00
Joakim Hove
9f86549d30 Initialize values used for overloading in ParserItem 2021-11-18 11:28:30 +01:00
Joakim Hove
b1279876cd Use std::optional<> for NETBALAN pressure values 2021-11-18 10:50:39 +01:00
Joakim Hove
9d1f512b44
Merge pull request #2854 from joakim-hove/add-type-tracer-solution
Add restart output type RESTART_TRACER_SOLUTION
2021-11-18 09:39:24 +01:00
Joakim Hove
5432636a82 Add restart output type RESTART_TRACER_SOLUTION 2021-11-17 14:26:37 +01:00
Joakim Hove
07a5fb22c3 Handle string output for WSTAT to RSM file 2021-11-17 12:16:42 +01:00
Joakim Hove
cb2e90bb71 Output WSTAT numerical value to summary file 2021-11-17 12:16:34 +01:00
Joakim Hove
2a50e28085 Test ensure that WSTAT is included in SummaryConfig 2021-11-17 12:10:48 +01:00
Joakim Hove
9732520e3f Move special case handling of 'S' summary keywords to SummaryNode 2021-11-17 12:04:19 +01:00
Joakim Hove
f1b3c73c65
Merge pull request #2852 from joakim-hove/add-kw-compsegs
Add kw compsegs
2021-11-16 20:01:11 +01:00
Joakim Hove
b30e51ccf0
Merge pull request #2851 from joakim-hove/replace-std-size
Replace std size
2021-11-16 19:28:27 +01:00
Joakim Hove
f95b0ad19e Rename inspect_actionx_keyword -> prefect_cell_properties 2021-11-16 19:25:45 +01:00
Joakim Hove
bef5f5b9f4 Small fixup in python wrapper 2021-11-16 18:37:59 +01:00
Daniel
fe24c0717c Replace Deck::getKeyword(size_t) with operator[size_t] 2021-11-16 18:36:27 +01:00
Joakim Hove
b6ec75eeb6
Merge pull request #2841 from joakim-hove/register-tests-in-files
Register ecl io tests using the file list in CMakeLists_files.cmake
2021-11-16 13:47:15 +01:00
Daniel
7435073568 Add keyword COMPSEGS to inspect_actionx_keyword() 2021-11-16 10:20:22 +01:00
Joakim Hove
df99685a92
Merge pull request #2844 from hakonhagland/py_rpath
Add rpath to libopmcommon.so in the build directory.
2021-11-15 17:50:39 +01:00
Joakim Hove
a8edbddbcd
Merge pull request #2845 from blattms/spelling-fixes-2021.10
Fixes spelling errors pointed out by lintian
2021-11-15 16:44:11 +01:00
Markus Blatt
388bb09162 Fixes spelling errors pointed out by lintian 2021-11-15 16:05:20 +01:00
Joakim Hove
b3bbd567e8
Merge pull request #2832 from joakim-hove/action-multxyz
Action multxyz
2021-11-15 14:24:56 +01:00
Håkon Hægland
a4d703b433 Add rpath to libopmcommon.so in the build directory.
Currently, an rpath to the install directory of libopmcommon.so is
generated for libopmcommon_python.so, but a similar rpath is not added to
the libopmcommon.so in the build directory. It is useful to be able to
use the build directory libraries when not compiling with
-DOPM_INSTALL_PYTHON or when developing.

This PR fixes issue #2843.
2021-11-15 13:50:06 +01:00
Markus Blatt
7554a16b4c
Merge pull request #2839 from joakim-hove/rm-sched-debug
Remove stale compile definition SCHEDULE_DEBUG
2021-11-15 12:16:55 +01:00
Joakim Hove
785188c45c
Merge pull request #2840 from joakim-hove/avoid-python-dep
Avoid python dep
2021-11-15 12:06:11 +01:00
Joakim Hove
0e5d7977c3
Merge pull request #2842 from blattms/pkgconfig-link-private
List link dependencies as private.
2021-11-15 12:05:16 +01:00
Markus Blatt
b21f5e248d List link dependencies as private.
This hides them for shared libraries that do not need them.
Should fix the following lintian warnings:

W: libopm-common-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/opm-common.pc -lpython3.7m (line 12)
W: libopm-common-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/opm-common.pc -lstdc++fs (line 12)
W: libopm-common-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/opm-common.pc -lgomp (line 12)
W: libopm-common-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/opm-common.pc -lboost_system (line 12)
W: libopm-common-dev: pkg-config-references-unknown-shared-library usr/lib/x86_64-linux-gnu/pkgconfig/opm-common.pc -lcjson (line 12)

Gbp-Pq: Name 0002-List-link-dependencies-as-private.patch
2021-11-15 11:03:55 +01:00
Joakim Hove
a8d3997c72 Register ecl io tests using the file list in CMakeLists_files.cmake 2021-11-15 10:20:36 +01:00
Joakim Hove
efc2b7c834 Only include builtin_pybind11 when building with embedded python 2021-11-15 09:58:00 +01:00
Joakim Hove
40dd50871c Remove unneeded include <pybind11/stl.h> 2021-11-15 09:48:08 +01:00
Joakim Hove
893363e225
Merge pull request #2833 from hakonhagland/py_sched2
Implement support for adding keywords to the schedule from Python.
2021-11-15 08:47:51 +01:00
Joakim Hove
1f8b79105a Remove stale build symbol SCHEDULE_DEBUG 2021-11-15 08:29:03 +01:00
Håkon Hægland
07f11585aa Fix rebase error. 2021-11-14 13:52:35 +01:00
Håkon Hægland
928a33d2ea Add comment about insert_keywords()
Add comment explaining that one of the insert_keywords()
overloads does not work yet.
2021-11-14 13:18:26 +01:00
Håkon Hægland
372b7e86a4 Support for adding keywords to schedule from Python.
Adds support for adding keywords to the SCHEDULE section of the deck
after the deck has been read from file from Python.
2021-11-14 13:18:26 +01:00
Joakim Hove
84c551a6df Record use of GEO keywords as ACTIONX keyword 2021-11-12 16:52:23 +01:00