Joakim Hove
b571dd9d66
Bump version to rc4
2020-05-08 10:39:27 +02:00
Joakim Hove
ad746440e0
Use string based parent *name* in GTNode instead of pointer
2020-05-08 10:23:54 +02:00
Markus Blatt
2bae3b2300
Quietly searcg for OpenMP in opm-common-prereqs.cmake
2020-04-30 12:17:56 +02:00
Markus Blatt
75a2a7e0ee
Mark OpenMP as prerequisite for opm-common
...
to automatically trigger find_package(OpenMP) in downstream
modules (e.g. Dumux)
2020-04-30 12:17:50 +02:00
Arne Morten Kvarving
917fc523ad
changed: remove multiarch-support predepends
...
no longer required in ubuntu bionic, and breaks ubuntu focal,
and in any case it is support by both platforms.
2020-04-30 10:25:58 +02:00
Joakim Hove
28e492ecb9
Bump version to 2020.04-rc3
2020-04-29 16:44:26 +02:00
Joakim Hove
ec1c315968
Python files should go in $PREFIX/dist-packages on debian
2020-04-29 10:49:49 +02:00
Joakim Hove
cf72ef0330
Remove unused function from Group output data
2020-04-29 10:43:03 +02:00
Markus Blatt
10a3bc4b56
Find Zoltan only if MPI is available.
...
Otherwise we experience compilation errors if OPM is configured with
deactivated MPI and activated and found dune-alugrid (cpmpile error
that mpi.h is not found). This commit fixes this for me.
2020-04-28 14:51:46 +02:00
Joakim Hove
8b4d8f1734
Remove unsupported E300 keywords
2020-04-27 19:22:15 +02:00
Markus Blatt
7cea357930
Use OpenMP::OpenMP_CXX target when linking libopmcommon
...
This should allow downstream to automatically use the correct
compile and linke flags for CMake > 3.9. For older versions
we fall back to the old approach.
Closes #1751
2020-04-27 16:09:42 +02:00
OPMUSER
720fb8dcab
Add PVTGW, PVTGWO and RWGSALT
...
Will also add to Missing Features.
2020-04-27 13:00:12 +02:00
OPMUSER
8e56b44201
Update keyword_list.cmake with PERMFACT
...
Update keyword_list.cmake with PERMFACT
2020-04-27 13:00:04 +02:00
OPMUSER
b14c5fc1a9
Rename PERMRED to PERMFACT
...
As per TNO rename PERMRED to PERMFACT to match documentation.
2020-04-27 13:00:00 +02:00
Joakim Hove
565d6b76dc
Use ESmry::loadData() to preload all summary vectors
2020-04-27 12:58:41 +02:00
Joakim Hove
ac840312e7
Small fixes to RSM output
...
- MAI -> MAY
- Update text header with simulation time and flow version
- Make sure the YEARS column is always the first column on page 1
2020-04-27 12:58:37 +02:00
Joakim Hove
5e800ae2e7
Add keyword PRVD
2020-04-25 21:44:14 +02:00
Joakim Hove
2e0583cc74
Summary compare ESmry and ERsm - looser tolerance
2020-04-25 09:11:59 +02:00
OPMUSER
8365eaed0b
Update keyword_list.cmake
2020-04-25 09:11:53 +02:00
OPMUSER
571582c881
Create HMMULTSG
...
Create HMMULTSG definition
2020-04-25 09:11:46 +02:00
Joakim Hove
6439ae1cea
Unconditionally add YEARS to summary output
2020-04-25 09:11:40 +02:00
Joakim Hove
e796916057
Introduce time unit ecl_years == 365.25 days
2020-04-25 09:11:10 +02:00
Joakim Hove
63b663228a
Bumped version to 2020.04-rc2
2020-04-23 10:33:41 +02:00
Joakim Hove
bf475b73b4
Segment sorting - check if already in order
2020-04-23 10:27:29 +02:00
Joakim Hove
1e734020f1
Update connections should hanlde empty list
2020-04-23 10:27:12 +02:00
Joakim Hove
60e9a9c6b9
Merge pull request #1731 from joakim-hove/segment-depth-change
...
Add method WellSegments::segmentDepthChange()
2020-04-22 14:53:23 +02:00
Joakim Hove
48969b8b77
Add method WellSegments::branchSegments()
2020-04-22 12:07:26 +02:00
Joakim Hove
dd0041f8ee
Add method WellSegments::segmentDepthChange()
2020-04-22 10:21:51 +02:00
Joakim Hove
c4690fd3c0
Merge pull request #1730 from joakim-hove/segment-connection-block-depth
...
Changes in WELSPECS reports implementation
2020-04-22 09:53:53 +02:00
Joakim Hove
d0828c4016
Changes in WELSPECS reports implementation
...
- The table datastructures are created dynamically
- Pass a context variable to all fetcher functions
- Add function to look up grid cell depth
2020-04-22 09:16:06 +02:00
Joakim Hove
f0eaa8ea99
Merge pull request #1728 from joakim-hove/report-check-time
...
Report check time
2020-04-22 08:21:35 +02:00
Joakim Hove
b082a4d02f
Send WELSPECS report to OpmLog::info()
2020-04-21 14:43:07 +02:00
Joakim Hove
22de4aaeee
Write footnotes under the WELSPECS report tables
2020-04-21 14:42:26 +02:00
Williham Williham Totland
3db07ce4d3
Implement WELSPECS reports for MSW wells
2020-04-21 14:34:23 +02:00
Bård Skaflestad
f902ceb6d7
Merge pull request #1729 from joakim-hove/changed-wells
...
Add function Schedule::changed_wells() to use in WELSPECS reporting
2020-04-21 14:13:54 +02:00
Joakim Hove
d37aa1116d
Add function Schedule::changed_wells() to use in WELSPECS reporting
2020-04-21 13:18:49 +02:00
Joakim Hove
0f5fddc470
Merge pull request #1722 from joakim-hove/raw-string-quote
...
Raw string quote
2020-04-21 13:02:49 +02:00
Joakim Hove
ca508663b2
Add comparison of connections to Well::operator==
2020-04-21 11:28:36 +02:00
Joakim Hove
9a6d4d43a8
Split Well::operator==()
2020-04-21 11:28:36 +02:00
Joakim Hove
f32f971bc5
Merge pull request #1727 from akva2/fix_test_suite
...
fixed: it's test_suite, not tests_suite
2020-04-21 11:17:12 +02:00
Joakim Hove
7f0700431a
Merge pull request #1726 from akva2/set_visibility
...
changed: explicitly set visibility on PyRunModule
2020-04-21 10:31:40 +02:00
Joakim Hove
3c60cb3765
Merge pull request #1723 from joakim-hove/welspecs-connection-DFACTOR
...
Add unsupported D-FACTOR to Welspecs Connection report
2020-04-21 09:33:27 +02:00
Joakim Hove
8debd0b044
Merge pull request #1725 from akva2/mark_pybind11_system
...
changed: mark pybind11 headers as system headers
2020-04-21 09:24:58 +02:00
Arne Morten Kvarving
0656b4bf17
fixed: it's test_suite, not tests_suite
2020-04-21 09:24:41 +02:00
Arne Morten Kvarving
23dccd9c54
changed: explicitly set visibility on PyRunModule
...
to avoid warnings for the pybind11 members with hidden visibility
2020-04-21 09:19:54 +02:00
Arne Morten Kvarving
c22a4ff980
changed: mark pybind11 headers as system headers
...
to quell some (shadowing) warnings
2020-04-21 09:00:30 +02:00
Joakim Hove
6f23f05c03
Add unsupported D-FACTOR to Welspecs Connection report
2020-04-21 08:29:39 +02:00
Joakim Hove
3077f7aff8
Introduce class RawString
...
The RawString class is introduced as a string which can hold the literals '*',
'/' and '''. The RawString class is used to hold the content of UDQ and ACTIONX
keywords.
2020-04-21 06:51:25 +02:00
Bård Skaflestad
89503cd4d9
Merge pull request #1676 from tskille/esmry_test_lod
...
Effective LOD for ESmry
2020-04-20 20:59:51 +02:00
Joakim Hove
635f3ccb4a
Merge pull request #1721 from akva2/fix_deck_deserialize
...
fixed: initialize iterators after deserialization
2020-04-20 15:03:43 +02:00
Arne Morten Kvarving
78a6854214
fixed: initialize iterators after deserialization
2020-04-20 13:19:55 +02:00
Joakim Hove
082ab35a0e
Merge pull request #1716 from joakim-hove/embedded-python-cmake
...
Set flag for embedded Python in the opm-common-config.cmake file
2020-04-20 11:16:03 +02:00
Bård Skaflestad
4da5a81233
Merge pull request #1718 from joakim-hove/welspecs-items
...
Internalize Gas inflow equation flag in Well - for reporting
2020-04-19 23:45:51 +02:00
Torbjørn Skille
54087e3bd8
Effective LOD for ESmry
2020-04-19 20:59:38 +02:00
Joakim Hove
0f22f897ed
Add message about missing data
2020-04-19 08:58:31 +02:00
Joakim Hove
9194dd408e
Add message about missing well D factor
2020-04-19 08:54:05 +02:00
Joakim Hove
84ad5ef502
Internalize Gas inflow equation flag in Well - for reporting
2020-04-19 08:37:48 +02:00
Joakim Hove
12b0537936
Merge pull request #1717 from berland/OPTIONS3
...
Add json file for OPTIONS3, E300.
2020-04-18 07:08:39 +02:00
Bård Skaflestad
2d4175ed0f
Merge pull request #1695 from GitPaean/msw_summary_keywords
...
adding the summary output keywords for MSW
2020-04-17 20:53:31 +02:00
Atgeirr Flø Rasmussen
4b1609b20a
Merge pull request #1712 from joakim-hove/group-control2
...
Separate flags for available_for_group_control for injectors and producers
2020-04-17 16:40:23 +02:00
Håvard Berland
f46a4c9a02
Update keyword_list.cmake with OPTIONS3
2020-04-17 16:28:20 +02:00
Håvard Berland
29e7ef4504
Add json file for OPTIONS3, E300.
2020-04-17 16:05:52 +02:00
Joakim Hove
7a2394ae12
Set flag for embedded Python in the opm-common-config.cmake file
2020-04-17 14:14:26 +02:00
Joakim Hove
819b624809
Changes in available for group control implementation
...
1. Add separate available_group_control flags for injection and production.
2. Add separate available_group_control flags for each injection phase.
2020-04-17 13:30:26 +02:00
Joakim Hove
dd30fb7bd8
Extracte Schedule construction to separate function in test
2020-04-17 13:03:26 +02:00
Joakim Hove
fbfd95d2f2
Merge pull request #1711 from joakim-hove/welspecs-unknown
...
Welspecs unknown
2020-04-17 11:43:34 +02:00
Joakim Hove
a18539c63c
Merge pull request #1620 from joakim-hove/run-pyaction
...
Run pyaction
2020-04-17 11:40:15 +02:00
Joakim Hove
53fddda62b
Merge pull request #1715 from joakim-hove/keywords
...
Add some missing keywords
2020-04-17 11:37:51 +02:00
Joakim Hove
78577e94cc
Add some missing keywords
2020-04-17 08:57:17 +02:00
Kai Bao
e09b0a2de4
addressing reviewing comments from OPM/opm-common#1695
2020-04-17 01:06:22 +02:00
Kai Bao
8e4d4827a2
adding the test for new segment summary keywords
2020-04-17 00:38:21 +02:00
Kai Bao
34ca02c253
adding summary keywords for MSW
...
SPRD, SPRDH, SPRDF, SPRDA
2020-04-17 00:38:21 +02:00
Joakim Hove
3dbb922cc7
Fill on some of the unknown elements in WELSPECS report
2020-04-16 17:54:09 +02:00
Joakim Hove
315382bad8
Run PYACTION keywords
...
The PYACTION keyword is implemented with a Python module with a run() function
in an external module.
2020-04-16 14:13:54 +02:00
Williham Williham Totland
ead07d2f3f
Passes line_number to columnwise data fetch function.
2020-04-16 09:39:46 +02:00
Joakim Hove
685ab301d2
Merge pull request #1691 from joakim-hove/UDQ-UNITS
...
Default construct UDQ keywords with value 0 when defined with UNIT
2020-04-16 09:27:28 +02:00
Joakim Hove
44c5a6c84c
Merge pull request #1709 from joakim-hove/region-fip-keyword
...
Minor fixup to REGION fip summary keyword regexp
2020-04-16 09:27:01 +02:00
Joakim Hove
b899a1da64
Merge pull request #1703 from joakim-hove/well-store-dens-calc
...
Check WELSPECS values
2020-04-16 09:26:48 +02:00
Joakim Hove
637b1109aa
Minor fixup to REGION fip summary keyword regexp
2020-04-16 07:05:51 +02:00
Joakim Hove
d79b817a58
Merge pull request #1707 from GitPaean/small_adjustment_aquifer_keywords
...
small adjustments for a few AQU keywords
2020-04-16 06:33:35 +02:00
Joakim Hove
2b0fcc974c
Merge pull request #1686 from joakim-hove/cache-cell-volume
...
Cache cell volume
2020-04-16 06:32:05 +02:00
Joakim Hove
92e923b567
Merge pull request #1706 from joakim-hove/test-clean-srcdir
...
Rework testing of Schedule exit status
2020-04-15 21:56:55 +02:00
Kai Bao
585e18d85f
small adjustments for a few AQU keywords
...
AQUCT, AQUFET, AQUFETP
2020-04-15 21:24:43 +02:00
Joakim Hove
43e2fced7d
Simplified testing of exit status
2020-04-15 21:04:26 +02:00
Markus Blatt
8e3ba156a6
Merge pull request #1675 from blattms/refactor-policy-settings
...
Fix policy warnings
2020-04-15 21:01:35 +02:00
Joakim Hove
133ff18ee3
Make sure all generated files are in $work_dir
2020-04-15 20:50:51 +02:00
Joakim Hove
abaee17857
Add HAVE_OPENMP has opm_common_CONFIG_VAR
2020-04-15 20:33:22 +02:00
Joakim Hove
0cfc291039
Add function to calculate volume for all active cells - omp
2020-04-15 20:33:22 +02:00
Atgeirr Flø Rasmussen
0cdd6ba3d8
Merge pull request #1692 from joakim-hove/action-exit
...
Action exit
2020-04-15 17:11:15 +02:00
Markus Blatt
8816549f2f
Try to set CMP0048 to NEW as we do not use VERSION
2020-04-15 14:17:53 +02:00
Markus Blatt
eb22f6cfd9
[CMake] Set PATH instead of LOCATION.
2020-04-15 14:17:53 +02:00
Markus Blatt
6707263385
DUNE does not need special treatment.
...
No need to set *_ROOT for it, which triggers a CMP0074 warning
as the policy settings do not survive find_package calls.
2020-04-15 14:17:53 +02:00
Markus Blatt
636ce45596
Set policy CMP0074 to NEW.
...
We have been using <PackageName>_ROOT like it is intended now.
2020-04-15 14:17:53 +02:00
Markus Blatt
742d8943ca
Move policy settings to OpmInit and into a macro OpmSetPolicies().
...
OpmInit.cmake is one of the first includes and most importantly before
the opm-*-prereqs.cmake files are include. The macro is needed to make
the policies set in all CMakefiles. OpmSetPolicies should be called in
the toplevel CMakeLists.txt file.
This fixes a lot of warnings experienced in downstream modules that
got triggered by the opm-*-prereqs.cmake files. At some calls the
policies were at other not.
On the other hand new warnings about soon to be deprecated policies
CMP0026 and CMP0048 appear at least for cmake version 3.13.4.
But that should be fixed in another PR.
2020-04-15 14:17:53 +02:00
Joakim Hove
593ee3174c
Merge pull request #1704 from blattms/remove-old-boost-locale-hack
...
Revert hack for old boost versions (commit 59863939 )
2020-04-15 13:39:58 +02:00
Markus Blatt
4882e2d782
Revert hack for old boost versions (commit 59863939)
...
We do not support boost in that version anymore and do not use its
locales anyway.
Closes #1667
2020-04-15 12:51:13 +02:00
Joakim Hove
4d9be76910
Check WELSPECS value for FIP_REGION and DENSITY_CALCULATION
2020-04-15 11:54:15 +02:00
Joakim Hove
3072f0dabe
Add pvt_table as member for Well
2020-04-15 11:26:57 +02:00
Joakim Hove
e417ca6688
Merge pull request #1694 from joakim-hove/pyaction-api
...
Add api for PyAction::run()
2020-04-14 19:06:19 +02:00
Joakim Hove
12bbf19425
Merge pull request #1700 from akva2/janitoring
...
Some more janitoring
2020-04-14 16:34:38 +02:00
Joakim Hove
1c84c4c3f3
Add new keyword EXIT
...
The keyword EXIT is a opm only keyword which can be used to terminate the whole
simulation as part of the ACTIONX keyword.
2020-04-14 16:32:52 +02:00
Arne Morten Kvarving
b8a66cb0fa
Merge pull request #1699 from akva2/clang_with_std++fs
...
changed: add option for using clang with libstdc++
2020-04-14 16:12:43 +02:00
Arne Morten Kvarving
f23257cbf5
initialize variables to avoid (faulty) compiler warnings
2020-04-14 14:10:37 +02:00
Arne Morten Kvarving
784389d228
remove unused variables
2020-04-14 14:10:33 +02:00
Atgeirr Flø Rasmussen
f494f6d5ce
Merge pull request #1696 from joakim-hove/explicit-schedule
...
Add explicit to one argument Schedule constructor
2020-04-14 13:23:26 +02:00
Joakim Hove
6c34c0304f
Merge pull request #1698 from atgeirr/fix-dxdydztops-performance
...
Address performance issue for DX/DY/DZ/TOPS grids.
2020-04-14 13:03:03 +02:00
Joakim Hove
f9b5946b25
Merge pull request #1697 from akva2/janitoring
...
fixed: avoid shadowing warnings
2020-04-14 13:02:07 +02:00
Arne Morten Kvarving
2f2cbea424
changed: add option for using clang with libstdc++
...
when using clang, whether or not we should link to stdc++fs
cannot easily be detected. it depends on the c++ lib used
(libstdc++ vs libc++), as well as the versions of these.
to avoid messing up in general, this adds an option for forcing
linking to stdc++fs, even when using clang. it defaults to false
to not break existing build setups where it works. is required
for building on jenkins
2020-04-14 11:44:32 +02:00
Arne Morten Kvarving
33e3d36ef5
fixed: avoid shadowing warnings
2020-04-14 11:28:10 +02:00
Atgeirr Flø Rasmussen
11f555c156
Address performance issue for DX/DY/DZ/TOPS grids.
...
The sumIdir() and sumJdir() methods were called inside loop
nests over i and j. Since the methods themselves were linear in
nx and ny, respectively, this was a quadratic algorithm. Performance
only becomes an issue for large (> 10k) values of NX or NY, which
was thought not to ever happen. This assumption was wrong.
2020-04-14 11:28:07 +02:00
Joakim Hove
84eaef0372
Add explicit to one argument Schedule constructor
2020-04-14 11:27:26 +02:00
Joakim Hove
e980713572
Merge pull request #1693 from joakim-hove/unused
...
Unused
2020-04-13 08:29:12 +02:00
Joakim Hove
466e21e37e
Add api for PyAction::run()
2020-04-13 08:01:09 +02:00
Joakim Hove
648a8d1413
Remove unused arguments
2020-04-13 07:54:10 +02:00
Joakim Hove
0c91724927
Changes in Schedule default construction - add Python argument
2020-04-13 07:52:47 +02:00
Joakim Hove
750e7b8b24
Default construct UDQ keywords with value 0 when defined with UNIT
2020-04-12 08:38:59 +02:00
Bård Skaflestad
8202c2007e
Merge pull request #1690 from joakim-hove/write-report-ss
...
Write report to stringstream and not stdout
2020-04-11 23:31:24 +02:00
Joakim Hove
161d337dd3
Write report to stringstream and not stdout
2020-04-11 22:03:31 +02:00
Joakim Hove
56745f57ac
Merge pull request #1689 from joakim-hove/schedule-python-constructor
...
Schedule: add std::shared_ptr<Python> arg to "default" constructor
2020-04-11 08:00:59 +02:00
Williham Williham Totland
9a69c49ca9
Start to create WELSPECS reports
2020-04-11 07:52:32 +02:00
Joakim Hove
f0d0fb1a83
Merge pull request #1688 from tskille/summary
...
Updates of ESmry
2020-04-10 19:37:32 +02:00
Joakim Hove
3af0d4e623
Add Schedule(Python ) constructor
2020-04-10 12:07:00 +02:00
Torbjørn Skille
e5583b738f
Updates of ESmry
...
- new overload function for keywordList, list keys based on pattern (string argument)
- summary program wild card elements (keys including * or ?)
- python bindings to new member function
2020-04-10 10:10:58 +02:00
Joakim Hove
acda777b9d
Merge pull request #1685 from joakim-hove/rsm-regression-test
...
Rsm regression test
2020-04-09 10:58:41 +02:00
Joakim Hove
efeafcc47c
Merge pull request #1687 from joakim-hove/grid-cleanup
...
Grid cleanup
2020-04-08 22:30:44 +02:00
Joakim Hove
1efca16420
EclipseGrid: - use member getNXYZ() instead of passing dims
2020-04-08 21:44:26 +02:00
Joakim Hove
650ffb12b8
EclipseGrid: ensure that all ACTNUM manipulations use resetACTNUM
2020-04-08 21:38:41 +02:00
Tor Harald Sandve
19693c7d3d
Merge pull request #1632 from totto82/scale_guiderates_with_rates
...
Scale guiderates with rates
2020-04-08 12:29:20 +02:00
Bård Skaflestad
afd0ed21ba
Merge pull request #1682 from joakim-hove/timestamp-ymd
...
Add three argument (year, month, day) constructor TimeStampUTC
2020-04-07 12:07:02 +02:00
Joakim Hove
cee75dcaac
Add basic regression testing of RSM file
2020-04-05 17:32:07 +02:00
Joakim Hove
fb345f94af
Merge pull request #1684 from joakim-hove/rms-output-fixup
...
Rms output fixup
2020-04-05 15:57:13 +02:00
Joakim Hove
6296255ebc
Add space part for the time/date column in the multiplier row
2020-04-05 12:38:12 +02:00
Joakim Hove
07d19b57d7
Add right padding of columns to column 130
2020-04-05 12:38:12 +02:00
Joakim Hove
db8c9652e4
Add cmp() function to compare ERsm and ESmry instances
2020-04-05 12:37:41 +02:00
Joakim Hove
f260c05d9d
Add class ERsm for loading RSM files
2020-04-05 12:37:41 +02:00
Joakim Hove
2b81afc6fa
Add space part for the time/date column in the multiplier row
2020-04-05 12:37:41 +02:00
Joakim Hove
1df8be064f
Add right padding of columns to column 130
2020-04-05 12:37:41 +02:00
Joakim Hove
b4f5848e3e
Add three argument (year, month, day) constructor TimeStampUTC
2020-04-05 10:58:53 +02:00
Joakim Hove
eb89331403
Merge pull request #1674 from joakim-hove/runsum-dates
...
Runsum dates
2020-04-05 10:58:39 +02:00
Bård Skaflestad
ac35c7c936
Merge pull request #1681 from joakim-hove/move-util
...
Moved string utilities to opm/common
2020-04-04 21:57:16 +02:00
Joakim Hove
075d018cf3
Moved string utilities to opm/common
2020-04-04 17:10:13 +02:00
Joakim Hove
ab2e5cc310
Add three argument (year, month, day) constructor TimeStampUTC
2020-04-04 16:20:13 +02:00
Joakim Hove
b09814bc2e
Respect DATE keyword in RUNSUM output
2020-04-03 16:05:43 +02:00
Bård Skaflestad
efb34b6533
Merge pull request #1673 from joakim-hove/summary-date
...
Summary date
2020-04-03 12:48:13 +02:00
Joakim Hove
8f81df09c4
Merge pull request #1679 from wito/to-string-fix
...
[FIX] Resolves a build error on macOS/AppleClang 11.0.3
2020-04-03 12:37:27 +02:00
Williham Williham Totland
1925fc3712
Resolves a build error on macOS/AppleClang 11.0.3
2020-04-03 11:33:36 +02:00
Joakim Hove
92efbb4713
Merge pull request #1678 from akva2/add_test_configuration
...
added: support for specifying configuration for test
2020-04-03 11:29:26 +02:00
Joakim Hove
b72f3b9d4b
Merge pull request #1677 from wito/dynamic-state-new-data
...
Allow interrogating DynamicState for changes in data
2020-04-03 11:16:33 +02:00
Joakim Hove
c9ae00707b
Remove unused variable usec
2020-04-03 10:36:54 +02:00
Arne Morten Kvarving
2a9254e76d
added: support for specifying configuration for test
2020-04-03 10:15:29 +02:00
Joakim Hove
934def46d2
Add DAY, MONTH and YEAR and summary keys
2020-04-03 10:09:48 +02:00
Joakim Hove
90940ed7b5
Add DATE as meta keyword to SummaryConfig
2020-04-03 10:09:48 +02:00
Bård Skaflestad
9764207bfd
Merge pull request #1657 from joakim-hove/rst-msw-omega
...
Rst msw M2
2020-04-03 09:48:46 +02:00
Joakim Hove
142061dbc0
Update Well testing in Schedule::cmp
2020-04-03 08:55:44 +02:00
Joakim Hove
4e0c0911f1
Improve error message
2020-04-03 08:55:44 +02:00
Joakim Hove
31fb7e6072
Add operator<< for injection and production cmode
2020-04-03 08:55:44 +02:00
Joakim Hove
51866155c0
Add operator<< for well status
2020-04-03 08:55:44 +02:00
Williham Williham Totland
433a3a9e9b
Adds DynamicState<T>::is_new_data(size_t).
2020-04-03 07:57:51 +02:00
Joakim Hove
d78cc40bf1
Set well VFP table when loading from restart file
2020-04-03 07:36:54 +02:00
Joakim Hove
907bdaf33e
Improve error message
2020-04-03 07:36:54 +02:00
Bård Skaflestad
2ade5c67f3
Merge pull request #1669 from joakim-hove/summary-time
...
Use std::chrono instead of std::vector<int> to store start date
2020-04-02 22:20:11 +02:00
Tor Harald Sandve
f5b7d6cb98
scale guiderates with current rate
2020-04-02 20:36:29 +02:00
Markus Blatt
c7e70da2c5
Do not call project another time in OpmLibMain
...
Each project should and does this in their own top level
CMakeLists.cmake at the very beginning anyway.
2020-04-02 19:44:32 +02:00
Joakim Hove
3b70c9edce
Add method dates to ESmry class
2020-04-02 19:23:02 +02:00
Tor Harald Sandve
5d61975622
rename Potetials struct in guideRate to RateVector
2020-04-02 16:34:07 +02:00
Joakim Hove
33ad7a2620
Use std::chrono instead of std::vector<int> to store start date
2020-04-02 15:38:20 +02:00
Joakim Hove
2df7183f1b
Implement asLocalTimeT helper function
2020-04-02 15:31:13 +02:00
Joakim Hove
fd221bb949
Merge pull request #1670 from joakim-hove/esmry-rm-seqtime
...
Esmry rm seqtime
2020-04-02 13:59:05 +02:00
Joakim Hove
e3c491ad38
Merge pull request #1671 from wito/smpec-unit-fix
...
[FIX] Wrong unit names given for field units with certain values of UnitSystem::measure
2020-04-02 13:51:02 +02:00
Williham Williham Totland
c255116133
Adds static assertions to ensure at compile time that all unit names are provided.
2020-04-02 10:23:46 +02:00
Williham Williham Totland
4919d850a9
Resolves an issue with units resulting from silent string concatenation.
2020-04-02 10:19:28 +02:00
Joakim Hove
33ecf4215d
ESmry: use templated function rstep_vector()
2020-04-02 09:35:59 +02:00
Joakim Hove
f8e793a21a
ESmry: remove unused member seqTime
2020-04-02 09:32:12 +02:00
Bård Skaflestad
dc0b91609e
Merge pull request #1656 from joakim-hove/rst-well-shut
...
Rst well shut
2020-04-01 23:11:04 +02:00
Bård Skaflestad
d918f052e2
Merge pull request #1668 from bska/pot-rate-smry-alias
...
Summary: Recognise Aliases for Potential Phase Injection Rates
2020-04-01 22:39:26 +02:00
Bård Skaflestad
dfb4b5ef3a
Summary: Recognise Aliases for Potential Phase Injection Rates
...
This commit adds the aliases 'WGIP' and 'WWIP' for the existing
summary vector names 'WGPI' (potential gas injection rate at well
level), and 'WWPI' (potental water injection rate at well level),
respectively.
Some datasets in 'opm-tests' use these alias names.
2020-04-01 21:38:33 +02:00
Joakim Hove
d3817e2fc2
Merge pull request #1665 from wito/rptconfig-rptsched
...
Handle RPTSCHED keywords in a time-sensitive manner
2020-04-01 14:00:41 +02:00
Joakim Hove
07e6be97e9
msim: Add temporary well to msim testcase - and verify SHUT status
2020-04-01 13:29:17 +02:00
Joakim Hove
f115ed43f5
msim: Ensure that only open wells get an assigned rate
2020-04-01 13:18:00 +02:00
Joakim Hove
8483251aec
msim: Pass correct substep flag
2020-04-01 13:18:00 +02:00
Joakim Hove
7cd004bf71
msim: ensure data::wells instance is not reused
2020-04-01 13:18:00 +02:00
Joakim Hove
e51edcf1c8
Add comment about multiple calls to setCurrentControl()
2020-04-01 13:18:00 +02:00
Williham Williham Totland
f3fbfc41ad
Completes RPTConfig to pass tests.
2020-04-01 13:02:29 +02:00
Williham Williham Totland
9f7664fe13
Makes the new interface compile against tests.
2020-04-01 13:02:29 +02:00
Bård Skaflestad
03657799ce
Merge pull request #1659 from joakim-hove/rst-well-shut2
...
Rst well shut2
2020-04-01 12:32:54 +02:00
Joakim Hove
61fa2d899e
Merge pull request #1664 from akva2/janitoring
...
quell shadowing warnings
2020-04-01 11:05:25 +02:00
Arne Morten Kvarving
21db859ece
quell shadowing warnings
2020-04-01 10:39:14 +02:00
Williham Williham Totland
ea269c7cc7
Implement writing of RSM file
2020-04-01 10:30:10 +02:00
Joakim Hove
f441d385f3
Fix initialization in test
2020-04-01 10:28:05 +02:00
Joakim Hove
278402b63e
Check well status before checking active control
2020-04-01 10:28:05 +02:00
Joakim Hove
fe6714c14d
Enable THP production control if THP target is set in restart file
2020-04-01 10:28:05 +02:00
Joakim Hove
07e590a0ed
Check that will is OPEN before checking active control
2020-04-01 10:21:58 +02:00
Joakim Hove
efff382517
Add test for ReportConfig
2020-04-01 10:17:05 +02:00
Joakim Hove
7c0ddd0b9d
Merge pull request #1654 from joakim-hove/skiprest-exceptions
...
Skiprest exceptions
2020-04-01 09:38:54 +02:00
Joakim Hove
07843654b1
SKIPREST: Make sure e.g. VFP tables are loaded even under SKIPREST
2020-04-01 08:23:15 +02:00
Joakim Hove
7aaf68fbc4
Add testdeck for the situation with SKIPREST and e.g VFP
2020-04-01 08:02:32 +02:00
Bård Skaflestad
420446f318
Merge pull request #1663 from joakim-hove/cmake-fix
...
Embed build timestamp also in UseVersion.cmake
2020-03-31 23:57:17 +02:00
Atgeirr Flø Rasmussen
3111505ed6
Merge pull request #1661 from joakim-hove/connections-wellpi
...
WPIMULT: directly multiply the connection transmissibility factor
2020-03-31 18:59:46 +02:00
Joakim Hove
320f9b5510
Emed build timestamp also in UseVersion.cmake
2020-03-31 17:23:25 +02:00
Joakim Hove
a8ad5cd9f2
Merge pull request #1662 from joakim-hove/fix-non-python
...
Fix codepath for non-python
2020-03-31 17:18:02 +02:00
Joakim Hove
5ac2b3f531
Fix codepath for non-python
2020-03-31 16:56:44 +02:00
Joakim Hove
6fb2989708
WPIMULT: directly multiply the connection transmissibility factor
2020-03-31 16:53:28 +02:00
Joakim Hove
14bd2f7d48
Merge pull request #1660 from joakim-hove/python-shared-ptr
...
Use std::shared_ptr<Python> for Python argument in Schedule
2020-03-31 16:50:43 +02:00
Joakim Hove
5444eade2f
Use std::shared_ptr<Python> for Python argument in Schedule
2020-03-31 10:26:55 +02:00
Joakim Hove
cebef15dc4
Merge pull request #1653 from joakim-hove/compile-timestamp
...
Generate BUILD_TIMESTAMP macro with build system
2020-03-31 07:56:14 +02:00
Joakim Hove
cc60a65f14
Merge pull request #1364 from bska/no-dyndata-seqnum-0
...
Don't Output Dynamic Data to Restart File for SEQNUM=0
2020-03-31 07:55:11 +02:00
Joakim Hove
fe1ef0a65f
Generate BUILD_TIMESTAMP macro with build system
2020-03-30 15:11:48 +02:00
Bård Skaflestad
5c787ef97e
Don't Needlessly Copy Complete Well Objects
...
We're able to implement the top-level restart file well writing code
without calling Schedule::getWells() and should therefore do so.
While here, also restore formatting in LoadRestart.cpp.
2020-03-30 14:39:04 +02:00
Bård Skaflestad
43ef003452
Header: Make 'ih' Not Const to Activate NRVO
2020-03-30 14:39:04 +02:00
Bård Skaflestad
bc28de3372
Don't Output Dynamic Data to Restart File for SEQNUM=0
...
This commit introduces a special case for the restart file writing
code. In particular we no longer write dynamic data vectors (e.g.,
*WEL, *GRP, *CON) to the restart file if we're being asked to output
the initial condition (i.e., report step/sequence number 0).
Add the report step as a new explicit parameter to createInteHEAD()
instead of inferring this value from the "sim_step" and output
dynamic sizes as zero for report_step=0. While here, also correct
an omission from earlier commit 7986e99e . We must ensure that the
maximum number of wells in the field (intehead[163]) is at least as
large as the current number of active wells (intehead[16]).
Update "intehead" test to account for report_step being passed
directly as an argument to InteHEAD::stepParam().
2020-03-30 14:39:04 +02:00
Bård Skaflestad
269537b101
Merge pull request #1658 from akva2/bad_janitoring
...
fix faulty fix in 811d2e2a64
2020-03-30 14:37:02 +02:00
Arne Morten Kvarving
7e26c6a5e9
fix faulty fix in 811d2e2a64
...
sched uses python, so we have to reorder the members instead
2020-03-30 14:20:08 +02:00
Joakim Hove
fa8afbcc6d
Merge pull request #1655 from akva2/janitoring
...
Quell warnings
2020-03-30 13:52:38 +02:00
Arne Morten Kvarving
ebc92fb92e
fixed: proper initializer list order
2020-03-30 12:38:47 +02:00
Arne Morten Kvarving
811d2e2a64
quell unused parameter warning when built without python support
2020-03-30 12:33:34 +02:00
Arne Morten Kvarving
83d1627dbb
quell signed/unsigned comparison warning
2020-03-30 12:33:20 +02:00
Joakim Hove
0025144079
Merge pull request #1559 from joakim-hove/rst-msw
...
Initialize MSW wells from restart file
2020-03-28 09:47:46 +01:00
Joakim Hove
f320fe3d57
Only compare historical modes in history mode
2020-03-28 08:58:14 +01:00
Joakim Hove
f59fec133d
Check NSCONZ before reading CFKind value from SCON
2020-03-28 08:58:14 +01:00
Joakim Hove
bbc87beed5
Improve error message for connection comparison
2020-03-28 08:58:14 +01:00
Joakim Hove
7bc5272290
Connections / segments: retain start and end from restart
2020-03-28 08:58:14 +01:00
Joakim Hove
d827fd6da5
Update debug message
2020-03-28 08:58:14 +01:00
Joakim Hove
ad5b410940
Sort segments
2020-03-28 08:58:14 +01:00
Joakim Hove
aa6128c4be
Check for invalid value when loading segment information
2020-03-28 08:58:14 +01:00
Joakim Hove
22396d1b21
Do not alter sort value when attaching segment from restart file
2020-03-28 08:58:14 +01:00
Joakim Hove
f613c15727
Connections: keep order from restart file
2020-03-28 08:58:14 +01:00
Joakim Hove
eb8f162663
Enable rst testing with MSW data
2020-03-28 08:58:14 +01:00
Joakim Hove
97173e51a3
Update binary testdata
2020-03-28 08:58:14 +01:00
Joakim Hove
fba1858925
Merge pull request #1652 from bska/resv-totinj
...
Restart: Save/Restore Cumulative Injected Reservoir Volume
2020-03-28 08:57:37 +01:00
Bård Skaflestad
1113c25eb1
Restart: Save/Restore Cumulative Injected Reservoir Volume
...
This commit adds support for persisting the *VIT cumulative summary
vector at the well, group, and field levels in the simulation
restart files. Connection level currently not supported.
2020-03-27 14:59:29 +01:00
Joakim Hove
467f7879a6
Merge pull request #1636 from joakim-hove/add-python-arg
...
Add python arg
2020-03-27 13:43:44 +01:00
Joakim Hove
50fb51d56e
Add Python arg to Schedule constructor
2020-03-27 12:43:18 +01:00
Joakim Hove
9d3ec9be61
Merge pull request #1646 from joakim-hove/python-fixup2
...
Make sure PythonInterpreter can be safely disabled
2020-03-27 12:42:18 +01:00
Joakim Hove
687887939d
Make sure PythonInterpreter can be safely disabled
2020-03-27 12:11:40 +01:00
Joakim Hove
562136772a
Merge pull request #1638 from joakim-hove/remove-stale-boost-include
...
Remove stale boost includes
2020-03-27 10:49:52 +01:00
Joakim Hove
7fc75ce61c
Merge pull request #1650 from atgeirr/fix-embedded-python-test
...
Use braces to force correct parsing.
2020-03-27 10:49:34 +01:00
Joakim Hove
413a45ec21
Merge pull request #1648 from berland/jq
...
Reformat all json keyword files through jq
2020-03-27 10:48:59 +01:00
Atgeirr Flø Rasmussen
4c5b03b83e
Use braces to force correct parsing.
...
Without this, clang thinks it is a declaration, not a function call.
2020-03-27 10:11:12 +01:00
Williham Williham Totland
3e29350e94
Integrate SummaryNode in ESmry ( #1642 )
2020-03-27 08:07:52 +01:00
Håvard Berland
54b714f361
Reformat all json keyword files through jq
...
Ensures similar pretty-printing everywhere.
Includes a bugfix for 000_Eclipse100/O/OVERBURD which had
a } too much
2020-03-26 23:16:17 +01:00
Joakim Hove
3e2160af28
Merge pull request #1608 from joakim-hove/connections-sort-item
...
Connections sort item
2020-03-26 17:52:54 +01:00
Joakim Hove
c41f375e00
Merge pull request #1645 from akva2/janitoring
...
quell compiler warnings
2020-03-26 17:33:25 +01:00
Joakim Hove
6d8154823a
Merge pull request #1643 from joakim-hove/python-fixup
...
Temporarily protect against deref when python is disabled
2020-03-26 16:20:04 +01:00
Arne Morten Kvarving
c07a839f15
quell compiler warnings
2020-03-26 16:07:49 +01:00
Joakim Hove
cce2bc0686
Temporarily protect against deref when python is disabled
2020-03-26 15:38:18 +01:00
Joakim Hove
eca0589fe1
Merge pull request #1641 from joakim-hove/python-enable-enum
...
Enable fine grained control of Python ON | OFF
2020-03-26 14:21:24 +01:00
Joakim Hove
6ffb5883d4
Merge pull request #1639 from wito/add-aquifer-category
...
Add Aquifer Category
2020-03-26 12:39:11 +01:00
Joakim Hove
cda315ce41
Merge pull request #1640 from atgeirr/fix-field-unavailable
...
Make the FIELD group unavailable for higher level control.
2020-03-26 12:37:44 +01:00
Atgeirr Flø Rasmussen
fce6eeca1b
Make the FIELD group unavailable for higher level control.
2020-03-26 12:07:06 +01:00
Joakim Hove
a8f0ebb183
Enable fine grained control of Python ON | OFF
2020-03-26 12:00:59 +01:00
Williham Williham Totland
4e08ff7f6d
Adds ::Aquifer to Opm::EclIO::SummaryNode::Category.
2020-03-26 11:36:13 +01:00
Bård Skaflestad
5a701a2ee8
Merge pull request #1609 from wito/new-summarynode
...
New SummaryNode implementation
2020-03-26 11:34:21 +01:00
Joakim Hove
52855cce1e
Merge pull request #1637 from bska/restore-all-injlimits
...
Simulation Restart: Restore All Available Injection Control Modes
2020-03-26 09:14:21 +01:00
Williham Williham Totland
06d317d119
Review Actions: Un-consts SummaryNode members and un-statics some data vectors.
2020-03-26 08:20:50 +01:00
Bård Skaflestad
c2bd04edcb
Simulation Restart: Restore All Possible Injection Control Modes
...
In particular, declare that the well supports RATE, RESV, and THP
limits/targets if such values are available in the SWEL array.
2020-03-25 18:54:28 +01:00
Joakim Hove
39eb327551
Remove stale boost includes
2020-03-25 18:18:25 +01:00
Joakim Hove
9ad8465609
Replace connection segIndex and compSeqIndex with sort_value member
2020-03-25 18:02:40 +01:00
Joakim Hove
91841a99e1
Merge pull request #1606 from joakim-hove/wellconnections-output
...
Changes in WellConnection ordering
2020-03-25 18:01:51 +01:00
Joakim Hove
c7d3603184
Changes in WellConnection ordering
...
1. If the well is MSW the connections in the WellConnection class is sorted in
output order in the ::order() method, and retained that way.
2. Add method WellConnection::output() which return a vector of connection
pointers sorted in output order.
2020-03-25 10:54:21 +01:00
Joakim Hove
03efd5e589
Merge pull request #1635 from joakim-hove/internalize_tracers
...
Internalize tracers
2020-03-25 10:17:29 +01:00
Bård Skaflestad
9f0985850c
Merge pull request #1614 from joakim-hove/wellrates-get-connection-rates
...
Get connection rates from well rates object
2020-03-25 08:09:10 +01:00
Joakim Hove
9411af4dfc
Implement TracerConfig in EclipseState
...
Co-authored-by: Arne Morten Kvarving <arne.morten.kvarving@sintef.no >
2020-03-25 07:53:08 +01:00
Joakim Hove
5c2a5898c0
Fetch connection rates using global_index
2020-03-25 07:43:10 +01:00
Joakim Hove
8b2e503602
Update incorrect test
2020-03-25 07:43:10 +01:00
Bård Skaflestad
c68be43301
Merge pull request #1629 from joakim-hove/load-restart
...
Load restart XCON data
2020-03-24 12:21:59 +01:00
Joakim Hove
d40ebe647a
Merge pull request #1634 from joakim-hove/pyaction-fixup
...
Pyaction fixup
2020-03-24 10:58:05 +01:00
Joakim Hove
179b6ba9ff
Use global index when assembling connection rates from XCON keyword
2020-03-24 10:55:49 +01:00
Joakim Hove
9498217e0a
Merge pull request #1623 from joakim-hove/find-connection
...
Find connection
2020-03-24 10:06:34 +01:00
Joakim Hove
00faf6099a
Merge pull request #1628 from joakim-hove/init-global-index
...
Initialize global index when creating connections from rst file
2020-03-24 10:05:10 +01:00
Joakim Hove
fad5346ec1
Merge pull request #1633 from atgeirr/fix-type-mismatch
...
Fix type mismatch error for EclEntry.
2020-03-24 09:27:52 +01:00
Joakim Hove
611b21beab
Add serialization active member
2020-03-24 08:40:13 +01:00
Joakim Hove
9ce64d5aae
Add copy constructor and assignment operator to PyAction
2020-03-24 08:07:21 +01:00
Atgeirr Flø Rasmussen
2d52268bf8
Fix type mismatch error for EclEntry.
2020-03-24 08:05:34 +01:00
Joakim Hove
a0ebb2091f
Add method Actions::pending_python() to get active Python functions
2020-03-24 07:23:31 +01:00
Joakim Hove
4c25ce69c1
Add mutable bool active member to PyAction
2020-03-24 07:23:31 +01:00
Joakim Hove
4b687e3368
Fix bug in CMakeLists.txt - mock simulator tests were not built
2020-03-24 07:23:31 +01:00
Joakim Hove
1ac240a425
Merge pull request #1625 from tskille/replace_long_int_eclio
...
replacing long int and unsigned long int
2020-03-23 19:57:10 +01:00
Bård Skaflestad
d52180389b
Merge pull request #1631 from atgeirr/add-missing-include
...
Add missing header inclusion.
2020-03-23 19:04:36 +01:00
Atgeirr Flø Rasmussen
4a88b87958
Merge pull request #1626 from totto82/fixGuideRat
...
fix bug in guiderate model
2020-03-23 17:51:10 +01:00
Atgeirr Flø Rasmussen
0b0fab781b
Add missing header inclusion.
2020-03-23 17:49:43 +01:00
Torbjørn Skille
9d24f0dc34
replacing long int and unsigned long int
...
- long int -> int64_t
- unsigned long int -> uint64_t
All EclIO classes and associated tests has been updated.
2020-03-23 17:12:56 +01:00
Bård Skaflestad
6cf4b7efc7
Merge pull request #1624 from atgeirr/fix-narrowing
...
Compile-error fix: do not narrow double->bool in init list.
2020-03-23 16:30:17 +01:00
Joakim Hove
1192830c60
Initialize global index when creating connections from rst file
2020-03-23 16:08:49 +01:00
Tor Harald Sandve
41ae6b0bc4
fix bug in guideratemodel
2020-03-23 15:30:51 +01:00
Arne Morten Kvarving
0a8a25d5df
Merge pull request #1622 from joakim-hove/include-hpp
...
Include hpp files and not cpp files
2020-03-23 14:50:33 +01:00
Atgeirr Flø Rasmussen
2805f862db
Compile-error fix: do not narrow double->bool in init list.
2020-03-23 14:34:27 +01:00
Joakim Hove
02a5501c0b
Add method out::Well::find_connection(std::size_t global_index)
2020-03-23 13:43:50 +01:00
Joakim Hove
a61c48521a
Include hpp files and not cpp files
2020-03-23 13:28:47 +01:00
Joakim Hove
f88d382172
Merge pull request #1615 from joakim-hove/connection-testing
...
Connection testing
2020-03-23 13:00:06 +01:00
Arne Morten Kvarving
0a9a0285dc
Merge pull request #1621 from akva2/move_ser_object
...
move data serialization objects close to the class code
2020-03-23 12:40:30 +01:00
Arne Morten Kvarving
e9e69ca44f
Merge pull request #1607 from tskille/latest_pybind_eclio
...
Python bindings for EclIO classes
2020-03-23 12:05:55 +01:00
Arne Morten Kvarving
e3bd1e6723
add static method to return a test object for serialization
...
this allows killing the constructors taking member values
2020-03-23 10:58:15 +01:00
Torbjørn Skille
c33372b8b4
Adding python bindings for C++ class EclOutput
2020-03-23 10:57:49 +01:00
Torbjørn Skille
1a39c07981
Adding python bindings for C++ class ERft
2020-03-23 10:57:49 +01:00
Torbjørn Skille
d258ce5a57
Updates of C++ class ERft to be used with python bindings
...
-> Support for extracting data based on report index
-> adding extra float (time) to RftReportList
2020-03-23 10:57:49 +01:00
Torbjørn Skille
b992ff0e1c
Adding python bindings for C++ class EGrid
2020-03-23 10:57:49 +01:00
Torbjørn Skille
f97dfda92e
Adding python bindings for C++ class ESmry
2020-03-23 10:57:49 +01:00
Torbjørn Skille
931fa96a59
Updates of C++ class ESmry to be used with python bindings
...
-> adding member function ESmry::get_startdat(), start of simulation from keyword STARTDAT in SMSPEC file
-> adding member function ESmry::numberOfTimeSteps(), number of timesteps in run
2020-03-23 10:57:49 +01:00
Torbjørn Skille
c1caf4738e
Adding python bindings for C++ class ERst
...
-> one additional C++ member function ERst::numberOfReportSteps()
2020-03-23 10:57:44 +01:00
Bård Skaflestad
c3c6c93f65
Merge pull request #1619 from joakim-hove/use-reference
...
Use reference
2020-03-23 10:49:36 +01:00
Joakim Hove
d1527da245
Use reference when accessing Schedule actions
2020-03-23 08:52:02 +01:00
Joakim Hove
8a420d30e6
Remove trailing whitespace
2020-03-23 08:52:02 +01:00
Bård Skaflestad
3bc8f832d8
Merge pull request #1618 from bska/add-missing-header
...
Parser.cpp: Include Missing Header
2020-03-22 18:02:47 +01:00
Bård Skaflestad
e7324ccd95
Parser.cpp: Include Missing Header
...
The implementation uses std::stack and therefore needs a declaration
of this type in scope. This apparently built by accident earlier.
While here, also include a few other headers to make Parser.[hc]pp
more self-contained.
2020-03-22 17:06:38 +01:00
Bård Skaflestad
01d6ad95e0
Merge pull request #1617 from bska/summary-wmctl
...
Support Outputting Active Well Control to Summary File
2020-03-21 14:30:25 +01:00
Bård Skaflestad
f2e848bb5d
Restart File: Reimplement Active Well Control Output Code
...
Switch to using the same backend that is also used for outputting
the equivalent value to the 'WMCTL' summary vector.
2020-03-20 22:07:32 +01:00
Bård Skaflestad
2f8ad86afd
Summary Output: Implement 'WMCTL' Keyword
...
This outputs a numeric code, an integer value, for all configured
wells at all times and enables more visual inspection of how the
wells' active controls change over time--either in response to
explicit target modes in the input or as a result of limits becoming
active.
Note that due to the fall-back option of selecting the input value
if no dynamic value is available, we must ensure that the test code
does not specify well types (producer/injector) that conflict with
the keywords used in the backing data set. Update the relevant
tests accordingly.
2020-03-20 22:07:32 +01:00
Bård Skaflestad
45b501cb83
Summary Config: Recognize 'WMCTL' Keyword
...
This would previously be interpreted as a completion keyword due to
matching the pattern 'W*L'.
2020-03-20 22:07:32 +01:00
Bård Skaflestad
8d2cc14ad0
Active Well Control Output: Place Duplicate Implementation in Well
...
Will become shared backend for output to restart and summary files.
Add unit tests to exercise the new functions.
2020-03-20 22:07:04 +01:00
Joakim Hove
4e2dae298f
Merge pull request #1593 from joakim-hove/internalize-pyaction
...
Internalize pyaction
2020-03-20 18:38:29 +01:00
Joakim Hove
81b70de140
Add serializer support for PyAction
2020-03-20 17:15:53 +01:00
Joakim Hove
d2af97b1b2
Internalize PYACTION keywords while parsing Schedule
2020-03-20 16:59:50 +01:00
Joakim Hove
9632eae663
Add PyAction container to Actions class
2020-03-20 16:59:50 +01:00
Joakim Hove
c7f6b22bdf
Add static method bool Python::enabled()
2020-03-20 16:59:50 +01:00
Joakim Hove
d06a5a78e0
Moved PyAction class into Action:: namespace
2020-03-20 16:59:50 +01:00
Joakim Hove
7852203d39
PYACTION: The actual python code is in an external file
...
With this commit the PYACTION keyword is changed, instead of embedding the
Python code directly in the .DATA file the keyword now points to an external
file which is loaded verbatim into the PyAction keyword.
In addition the PYACTION keyword has now got a name and a string indicating how
many times it should run.
2020-03-20 16:59:50 +01:00
Joakim Hove
db72ff80ed
Use template Deck::count() in opmpack IMPORT handler
2020-03-20 16:59:50 +01:00
Joakim Hove
6e5cd6c371
Add templated method Deck::count()
2020-03-20 16:59:50 +01:00
Williham Williham Totland
2c74b0961d
Removes various minor edits.
2020-03-20 15:34:14 +01:00
Williham Williham Totland
ab71b43f10
Fixes minor formatting glitch in the SummaryNode copyright statement.
2020-03-20 14:48:32 +01:00
Williham Williham Totland
fb4f026c97
Uses correct name in reference to enum value.
2020-03-20 14:27:08 +01:00
Williham Williham Totland
f884c90745
Refactors out duplicated code.
2020-03-20 14:21:18 +01:00
Williham Williham Totland
06eeae89e6
Reworks mode vectors for Opm::EclIO::SummaryNode.
2020-03-20 14:12:06 +01:00
Williham Williham Totland
eba0f3dcde
Relocates new test in CMakeLists_files.cmake.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
89fe3c3d15
Reworks Evaluator::Factory for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
327fe79c90
Adds Opm::EclIO::SummaryNode::is_user_defined().
2020-03-20 14:08:03 +01:00
Williham Williham Totland
62983db22f
Removes use of default:
2020-03-20 14:08:03 +01:00
Williham Williham Totland
99375eb5be
Reworks requiredRestartVectors for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
35afdd5131
Reworks ::requiredSegmentVectors() for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
21e9c1b952
Implements the change to SummaryNode in ::Evaluator.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
a6a144a5be
Review action: Removes default: cases.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
318ca70a0b
Uses the correct names for enum values.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
fda69e9d57
Review action: Reverts a number of changes at the request of @bska.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
0174a16386
Reworks EfficiencyFactor::setFactors for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
6970158f7f
Makes the return value of Opm::Group::flow_group/::control_group optional.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
701175c776
Makes fallthrough explicit.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
bb114b6a55
Renames enum access name.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
855b23aa1b
Minor formatting tweak.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
e500fbbbca
Reworks ::find_wells for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
b12397c68e
Minor formatting tweak.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
cb0f27c719
Reworks ::updateValue for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
b940d81aed
Rewrites ::need_wells() for Opm::EclIO::SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
001877df2b
Simplifies namespace declaration.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
84c57ff37b
Review Action: Renames Opm::EclIO::SummaryNode::name => wgname
2020-03-20 14:08:03 +01:00
Williham Williham Totland
4bb453dd14
Adds a test for Opm::EclIO::SummaryNode::unique_key()
2020-03-20 14:08:03 +01:00
Williham Williham Totland
d9e1d397d6
Fixes order of accumulation for key parts.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
c3de96b1f4
Makes fallthrough explicit.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
dbf17af4a7
Minor formatting tweaks.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
861c098912
Implements Opm::EclIO::SummaryNode::unique_key().
2020-03-20 14:08:03 +01:00
Williham Williham Totland
0265b7fb46
Renames variables for clarity.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
90a2eeb7fc
Reworks to unified initialisation.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
e317b9663a
Removes extraneous type.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
e5e0a49e89
Adds conversion operator SummaryConfigNode => SummaryNode.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
3af0bbf3cb
Removes extraneous names.
2020-03-20 14:08:03 +01:00
Williham Williham Totland
402f28f749
Adds Opm::EclIO::SummaryNode::Type::Mode.
2020-03-20 14:08:03 +01:00
Arne Morten Kvarving
c57af82c52
Merge pull request #1616 from akva2/fix_dynmap
...
fixed: make a two-param map template for splitDynMap
2020-03-20 14:06:50 +01:00
Arne Morten Kvarving
f0a25e4cf3
fixed: make a two-param map template for splitDynMap
...
gcc is more forgiving with default template parameters than clang.
2020-03-20 12:42:30 +01:00
Joakim Hove
49bd6e9bd7
Use 'real' connections when creating test data
2020-03-20 11:13:05 +01:00
Joakim Hove
c97ff53a51
White space/reformatting in test code
2020-03-20 11:01:08 +01:00
Joakim Hove
438e4b68bf
Merge pull request #1612 from joakim-hove/connection-global-index
...
Add global_index to Connections
2020-03-20 09:08:49 +01:00
Joakim Hove
f87369713b
Add global_index to Connections
2020-03-19 22:14:06 +01:00
Joakim Hove
25e31a95ca
Merge pull request #1611 from joakim-hove/aggregate-connections-rename
...
Minor refactoring for improved readability
2020-03-19 22:05:07 +01:00
Joakim Hove
7a6208a66a
Minor refactoring for improved readability
2020-03-19 16:53:57 +01:00
Bård Skaflestad
4b85366d7e
Merge pull request #1592 from jalvestad/opm_data_Groups
...
Changes in opm-common for current Production/Injection Group Control parameters
2020-03-19 16:53:07 +01:00
Torbjørn Skille
059f2fba57
Update of python bindings for EclFile
...
-> two extra overloads for getting (array name + array name, occurrence)
-> extra member function count(std::string), count occurrences of arrays with a specific name.
2020-03-19 15:57:39 +01:00
Arne Morten Kvarving
ae858182eb
Merge pull request #1605 from akva2/serialize_internal_schedule
...
Internal serialization in Schedule
2020-03-19 12:53:00 +01:00
Arne Morten Kvarving
524b180102
update UDQConfig serialization
...
to avoid the need for OPM defined types in underlying
serializer
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
63cbf052d6
update TransMult serialization
...
to avoid the need for OPM defined types in underlying
serializer
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
66a4d1119d
add serialization template to VFPProdTable
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
4d7d3b0e7c
add serialization template to VFPInjTable
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
e4e853065c
remove accessors in Group added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
5304b0ce2b
add serialization template to Group
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
21e5d975e8
add serialization template to GroupProductionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a87ec3ad46
add serialization template to GroupInjectionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
12889a675d
remove accessors in IOrderSet added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
d25220ba4e
add serialization template to IOrderSet
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
6100e1f572
remove accessors in Well added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
91bd6edd87
add serialization template to Well
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
0a4bb79b4a
changed: use shared_ptr to mutable references
...
const refs are incompatible with serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
0a45fd4da6
add serialization template to WellType
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
2a3b3e3e73
remove accessors in WellSegments added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
815526a4a8
add serialization template to WellSegments
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
7c298d0891
remove accessors in Segment added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
117682d211
add serialization template to Segment
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a6f546a87a
add serialization template to Valve
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
335eb8c5e1
add serialization template to SpiralICD
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
dcbde5ea53
add serialization template to WellInjectionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
b045048e73
remove accessors in WellProductionProperties added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9fb608fd0d
add serialization template to WellProductionProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
6079e1d261
remove accessors in WellConnections added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
39034dabe4
add serialization template to WellConnections
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
b9e745f3e5
add serialization template to Connection
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
689420f85a
remove accessors in WellTracerProperties added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
f271d75063
add serialization template to WellTracerProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a6053d7817
add serialization template to WellBrineProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9c1c9f9e29
add serialization template to WellPolymerProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
4d0672d31a
add serialization template to WellFoamProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
7e817e7d26
add serialization template to WellEconProductionLimits
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a4274c4b1a
add serialization template to WellGuideRate
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
dc6f4291d8
refactor DynamicState split methods for reuse
...
friend class Schedule so it can call them.
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
ea45dcb01a
remove accessors in Deck added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
461e24209d
add serialization template to Deck
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
6519429291
remove accessors in Actions added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
91d62c63a1
add serialization template to Actions
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
f8cb4a80ff
remove accessors in ActionAST added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9cd1403b33
add serialization template to ActionAST
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
8ad0111ded
remove accessors in ActionX added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
e0a02e893a
add serialization template to ActionX
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
3ea3fb4f8f
add serialization template to Action::Condition
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
aa33b4c7c1
add serialization template to Action::Quantity
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9e37416447
remove accessors in DeckKeyword added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
ae55a7f4d1
add serialization template to DeckKeyword
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
902fd38eb2
add serialization template to Location
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
c88e586993
remove accessors in DeckRecord added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
afa466771b
add serialization template to DeckRecord
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
5abfb155fb
remove accessors in ASTNode added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
dc142f9f43
add serialization template to ASTNode
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
c1f5635210
remove accessors in DeckItem added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
40b230473c
add serialization template to DeckItem
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
ac5d8817bc
use serializer for global_whistctl_mode
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
422509d201
remove accessors in GConSump added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
f61da6684d
add serialization template to GConSump
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
21ba0ad213
remove accessors in GConSale added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
bfc44df84f
add serialization template to GConSale
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
0f31e76ae7
remove accessors in UnitSystem added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
977e1ce1d4
add serialization template to UnitSystem
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
1573687264
refactor: put copy-pasted switch in separate member function for reuse
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9dc0761550
remove accessors in GuideRateConfig added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a7c9ca900c
add serialization template to GuideRateConfig
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
79263a74c4
remove accessors in GuideRateModel added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
f9aa3ee3d4
add serialization template to GuideRateModel
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
25a90bae6e
add serialization template to UDAValue
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
27bfe63146
remove accessors in Dimension added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
82ade7e7e1
add serialization template to Dimension
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
78c15009e0
remove accessors in WListManager added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
eb05ba503d
add serialization template to WListManager
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
2fd1170cd1
remove accessors in WellTestConfig added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
dadd5b59d6
add serialization template to WellTestConfig
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
64b21c2f96
use serializer.isSerializing() for clarity
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
4b7801ba84
remove accessors in MessageLimits added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
48eee807f7
add serialization template to MessageLimits
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
a89a669d20
add serialization template to Tuning
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
26006cc317
remove accessors in Events added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
abc73b341e
add serialization template to Events
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
86b003dfad
remove accessors in DynamicVector added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
1b1120646f
add serialization template to DynamicVector
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9b7c057c22
remove accessors in OilVaporizationProperties added for external serialization
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
9bb8350586
add serialization template to OilVaporizationProperties
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
aa9810f1ca
use serializer for nupcol
2020-03-19 09:34:12 +01:00
Arne Morten Kvarving
19df064ce3
remove accessors in RFTConfig added for external serialization
2020-03-19 09:33:57 +01:00
Arne Morten Kvarving
276a65f232
add serialization template to RFTConfig
2020-03-19 09:26:03 +01:00
Arne Morten Kvarving
d626e16623
remove accessors in RestartConfig added for external serialization
2020-03-19 09:26:03 +01:00
Arne Morten Kvarving
ad32950271
add serialization template to RestartConfig
2020-03-19 09:26:03 +01:00
Arne Morten Kvarving
0a5c8a883d
add bool parameter for non-complex type in DynamicState serialization
2020-03-19 09:26:03 +01:00
Arne Morten Kvarving
d076a18b85
add serialization template to TimeMap
2020-03-19 09:26:03 +01:00
Arne Morten Kvarving
1a745ddaa0
add serialization template to TimeStampUTC
2020-03-19 09:26:03 +01:00
Joakim Hove
b021e42f94
Merge pull request #1603 from joakim-hove/remove-num-removed
...
Remove num removed
2020-03-19 09:20:32 +01:00
Bård Skaflestad
f615f9270b
Merge pull request #1599 from GitPaean/adding_some_connection_summary_keywords
...
adding a few connection summary keywords
2020-03-18 15:59:19 +01:00
Joakim Hove
b0e0b71964
Remove numRemoved member from WellConnections
2020-03-18 15:46:34 +01:00
Joakim Hove
447b625362
Merge pull request #1602 from joakim-hove/wellconnections-ordering
...
Move Connection::Order member from Well to WellConnections
2020-03-18 15:37:46 +01:00
Joakim Hove
acd73b76ea
Remove unused method WellConnections::inputSize()
2020-03-18 15:36:17 +01:00
Torbjørn Skille
7699810f61
EclFile new member function count(std::string) which return number of arrays with a specific name
2020-03-18 14:56:49 +01:00
Joakim Hove
96d2cd59b3
Move Connection::Order member from Well to WellConnections
2020-03-18 14:28:53 +01:00
Jostein Alvestad
a4d3ec33f1
correction to buffer.write in opm/data/Groups
2020-03-18 14:13:05 +01:00
Kai Bao
1369a3509a
adding a few connection summary keywords
...
COFR CWFR CGFR CWCT CGOR
2020-03-18 13:19:33 +01:00
Jostein Alvestad
51e3fac6b0
added tests/UDQ_ACTIONX_TEST1_U.DATA
2020-03-18 13:18:42 +01:00
Joakim Hove
4a2ccf3170
Merge pull request #1598 from joakim-hove/top-segment
...
Add method WellSegments::topSegment()
2020-03-17 14:59:11 +01:00
Arne Morten Kvarving
3f4ff89b01
Merge pull request #1597 from akva2/serialize_internal_eclstate_part5
...
Internal serialization in EclipseState - part 5
2020-03-17 13:59:03 +01:00
Joakim Hove
d27f537097
Add method WellSegments::topSegment()
2020-03-17 12:41:34 +01:00
Joakim Hove
11be4ef2a4
Merge pull request #1596 from joakim-hove/use-update-ref-depth
...
Use Well::updateRefDepth() in Well::updateSegments()
2020-03-17 12:31:47 +01:00
Arne Morten Kvarving
7b446b4d89
add serialization template to TableManager
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
08b7486597
add serialization template to Aqudims
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
641631d991
remove accessors in TableSchema added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
83f78c5918
add serialization template to TableSchema
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
6b18822c47
add serialization template to TableContainer
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
3575f88ee8
remove accessors in TableColumn added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
afd12dc1bd
add serialization template to TableColumn
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
86ea1b8400
add serialization template to StandardCond
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
c5694f5d80
add serialization template to SolventDensityTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
6bbf72bba8
remove setter in SkpropolyTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
a80c5ffad3
add serialization template to SkprpolyTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
b0cd4e1c30
remove accessors in SimpleTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
a9fbd6b5b7
add serialization template to SimpleTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
17995453f4
remove accessors in RocktabTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
dd4336e72c
add serialization template to RocktabTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
1f7d85d488
remove accessors in Rock2dtrTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
d7b6b282ca
add serialization template to Rock2dtrTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
5090547a63
remove accessors in Rock2dTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
f36ebaec48
add serialization template to Rock2dTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
0b53169aff
add serialization template to Regdims
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
199fc65bce
remove accessors in PvtxTable added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
2dd91531ff
add serialization template to PvtxTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
3a181e1f08
add serialization template to PvtwsaltTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
2340a2a1ea
add serialization template to PolyInjTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
8aee2cedbc
add serialization template to PlyshlogTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
bf1cbf1fed
add serialization template to JFunc
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
5f67172a9c
add serialization template to FlatTable
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
86090e0325
add serialization template to Eqldims
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
ae6b05777b
add serialization template to DenT
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
248f8881f4
remove accessors in ColumnSchema added for external serialization
2020-03-17 12:05:48 +01:00
Arne Morten Kvarving
8c2ab633a2
add serialization template to ColumnSchema
2020-03-17 12:05:16 +01:00
Arne Morten Kvarving
09ddcfa0eb
add serialization template to BrineDensityTable
2020-03-17 12:05:16 +01:00
Arne Morten Kvarving
eb91ba370b
add serialization template to AquiferConfig
2020-03-17 12:05:16 +01:00
Arne Morten Kvarving
5d9605bc17
add serialization template to Aquifetp
2020-03-17 12:05:16 +01:00
Arne Morten Kvarving
e47723dbdc
add serialization template to AquiferCT
2020-03-17 12:05:16 +01:00
Arne Morten Kvarving
2e5573e814
add serialization template to Aquancon
2020-03-17 12:05:16 +01:00
Joakim Hove
86b85aca01
Use Well::updateRefDepth() in Well::updateSegments()
2020-03-17 11:30:22 +01:00
Arne Morten Kvarving
ab50b48b42
Merge pull request #1579 from akva2/serialize_internal_eclstate_part4
...
Internal serialization in EclipseState - part 4
2020-03-17 10:38:40 +01:00
Joakim Hove
c0e328fd65
Merge pull request #1587 from tskille/eclio_huge_arrays
...
Adding support for larger EclFile arrays
2020-03-17 09:12:00 +01:00
Joakim Hove
0e8c5faba9
Merge pull request #1594 from joakim-hove/wellsegments-iter
...
Add begin() and end() iterators to WellSegments class
2020-03-17 09:10:54 +01:00
Arne Morten Kvarving
0a8c62ba3f
remove accessors in UDQConfig added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
c04dff98bf
add serialization template to UDQConfig
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
8bf05d9ba7
add serialization template for UDQIndex
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
6c19c2e8bb
remove accessors in UDQDefine added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
76da13ba12
add serialization template to UDQDefine
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
657b265f0a
remove accessors in UDQAssign added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
921daec3e7
add serialization template to UDQAssign
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
bf59ac6d33
remove accessors in UDQActive added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
9e291c34be
add serialization template to UDQActive
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
d59fd93563
remove accessors in UDQASTNode added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
7f1d0c40f9
add serialization template to UDQASTNode
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
6a7560beaa
add serialization template to DynamicState
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
69f20d9125
add serialization template to Runspec
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
e895fc05a6
add serialization template to SatFuncControls
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
eb1e71b625
add serialization template to Actdims
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
4275feee3c
add serialization template to EclHysterConfig
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
ca205a1f5d
add serialization template to UDQParams
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
0a69ecf663
add serialization template to WellSegmentDims
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
93b2127a8b
add serialization template to Welldims
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
44219ac24e
remove accessor in EndpointScaling added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
c230e4d7b7
add serialization template to EndpointScaling
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
badb934039
add serialization template to Tabdims
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
84820fc147
remove accessor in Phases added for external serialization
2020-03-17 08:28:18 +01:00
Arne Morten Kvarving
afa9f61219
add serialization template to Phases
2020-03-17 08:28:18 +01:00
Torbjørn Skille
e3ae38feb9
Adding support for large arrays using X231 format extension
...
- EclIO classes have been updated to support arrays with size beyond numeric limits for integers
- Output of arrays having 2^31 or more elements is facilitated by using a pair of headers
- The first header is of type X231, second should have the actual type
- The large array format extension is documented in the Eclipse File format manual
2020-03-16 18:58:25 +01:00
Joakim Hove
37a37d2f12
Add begin() and end() iterators to WellSegments class
2020-03-16 17:28:08 +01:00
Joakim Hove
969bfe976c
Merge pull request #1584 from joakim-hove/msw-rst-test
...
Msw rst test
2020-03-16 16:10:25 +01:00
Jostein Alvestad
82ea605cb8
removed default initialization for template group_control
2020-03-16 15:29:08 +01:00
Jostein Alvestad
6479391903
additional changes to add tests
2020-03-16 14:28:37 +01:00
Arne Morten Kvarving
704717950d
Merge pull request #1578 from akva2/serialize_internal_eclstate_part3
...
Internal serialization in EclipseState - part 3
2020-03-16 14:21:36 +01:00
Jostein Alvestad
e77a2c7816
Added SummaryConfig.hpp
2020-03-16 14:04:04 +01:00
Jostein Alvestad
68ac742f17
further changes for opm-data Groups
2020-03-16 13:51:05 +01:00
Jostein Alvestad
a18439bbcc
intital changes for adding opm/output/data/Groups
2020-03-16 13:35:25 +01:00
Joakim Hove
db015638f8
Merge pull request #1590 from joakim-hove/python-include-fix
...
Fix incorrect #include
2020-03-16 13:02:03 +01:00
Arne Morten Kvarving
4ea63cdba7
add serialization template to EclipseConfig
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
ff8cfcd7d1
remove accessors in IOConfig added for external serialization
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
58b7f8cd45
add serialization template to IOConfig
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
62a49dceb1
add serialization template to InitConfig
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
3362831db4
remove accessor in FoamConfig added for external serialization
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
044b82459f
add serialization template to FoamConfig
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
d569225cc8
add serialization template to FoamData
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
70b8fe0899
remove accessor in Equil added for external serialization
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
44e9dc1a7c
add serialization template to Equil
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
18a263f3bc
add serialization template to EquilRecord
2020-03-16 12:59:20 +01:00
Arne Morten Kvarving
eed3811f45
Merge pull request #1573 from akva2/serialize_internal_eclstate_part2
...
Internal serialization in EclipseState - part 2
2020-03-16 12:58:26 +01:00
Joakim Hove
7b1a165d4b
Merge pull request #1589 from joakim-hove/set-code-end
...
Remove #if 0 code block
2020-03-16 11:52:51 +01:00
Arne Morten Kvarving
3b92d5dc26
remove accessor in FaultCollection added for external serialization
2020-03-16 11:43:30 +01:00
Arne Morten Kvarving
8e00b911e2
add serialization template to FaultCollection
2020-03-16 11:43:30 +01:00
Arne Morten Kvarving
3957b528f6
remove accessor in Fault added for external serialization
2020-03-16 11:43:30 +01:00
Arne Morten Kvarving
8806d4e14c
add serialization template to Fault
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
c822ae8a88
remove accessor in FaultFace added for external serialization
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
a8ce3ebdcc
add serialization template to FaultFace
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
55c9822c1c
add serialization template to OrderedMap
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
f74aa2db07
remove accessors in TransMult added for external serialization
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
cf9b9cf64c
add serialization template to TransMult
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
ed0ed133a2
remove accessors in MULTREGTScanner added for external serialization
...
and make the serialization-friendly getSearchMap() private
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
e4465fc31c
add serialization template to MULTREGTScanner
2020-03-16 11:43:29 +01:00
Arne Morten Kvarving
037620d83f
Merge pull request #1568 from akva2/serialize_internal_eclstate_part1
...
Internal serialization in EclipseState - part 1
2020-03-16 11:42:51 +01:00
Joakim Hove
928a9be5db
Fix incorrect #include
2020-03-16 11:41:09 +01:00
Arne Morten Kvarving
9e804f36e5
add serialization template to SimulationConfig
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
8569274c01
add serialization template to RockConfig
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
561518317b
add serialization templates to BCConfig
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
10e3e5c998
remove accessors added to ThresholdPressure for external serialization
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
31a53f2ec5
add serialization template to ThresholdPressure
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
2419bb8d6a
add serialization template to GridDims
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
7767a8b2b5
add serialization template to NNC and EDITNNC
2020-03-16 10:50:17 +01:00
Arne Morten Kvarving
62caad82a3
Merge pull request #1565 from akva2/serializer_schedule
...
Add serialization template to Schedule
2020-03-16 10:48:31 +01:00
Arne Morten Kvarving
e41919c6f5
remove accessors added for external serialization support
2020-03-16 10:47:11 +01:00
Arne Morten Kvarving
26b2a3a554
add serialization template to Schedule
2020-03-16 10:47:11 +01:00
Joakim Hove
b274561f07
Remove #if 0 code block
2020-03-16 09:54:22 +01:00
Joakim Hove
89479c5c75
Merge pull request #1588 from joakim-hove/remove-dead-code
...
Remove #if 0 code block
2020-03-16 09:46:09 +01:00
Joakim Hove
544621e646
Remove #if 0 code block
2020-03-16 09:06:35 +01:00
Joakim Hove
d79aadece0
Add msw based restart testing (currently disabled)
2020-03-14 09:15:51 +01:00
Joakim Hove
3c4a6a41f2
Add testdata for MSW based restart testing
2020-03-14 09:15:31 +01:00
Joakim Hove
47abe3cde9
Merge pull request #1583 from joakim-hove/rst-msw-initII
...
Rst msw init ii
2020-03-13 18:54:06 +01:00
Joakim Hove
d3ef0fd795
Merge pull request #1582 from wito/rename-summarynode
...
Rename SummaryNode to SummaryConfigNode
2020-03-13 16:53:38 +01:00
Joakim Hove
9967b38b16
Check defaulted value when initializing drainage_radius from SWEL
2020-03-13 16:05:16 +01:00
Joakim Hove
bed8d5fd04
Recognize +/- 1e20 as defaulted value in SWEL
2020-03-13 16:04:47 +01:00
Joakim Hove
ce68078963
Include connection insert index in Schedule::cmp
2020-03-13 16:03:49 +01:00
Joakim Hove
7e88f4b4c2
Merge pull request #1576 from joakim-hove/rst-msw-init
...
Rst msw init
2020-03-13 15:45:18 +01:00
Williham Williham Totland
4101d51ce5
Alphabetises includes.
2020-03-13 15:40:41 +01:00
Williham Williham Totland
ec2cd2f9eb
Audits forward declarations.
2020-03-13 15:40:41 +01:00
Williham Williham Totland
fb7d4315c9
Renames Opm::SummaryNode to Opm::SummaryConfigNode.
2020-03-13 15:40:41 +01:00
Arne Morten Kvarving
939648e833
Merge pull request #1567 from akva2/serialize_summarynode
...
add serialization template to SummaryNode
2020-03-13 15:32:48 +01:00
Joakim Hove
0457a33f3c
Merge pull request #1580 from wito/forward-declaration-fix
...
Minifix: Fixes forward declaration compiler warnings
2020-03-13 15:30:53 +01:00
Joakim Hove
23eda37c0a
Make sure property Connection::r0 is initialized
2020-03-13 15:06:23 +01:00
Joakim Hove
f7b2e70282
Merge pull request #1577 from wito/summary-units
...
Adding support for inspecting units to Opm::EclIO::ESmry
2020-03-13 13:52:15 +01:00
Williham Williham Totland
5736111cf5
Resolves an issue where two structrs were forward declared as classes.
2020-03-13 13:49:03 +01:00
Williham Williham Totland
dddd45cec8
Simplifies name.
2020-03-13 12:35:17 +01:00
Williham Williham Totland
604c8a1169
Makes a number of variables const.
2020-03-13 12:34:47 +01:00
Joakim Hove
fb54272d6f
Schedule::cmp - compare TimeMap
2020-03-13 12:18:08 +01:00
Joakim Hove
4d01b85e99
Add operator<< support for TimeMap
2020-03-13 12:17:41 +01:00
Joakim Hove
d53826ed28
Add small static function inverse_peaceman
2020-03-13 12:16:51 +01:00
Williham Williham Totland
916516db60
Rename variable for clarity.
2020-03-13 12:13:40 +01:00
Williham Williham Totland
1c29886ec0
Audits includes.
2020-03-13 12:05:40 +01:00
Joakim Hove
47ff1fc297
Merge pull request #1575 from joakim-hove/rst-testing
...
Add integration test for restart based Schedule init
2020-03-13 12:03:35 +01:00
Williham Williham Totland
7297a9736a
Implements Opm::EclIO::ESmry::get_unit.
2020-03-13 11:55:43 +01:00
Joakim Hove
4433731079
Merge pull request #1566 from wito/rsm-testing
...
Adding support for the RUNSUM keyword in Opm::SummaryConfig
2020-03-13 11:16:30 +01:00
Williham Williham Totland
af61d58606
Removes trailing whitespace.
2020-03-13 10:39:53 +01:00
Williham Williham Totland
46abd74eba
Adds stub for Opm::EclIO::ESmry::get_unit
2020-03-13 10:36:49 +01:00
Joakim Hove
6e7f8e4009
Add integration test for restart based Schedule init
2020-03-13 10:22:43 +01:00
Joakim Hove
acc8a5bc36
Merge pull request #1571 from joakim-hove/rst-schedule-III
...
Initialize Schedule from restart file
2020-03-13 10:20:03 +01:00
Williham Williham Totland
67f3d31254
Makes RPTONLY a processing instruction.
2020-03-13 10:02:48 +01:00
Williham Williham Totland
d5c4487808
Implements support for RUNSUM-related keywords NARROW and SEPARATE
2020-03-13 09:15:46 +01:00
Joakim Hove
edf01bdcda
Initialize Schedule from restart file
2020-03-13 09:09:25 +01:00
Joakim Hove
952965ee07
Merge pull request #1570 from joakim-hove/schedule-cmp
...
Add context aware Schedule::cmp() function
2020-03-13 09:02:45 +01:00
Joakim Hove
191c50173a
Add context aware Schedule::cmp() function
2020-03-13 08:03:36 +01:00
Williham Williham Totland
0910e55be7
Changes Opm::SummaryConfig::createRunSummary to be backed by a field.
2020-03-13 07:45:52 +01:00
Joakim Hove
e9bbab8b0d
Merge pull request #1569 from joakim-hove/rst-schedule-parts
...
Rst schedule parts
2020-03-12 21:05:33 +01:00
Joakim Hove
a28f146d71
Add Well constructor based on restart well
2020-03-12 20:09:09 +01:00
Joakim Hove
e1dbd72689
Remove const and use std::move() when updating internal shared ptr
2020-03-12 18:11:25 +01:00
Joakim Hove
23bdbe51f2
Add wtype, drainage_radius and efficiency_factor members to rst::well
2020-03-12 18:11:25 +01:00
Joakim Hove
bf00fec1f9
Add Connection constructor based on RestartIO::connection
2020-03-12 18:11:25 +01:00
Joakim Hove
03be91a951
Add members cf_kind, cf, skin_factor and r0 to rst::connection
2020-03-12 18:11:25 +01:00
Joakim Hove
ee5f311a04
RestartIO::state - use internal UnitSystem member
2020-03-12 17:47:41 +01:00
Joakim Hove
034656b9fb
Remove test application rst_load
2020-03-12 17:41:08 +01:00
Joakim Hove
0fa1be6f54
Add accessor to in productionControls
2020-03-12 17:40:15 +01:00
Joakim Hove
c7695a7ac1
Moved declarations
2020-03-12 17:34:54 +01:00
Williham Totland
a270964846
Adds tests for swallowing RUNSUM keyword.
2020-03-12 14:59:31 +01:00
Williham Totland
eb921fefa9
Corrects variable name used in test.
2020-03-12 14:25:34 +01:00
Williham Totland
700a6720c4
Returns keyword sets to function-local static const.
2020-03-12 14:07:57 +01:00
Williham Totland
4c06edcb22
Unifies keyword_set searching.
2020-03-12 13:39:35 +01:00
Williham Totland
7da9d975d4
Rewrites .count() > 0 to more idiomatic .find() != .end().
2020-03-12 13:24:42 +01:00
Joakim Hove
8342d78fa0
Merge pull request #1556 from joakim-hove/connection-segment-attach-bug
...
Fixed: do not update insert_index when linking segment -> connection
2020-03-12 12:56:04 +01:00
Joakim Hove
fcfed6e125
Merge pull request #1563 from atgeirr/add-has-method-guiderate
...
Add GuideRate::has() method.
2020-03-12 12:55:44 +01:00
Williham Totland
7b70c109ff
Replaces "fall-through" comments with attributes.
...
In order to in future support compiling with -Wimplicit-fallthrough, the human-only comments indicating the switch case fallthroughs have been replaced with compiler-friendly [[fallthrough]] attributes.
For reference: https://en.cppreference.com/w/cpp/language/attributes/fallthrough
2020-03-12 12:36:50 +01:00
Williham Totland
6f83c4198c
Review Action: Renames SummaryConfig::doRunSummary to SummaryConfig::createRunSummary
2020-03-12 12:23:09 +01:00
Williham Totland
36e91f5cff
Implements SummaryConfig::doRunSummary()
2020-03-12 12:14:00 +01:00
Arne Morten Kvarving
f25f7e77f5
add serialization template to SummaryNode
2020-03-12 12:11:01 +01:00
Williham Totland
7f6518af5f
Extracts udq_blacklist as searchable unordered set.
2020-03-12 11:37:08 +01:00
Williham Totland
c5af3afebd
Corrects test after discussion.
2020-03-12 11:35:38 +01:00
Williham Totland
97e55c565d
Extracts static const specialkw as static { const special_keywords }.
2020-03-12 11:10:38 +01:00
Joakim Hove
d5855edc55
Fixed: do not update insert_index when linking segment -> connection
2020-03-12 11:01:56 +01:00
Joakim Hove
82028ca20d
Merge pull request #1564 from akva2/less_shared_ptr
...
changed: store Regdims and Eqldims as regular members, not shared ptrs
2020-03-12 11:00:46 +01:00
Williham Totland
fcc2e32d66
Renames runsum to doRunSummary, adds accessor.
2020-03-12 10:52:10 +01:00
Joakim Hove
60194fca04
Add test to ESmry for units
2020-03-12 09:41:43 +01:00
Joakim Hove
af3f1b83e2
Remove trailing whitespace
2020-03-12 09:41:43 +01:00
Joakim Hove
7a9c0171d1
Add test to check whether RSM output has been requested
2020-03-12 09:28:48 +01:00
Arne Morten Kvarving
c8c8ef006d
changed: store Regdims and Eqldims as regular members, not shared ptrs
2020-03-12 08:53:36 +01:00
Bård Skaflestad
0ec72754dd
Merge pull request #1555 from joakim-hove/connection-def-segment-zero
...
The numerical value 0 is used to signify no connection <-> segment
2020-03-11 14:14:17 -05:00
Bård Skaflestad
dce9a2222f
Merge pull request #1562 from joakim-hove/segment-reorder-refactor
...
Segment reorder refactor
2020-03-11 13:43:34 -05:00
Bård Skaflestad
7732e42658
Merge pull request #1552 from akva2/eclstate_serialize
...
add serialization template to EclipseState
2020-03-11 12:12:49 -05:00
Joakim Hove
d79350f20a
Merge pull request #1560 from joakim-hove/rawkeyword-cleanup
...
Remove unused file
2020-03-11 16:30:07 +01:00
Joakim Hove
96f22730ca
Minor reformatting
2020-03-11 16:14:21 +01:00
Joakim Hove
af02d6620d
Align code
2020-03-11 15:46:00 +01:00
Joakim Hove
472984233f
Use Segment instance for outlet segment
2020-03-11 15:42:49 +01:00
Atgeirr Flø Rasmussen
ce930d0158
Add virtual destructor for EclipseState class.
2020-03-11 15:19:47 +01:00
Atgeirr Flø Rasmussen
be2337e2c1
Add GuideRate::has().
2020-03-11 15:19:47 +01:00
Joakim Hove
9b1d045631
Add segmentOrder() overload to avoid dummy argument
2020-03-11 14:49:17 +01:00
Joakim Hove
83ace5c03e
Remove unused file
2020-03-11 14:33:12 +01:00
Bård Skaflestad
683723aa56
Merge pull request #1558 from joakim-hove/segment-use-named-index
...
Use enum values to look up indices when assembling segment info
2020-03-11 08:08:41 -05:00
Joakim Hove
222e0e7699
Use named constants in ISEG init
2020-03-11 13:39:42 +01:00
Joakim Hove
61894b5c3a
Use enum values to look up indices when assembling segment info
2020-03-11 11:45:08 +01:00
Joakim Hove
3cc78f2487
The numerical value 0 is used to signify no connection <-> segment
2020-03-11 08:11:22 +01:00
Bård Skaflestad
64206e1d9a
Merge pull request #1549 from akva2/serializer_summaryconfig
...
add serialization template to SummaryConfig
2020-03-10 20:20:08 -05:00
Arne Morten Kvarving
35eb136986
Merge pull request #1554 from dr-robertk/PR/cmake-check-include-file
...
[bugfix][cmake] Fix FindParMETIS check
2020-03-10 15:36:05 +01:00
Robert Kloefkorn
8de70f9128
[bugfix][cmake] Fix FindParMETIS check by adding missing
...
include(CheckIncludeFile).
2020-03-10 15:33:29 +01:00
Bård Skaflestad
cb7e40345f
Merge pull request #1550 from akva2/followup_stonetype
...
changed: relocate and rename StoneType enum
2020-03-10 07:57:26 -05:00
Arne Morten Kvarving
1da29f8bd8
add serialization template to EclipseState
2020-03-10 13:47:11 +01:00
Arne Morten Kvarving
6a2c036582
add serialization template to SummaryConfig
...
remove accessors that was only required for the external serialization
support
2020-03-10 13:09:08 +01:00
Arne Morten Kvarving
c2108265b3
Merge pull request #1548 from akva2/simplify_oilvap_equality
...
simplify the OilVaporization equality operator
2020-03-10 12:31:10 +01:00
Joakim Hove
e3600cfc19
Merge pull request #1551 from joakim-hove/opmpack-fix2
...
Fix opmpack copy_file option in the case of empty directories
2020-03-10 12:22:30 +01:00
Arne Morten Kvarving
9b22cab024
changed: relocate and rename StoneType enum
...
unfortunate naming, unfortunate location
2020-03-10 11:09:49 +01:00
Joakim Hove
02fd4ab340
Fix opmpack copy_file option in the case of empty directories
2020-03-10 11:03:45 +01:00
Arne Morten Kvarving
d945dee95b
simplify the OilVaporization equality operator
...
in particular the UNDEF -> false condition causes issues
in user code.
2020-03-10 09:55:46 +01:00
Joakim Hove
b8a30805d3
Merge pull request #1547 from joakim-hove/update-binary-testdata
...
Update embedded testdata with more items in restart file
2020-03-09 19:13:00 +01:00
Joakim Hove
cab6e21df6
Update embedded testdata with more items in restart file
2020-03-09 17:55:50 +01:00
Joakim Hove
ed0018ac98
Merge pull request #1546 from joakim-hove/rst-small
...
Rst small
2020-03-09 16:56:30 +01:00
Joakim Hove
b9b7cdc801
Merge pull request #1544 from joakim-hove/restart-items
...
Restart items
2020-03-09 16:55:57 +01:00
Joakim Hove
2edb1f4621
Add Well::DrainageRadius and Well::EfficiencyFactor to restart file
2020-03-09 16:52:03 +01:00
Joakim Hove
34984de671
Merge pull request #1519 from joakim-hove/add-welltype-class
...
Add WellTypes class
2020-03-09 16:40:22 +01:00
Joakim Hove
d1e4b28ad2
Merge pull request #1545 from joakim-hove/jenkins-enable-simulator-python
...
jenkins: Enable building of Python extension in opm-simulators
2020-03-09 15:32:55 +01:00
Joakim Hove
46cba99cfb
Completion number has correct offset in file
2020-03-09 15:14:28 +01:00
Joakim Hove
b46b50ed5f
Add explicit to one argument constructor
2020-03-09 15:14:23 +01:00
Joakim Hove
094270d994
Loading restart: check defaulted rates against value 1e+20
2020-03-09 15:06:08 +01:00
Joakim Hove
915dc982e8
Add throw protection when trying to create Valve from restart file
2020-03-09 14:59:35 +01:00
Joakim Hove
39c96ac9de
Add UnitSystem member to restart state
2020-03-09 14:59:30 +01:00
Joakim Hove
d056e8e97d
jenkins: Enable building of Python extension in opm-simulators
2020-03-09 14:31:10 +01:00
Joakim Hove
0bb822b9b5
Use WellType when reading and writing restart file
2020-03-09 13:30:18 +01:00
Joakim Hove
327625b713
Use the WellType class in Well and Schedule
2020-03-09 13:30:18 +01:00
Joakim Hove
6e8b4a6c12
Add WellType class for ecl interop
2020-03-09 13:29:11 +01:00
Joakim Hove
51a593de39
Merge pull request #1532 from joakim-hove/uda-value-dim-constructor
...
Uda value dim constructor
2020-03-09 13:28:22 +01:00
Joakim Hove
2eceab522d
Merge pull request #1541 from joakim-hove/rst-tuning
...
Rst tuning
2020-03-09 13:27:02 +01:00
Joakim Hove
ff3949a6ce
Output Connection::SkinFactor to restart file
2020-03-09 12:18:41 +01:00
Arne Morten Kvarving
8f7eefcf2a
Merge pull request #1543 from akva2/internalize_stonetype
...
internalize STONE|STONE1|STONE2
2020-03-09 11:21:32 +01:00
Arne Morten Kvarving
825eb34e8a
internalize STONE|STONE1|STONE2
2020-03-09 09:54:10 +01:00
Joakim Hove
86768666ae
Merge pull request #1542 from wito/extended-network-model-API
...
Separates Opm::Group::parent() for the extended network model
2020-03-06 17:05:34 +01:00
Joakim Hove
43ae6e6a0e
Initialize Tuning object when loading from restart file
2020-03-06 15:52:28 +01:00
Joakim Hove
75b8c12090
Publish indices required to look up Tuning parameters from DOUBHEAD
2020-03-06 15:52:28 +01:00
Joakim Hove
884e5e820a
Add missing #include<.../Units.hpp>
2020-03-06 15:52:28 +01:00
Williham Totland
13e838d171
Separates Opm::Group::parent() for the extended network model
...
In order to support the extended network model going forwards, the method Opm::Group::parent() is split in the API into two new methods, Opm::Group::control_group() and Opm::Group::flow_group(). These methods give the names of the parent node in the group control hierarchy and network structure, respectively.
While for the standard network model these two values will be the same (and the same as ::parent()), code that presently calls ::parent() should be revisited with an eye to the question of which parent group is desired.
2020-03-06 14:38:38 +01:00
Arne Morten Kvarving
9116f6410c
Merge pull request #1539 from akva2/serialize_plyshlog_rocktab
...
Prepare serialization for PlyshlogTable and RocktabTable
2020-03-06 13:55:26 +01:00
Arne Morten Kvarving
f0f87bb4b5
Merge pull request #1540 from akva2/internalize_stone1ex
...
internalize STONE1EX
2020-03-06 13:52:43 +01:00
Arne Morten Kvarving
f9c3368fc2
internalize STONE1EX
2020-03-06 12:08:13 +01:00
Arne Morten Kvarving
0cb8eecaa6
changed: use regular shared ptrs in table container
...
ptrs to const is problematic for serialization support
2020-03-06 09:59:09 +01:00
Arne Morten Kvarving
7fe4c3b23d
prepare RocktabTable for serialization
2020-03-06 09:59:09 +01:00
Arne Morten Kvarving
9b0203b517
prepare PlyshlogTable for serialization
2020-03-06 09:59:09 +01:00
Arne Morten Kvarving
e4433dfc2d
Merge pull request #1537 from akva2/internaliz_shrate
...
Internalize SHRATE
2020-03-06 09:58:42 +01:00
Joakim Hove
74e53f2a22
Merge pull request #1538 from joakim-hove/rename-order-connections
...
Rename function WellConnections::orderConnections()
2020-03-05 20:14:09 +01:00
Joakim Hove
0b26ece3c4
Rename function WellConnections::orderConnections()
2020-03-05 16:00:56 +01:00
Arne Morten Kvarving
33ebaa8753
internalize SHRATE
2020-03-05 14:34:01 +01:00
Arne Morten Kvarving
ef1e6d5fd8
Revert "added: PolymerConfig class"
...
This reverts commit a984ca5beb .
2020-03-05 14:17:51 +01:00
Arne Morten Kvarving
0fe106176e
Merge pull request #1536 from akva2/internalize_plyvmh
...
internalize PLYVMH
2020-03-05 14:15:11 +01:00
Arne Morten Kvarving
93615f53c5
internalize PLYVMH
2020-03-05 13:13:33 +01:00
Arne Morten Kvarving
d47a064c1c
Merge pull request #1534 from akva2/internalize_plmixpar
...
internalize PLMIXPAR
2020-03-05 13:10:24 +01:00
Joakim Hove
8501a7ead4
Construct UDA values in WellInjectionProperties with correct unit
2020-03-05 13:08:00 +01:00
Joakim Hove
17ec37ae4e
WellProductionProperties - init with correct UDA dimensions
2020-03-05 13:08:00 +01:00
Joakim Hove
ac79a7a1b1
Add UnitSystem::getDimension( measure ) method
2020-03-05 13:08:00 +01:00
Joakim Hove
4b0ee9d0bb
Remove method Dimension::newComposite()
2020-03-05 13:08:00 +01:00
Joakim Hove
874c734628
Remove name property from UnitSystem dimension
2020-03-05 13:08:00 +01:00
Joakim Hove
f8c250be34
UDAValue: change from ::reset() to ::operator=()
2020-03-05 13:08:00 +01:00
Joakim Hove
37d31aeac0
Remove UDAValue copy and modify constructor
2020-03-05 13:08:00 +01:00
Joakim Hove
157d3e4279
Add UDAValue constructor which takes dimension
2020-03-05 13:08:00 +01:00
Joakim Hove
3c0c94ff71
Remove stale comment
2020-03-05 13:08:00 +01:00
Arne Morten Kvarving
b53bd27a08
Merge pull request #1535 from akva2/add_polymerconfig
...
added: PolymerConfig class
2020-03-05 13:02:57 +01:00
Arne Morten Kvarving
a984ca5beb
added: PolymerConfig class
2020-03-05 11:54:22 +01:00
Arne Morten Kvarving
c52efaecd3
Merge pull request #1533 from akva2/foamconfig_fix
...
fixed: update FoamConfig defaults
2020-03-05 11:16:18 +01:00
Arne Morten Kvarving
a1708080c1
internalize PLMIXPAR
2020-03-05 11:07:18 +01:00
Arne Morten Kvarving
c8ff9503a2
fixed: update FoamConfig defaults
...
Foam cases should run without FOAMOPTS available. That means
we need to default the mobility model to a valid value.
This also adds enum value 'FUNC' and handles setting the default model
if only transport phase is unspecified.
2020-03-05 09:13:03 +01:00
Joakim Hove
c75421a73e
Merge pull request #1531 from atgeirr/fix-missing-include
...
Add missing <string> include.
2020-03-04 14:22:26 +01:00
Atgeirr Flø Rasmussen
1cbb1ddaf7
Merge pull request #1530 from akva2/foam_config_change
...
changed: don't enforce foam model limits in parser
2020-03-04 14:18:32 +01:00
Atgeirr Flø Rasmussen
92eb721e85
Add missing <string> include.
2020-03-04 13:51:49 +01:00
Arne Morten Kvarving
26bd5fd4a0
changed: don't enforce foam model limits in parser
2020-03-04 10:53:20 +01:00
Arne Morten Kvarving
ab6a92a1d9
Merge pull request #1529 from akva2/internalize_tlmixpar
...
internalize TLMIXPAR
2020-03-04 09:58:16 +01:00
Joakim Hove
85ddd2e2e8
Merge pull request #1527 from joakim-hove/move-well-injectortype
...
Move enum Well:InjectorType to new file ScheduleTypes
2020-03-03 16:36:49 +01:00
Joakim Hove
a02811ed63
Merge pull request #1526 from joakim-hove/wells-rst-units
...
Wells rst units
2020-03-03 16:35:26 +01:00
Arne Morten Kvarving
7ac9b6cf88
internalize TLMIXPAR
2020-03-03 15:59:08 +01:00
Arne Morten Kvarving
ab757c4a1c
Merge pull request #1528 from akva2/internalize_surface_conditions
...
internalize StandardConditions
2020-03-03 13:46:01 +01:00
Arne Morten Kvarving
f77bef4774
internalize StCond keyword
2020-03-03 12:14:13 +01:00
Joakim Hove
1b2fadcdc4
Move enum Well:InjectorType to new file ScheduleTypes
2020-03-03 09:09:11 +01:00
Joakim Hove
6af2bcdb6f
Use named public item for CFInDeck functionality
2020-03-03 08:34:47 +01:00
Joakim Hove
e6af67e897
Well datum depth is loaded from SWEL
2020-03-03 08:34:04 +01:00
Joakim Hove
e1bf7b2298
Well rates which should go to UDA are loaded with input units
2020-03-03 08:33:07 +01:00
Joakim Hove
e3a9174aa3
Merge pull request #1523 from akva2/simplify_oilvap
...
changed: simplify OilVaporizationProperties
2020-03-03 08:22:36 +01:00
Joakim Hove
e04d10494d
Merge pull request #1525 from joakim-hove/opmpack-fixup
...
Fix bug/problem in copy_file in opmpack
2020-03-03 08:21:59 +01:00
Joakim Hove
ca245136fa
Fix bug/problem in copy_file in opmpack
2020-03-02 21:17:14 +01:00
Joakim Hove
0b884fc977
Merge pull request #1521 from tskille/pybind_deckitem
...
Python bindings for DeckItem, adding support for UDA type
2020-03-02 20:57:54 +01:00
Torbjørn Skille
07a8c5b015
python bindings, adding support for UDA type
2020-03-02 13:50:57 +01:00
Arne Morten Kvarving
710a94709e
changed: simplify OilVaporizationProperties
...
there is no vappars per pvt region. do not store it as such either.
2020-03-02 09:32:40 +01:00
Bård Skaflestad
8a4240b2fe
Merge pull request #1518 from joakim-hove/remove-wtype-unknown
...
Remove opm specific well type WTUnk
2020-03-01 22:39:12 -06:00
Arne Morten Kvarving
bafa28ed76
Merge pull request #1443 from akva2/noecl_virtualize
...
Add virtual hooks to enable parallel frontends in opm-simulators
2020-02-28 12:29:27 +01:00
Arne Morten Kvarving
dcbf764b41
add a GridDims member in EclipseState
...
while this is already in the EclipseGrid, we need a
separate copy that we can serialize and broadcast
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
84e5f7ccbf
add equality operator to GridDims
...
also make it default constructible
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
e747ce86b7
added: virtual method globalFieldProps to EclipseState
...
this will always return the global field props, even in parallel.
necessary since certain operations related to IO need to full global
view on the root process, even when running in parallel
also virtualize the EclipseGrid accessor to add assert in parallel
to ensure only root-process access
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
8cb923bbd8
virtualize some methods in fieldpropsmanager
...
to allow putting a parallel layer on top in opm-simulators
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
af4e41943a
make EclipseState default constructible
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
45af93cd93
make Value default constructible
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
38ede33576
make eclipsegrid default constructible
2020-02-28 10:25:10 +01:00
Arne Morten Kvarving
3b44ee137b
changed: make data members in EclipseState protected
...
to allow subclass access
2020-02-28 10:25:10 +01:00
Atgeirr Flø Rasmussen
dbb78a509b
Merge pull request #1520 from atgeirr/add-group-availability
...
Add Group::isAvailableForGroupControl() method.
2020-02-28 10:03:04 +01:00
Atgeirr Flø Rasmussen
1a0f47f274
Add Group::isAvailableForGroupControl() method.
...
The method has very similar intended usage as the method of the
same name in the Well class.
2020-02-27 14:56:31 +01:00
Arne Morten Kvarving
406cf45064
Merge pull request #1517 from akva2/internalize_sdensity
...
added: internalize SDENSITY table
2020-02-27 13:37:25 +01:00
Arne Morten Kvarving
ac2907a876
added: internalize SDENSITY table
2020-02-27 11:52:31 +01:00
Joakim Hove
0f41c73c8e
Remove opm specific well type WTUnk
2020-02-27 11:01:15 +01:00
Arne Morten Kvarving
8233ae200c
Merge pull request #1515 from akva2/python_debian_packaging
...
Add debian packaging of python bindings
2020-02-26 12:22:01 +01:00
Joakim Hove
10c2705c07
Merge pull request #1516 from akva2/janitoring
...
remove unused cmake option
2020-02-26 12:00:37 +01:00
Arne Morten Kvarving
6e0a581764
remove unused cmake option
2020-02-26 11:57:37 +01:00
Arne Morten Kvarving
a9c1c8dedd
added: debian packaging for python bindings
2020-02-26 11:56:02 +01:00
Arne Morten Kvarving
585eb609ee
fixed: only try around the ccache code
...
build failed without ccache available
2020-02-26 11:56:02 +01:00
Arne Morten Kvarving
9eec147616
fixed: respect DESTDIR in python binding installation script
2020-02-26 11:56:02 +01:00
Arne Morten Kvarving
c765b769fa
fixed: set LD_LIBRARY_PATH so python tests can find the library
...
necessary when building shared lib
2020-02-26 11:56:02 +01:00
Arne Morten Kvarving
bdca9d9a0d
Merge pull request #1514 from akva2/fix_relative_gcc7
...
changed: use constructs available in filesystem TS to obtain relative path
2020-02-26 11:11:43 +01:00
Arne Morten Kvarving
2994b80a57
changed: use constructs available in filesystem TS to obtain relative path
...
fixes build with gcc 7
2020-02-26 10:13:21 +01:00
Joakim Hove
8cb65a77a6
Merge pull request #1507 from joakim-hove/dent-keywords
...
Add simple POD class to internalize keywords xxxDENT
2020-02-26 09:55:58 +01:00
Joakim Hove
3bfef790c6
Merge pull request #1512 from joakim-hove/add-rst-info
...
Add restart info to TimeMap() constructor
2020-02-25 15:34:25 +01:00
Joakim Hove
a5d396f1fb
Merge pull request #1511 from joakim-hove/extract-timestepping
...
Extracted timestepnning keywords from the regular handleKeyword()
2020-02-25 15:34:14 +01:00
Joakim Hove
964b707b0d
Merge pull request #1510 from joakim-hove/invalid-name-report-step
...
Add report_step argument to Schedule::invalidNamePattern()
2020-02-25 15:34:01 +01:00
Joakim Hove
5797ebd23d
Add member gas_comp_index to TableManager
2020-02-25 15:06:34 +01:00
Joakim Hove
24528ea607
Add simple POD class to internalize keywords xxxDENT
2020-02-25 15:06:34 +01:00
Joakim Hove
40dec6bd54
Add restart info to TimeMap() constructor
2020-02-25 09:23:55 +01:00
Joakim Hove
1cdb4aa579
Extracted timestepnning keywords from the regular handleKeyword()
2020-02-25 09:17:47 +01:00
Joakim Hove
b6aea46115
Add report_step argument to Schedule::invalidNamePattern()
2020-02-25 09:10:45 +01:00
Arne Morten Kvarving
989d643140
Merge pull request #1509 from blattms/fix-g++-versioncheck-fs
...
Fix compiler version check for -lstdc++fs
2020-02-25 08:55:07 +01:00
Joakim Hove
09595b98ad
Merge pull request #1495 from joakim-hove/opmpack-copy-restart
...
The opmpack utility can also copy restart and import files
2020-02-25 08:32:06 +01:00
Joakim Hove
3a69bcbf4a
Merge pull request #1503 from joakim-hove/wellsegments-alt-cons
...
Simplify WellSegments serialization construction
2020-02-25 08:31:30 +01:00
Joakim Hove
e1b4b64497
Merge pull request #1506 from atgeirr/guide-rate-generic
...
Add overloads to eval() and get() for simpler generic usage.
2020-02-25 08:30:26 +01:00
Bård Skaflestad
df21acfc49
Merge pull request #1492 from akva2/conditional_test_suite
...
changed: disable building of test suite if Boost::test is not found
2020-02-24 20:30:53 -06:00
Markus Blatt
31e6f316db
Fix compiler version check for -lstdc++fs
...
There was a typo in the if condition which probably always
made it true. Linking to to -lstdc++fs is needed until
g++-9, see e.g. https://gitlab.kitware.com/cmake/cmake/issues/17834
2020-02-24 22:00:10 +01:00
Atgeirr Flø Rasmussen
8b110916e6
Add overloads to eval() and get() for simpler generic usage.
2020-02-24 16:05:48 +01:00
Atgeirr Flø Rasmussen
dae7b2f331
Merge pull request #1504 from akva2/remove_opmfil
...
remove unused enum entry OpmFIL
2020-02-24 13:31:29 +01:00
Arne Morten Kvarving
aceb3b443a
remove unused enum entry OpmFIL
2020-02-24 11:41:50 +01:00
Joakim Hove
815969a7d1
Simplify WellSegments serialization construction
2020-02-22 10:57:57 +01:00
Bård Skaflestad
561a594365
Merge pull request #1501 from goncalvesmachadoc/patch-2
...
Add SALTVD table to CMake List
2020-02-21 11:44:21 -06:00
Joakim Hove
95d1cc29ff
Merge pull request #1500 from goncalvesmachadoc/goncalvesmachadoc-addSaltKeywords
...
add Keywords for Salt
2020-02-21 18:44:13 +01:00
Cintia Goncalves Machado
80da943b36
Add SALTVD table to CMake
2020-02-21 16:45:07 +01:00
Cintia Goncalves Machado
452a49d56f
add Keywords for Salt
2020-02-21 13:47:10 +01:00
Joakim Hove
ae504bcb45
Merge pull request #1499 from totto82/addControlWELTARG
...
Add production control from WELTARG
2020-02-21 13:25:20 +01:00
Tor Harald Sandve
83a8a9f4fe
add test for production control from WELTARG
2020-02-21 12:39:58 +01:00
Joakim Hove
9d1cf2482f
Merge pull request #1498 from atgeirr/silence-warnings
...
Silence warnings.
2020-02-21 11:57:04 +01:00
Tor Harald Sandve
df14e0d66a
Add production control from WELTARG
2020-02-21 11:15:18 +01:00
Atgeirr Flø Rasmussen
f35529d7ff
Silence warnings.
...
- One class vs struct declaration.
- Unused variables in a test.
2020-02-21 10:49:41 +01:00
Joakim Hove
7b145e360f
Merge pull request #1497 from joakim-hove/use-size_t
...
Use std::size_t instead of int for size
2020-02-21 09:30:58 +01:00
Joakim Hove
c11d0bb4cc
Use std::size_t instead of int for size
2020-02-21 07:43:25 +01:00
Joakim Hove
1a5cf27418
The opmpack utility can also copy restart and import files
2020-02-20 15:12:38 +01:00
Joakim Hove
4816777700
Merge pull request #1494 from joakim-hove/use-size_t
...
Use std::size_t instead of int for size
2020-02-20 13:57:16 +01:00
Joakim Hove
412909fa3a
Use std::size_t instead of int for size
2020-02-20 11:54:40 +01:00
Joakim Hove
a3c634b1f8
Merge pull request #1458 from joakim-hove/eclstate-aquifer-config
...
Eclstate aquifer config
2020-02-20 08:25:25 +01:00
Joakim Hove
6a87be8512
Merge pull request #1490 from joakim-hove/use-complnum
...
Store complnum value directly without taking std::abs()
2020-02-20 08:24:28 +01:00
Joakim Hove
6a0785b172
Merge pull request #1477 from joakim-hove/move-restart-config
...
Move RestartConfig to Schedule
2020-02-20 07:06:58 +01:00
Joakim Hove
aed8c78af5
Move RestartConfig from EclipseState to Schedule
2020-02-19 12:35:07 +01:00
Joakim Hove
269802ae48
Add comment about locating shared library while testing Python
2020-02-19 12:33:50 +01:00
Joakim Hove
59f6cc7c11
Remove moot test
2020-02-19 12:33:50 +01:00
Joakim Hove
89cf50e0d5
Remove hack for Python 3D testing
2020-02-19 12:33:50 +01:00
Joakim Hove
b3601c7357
Merge pull request #1489 from akva2/more_boost_prune
...
Continue replacing boost usage
2020-02-19 12:29:06 +01:00
Arne Morten Kvarving
f76daabbb4
changed: disable building of test suite if Boost::test is not found
2020-02-19 12:25:32 +01:00
Joakim Hove
36e40040a0
Merge pull request #1491 from atgeirr/accept-mixed-case-months
...
Use upper case to look up month numbers.
2020-02-19 11:38:46 +01:00
Arne Morten Kvarving
36d4fa2923
replace boost with std in comment
2020-02-19 09:53:01 +01:00
Arne Morten Kvarving
3d83512f09
get rid of usage of boost::join
2020-02-19 09:51:57 +01:00
Arne Morten Kvarving
26c9a1e3f1
changed: get rid of boost::lexical_cast
...
replace with std::strtoul. not as pretty, but boost is not popular in
here
2020-02-19 09:51:57 +01:00
Arne Morten Kvarving
83a7cd04c3
remove unused boost includes
...
and deal with missing include fallout
2020-02-19 09:51:46 +01:00
Atgeirr Flø Rasmussen
4a16f6022d
Use upper case to look up month numbers.
...
This means we accept strings such as "Sep" and "oCT" as valid months,
not just "SEP" and "OCT".
2020-02-19 09:37:28 +01:00
Arne Morten Kvarving
2b6754151f
add internal replacement for boost::split and use it
2020-02-19 09:29:25 +01:00
Joakim Hove
20afa1ed31
Store complnum value directly without taking std::abs()
2020-02-19 07:16:03 +01:00
Joakim Hove
01aa3692fa
Add AquiferConfig to EclipseState
2020-02-18 18:07:02 +01:00
Joakim Hove
7daf77ef59
Added AquiferConfig class
2020-02-18 15:30:09 +01:00
Joakim Hove
a4d745b895
Merge pull request #1484 from joakim-hove/brine-table-size
...
Add size() method to BrineDesityTable
2020-02-18 15:11:25 +01:00
Arne Morten Kvarving
57d88dea7e
add a replacement for boost::replace_all and use it
2020-02-18 14:48:40 +01:00
Arne Morten Kvarving
82491aaf2e
changed: use internal method to uppercase a string instead of boost
2020-02-18 14:31:41 +01:00
Arne Morten Kvarving
c8458049e8
changed: use internal trim methods instead of boost
2020-02-18 14:31:03 +01:00
Arne Morten Kvarving
ec1dabf80e
Merge pull request #1488 from akva2/less_boost_debian
...
remove libboost-regex-dev, libboost-filesystem-dev from debian packaging
2020-02-18 12:03:04 +01:00
Arne Morten Kvarving
ee90d5f094
Merge pull request #1487 from akva2/redhat_dt8
...
Use devtoolset-8 in redhat packaging
2020-02-18 12:02:06 +01:00
Joakim Hove
fc82988c9c
Merge pull request #1475 from joakim-hove/schedule-addwell-refactor
...
Add new Schedule::addWell() overload + update Well constructor args
2020-02-18 11:58:37 +01:00
Joakim Hove
084ff09e78
Merge pull request #1476 from joakim-hove/timemap-skiprest
...
Internalize the existence of SKIPREST in the TimeMap
2020-02-18 11:57:24 +01:00
Arne Morten Kvarving
14548852d7
remove libboost-regex-dev, libboost-filesystem-dev from debian packaging
2020-02-18 11:08:32 +01:00
Kai Bao
e2b4759b23
Merge pull request #1452 from joakim-hove/eclstate-aquifer-aquancon
...
Eclstate aquifer aquancon
2020-02-18 11:08:14 +01:00
Joakim Hove
c5e1826498
Add size() method to BrineDesityTable
2020-02-18 07:49:48 +01:00
Joakim Hove
32227236fa
Refactor AQUANCON implementation
2020-02-18 07:33:05 +01:00
Arne Morten Kvarving
3f20edbfcb
Merge pull request #1482 from akva2/fix_brine
...
fixed: add begin/end members to BrineDensityTable
2020-02-17 16:08:56 +01:00
Arne Morten Kvarving
c2aca49a2a
fixed: add begin/end members to BrineDensityTable
2020-02-17 15:13:36 +01:00
Joakim Hove
91c886465a
Merge pull request #1478 from akva2/vfp_boost_prune
...
Drop use of boost::multi_array in VFP classes
2020-02-17 13:57:32 +01:00
Arne Morten Kvarving
a43062ed7f
go back to boost 1.48 on rhel6 and rhel7
2020-02-17 13:34:09 +01:00
Arne Morten Kvarving
a594483d02
bump to devtoolset-8 in redhat packaging
2020-02-17 13:34:04 +01:00
Joakim Hove
dd04b1d9df
Merge pull request #1467 from joakim-hove/rst-units
...
Add units to rst classes
2020-02-17 13:23:01 +01:00
Arne Morten Kvarving
fa572188fa
changed: avoid use of boost::multi_array in VFPProdTable
2020-02-17 13:08:14 +01:00
Arne Morten Kvarving
143c8ec3bf
changed: avoid use of boost::multi_array in VFPInjTable
2020-02-17 13:08:14 +01:00
Joakim Hove
dbf1929349
Merge pull request #1481 from akva2/remove_stale_flag
...
remove stale cmake options from jenkins scripts
2020-02-17 13:06:24 +01:00
Arne Morten Kvarving
f152ac1127
remove stale cmake options from jenkins scripts
2020-02-17 11:59:58 +01:00
Arne Morten Kvarving
de39bb5a7c
Merge pull request #1479 from akva2/fix_cxx17_rh6
...
fixed: guess -std=c++17 flag if cmake version is too old
2020-02-17 11:30:59 +01:00
Arne Morten Kvarving
2b5a21085c
fixed: guess -std=c++17 flag if cmake version is too old
...
to aid compilation on rhel6
2020-02-17 11:30:26 +01:00
Joakim Hove
cad54feafb
Internalize the existence of SKIPREST in the TimeMap
2020-02-16 17:53:27 +01:00
Bård Skaflestad
13fa36f63b
Merge pull request #1472 from akva2/fix_gcc_check
...
fixed: wrong preprocessor check for gcc7
2020-02-14 10:32:38 -06:00
Arne Morten Kvarving
e0939b69f1
fixed: gcc8+ filesystem will collapse the multiple slashes
2020-02-14 16:14:15 +01:00
Joakim Hove
1b0af2954d
Add new Schedule::addWell() overload + update Well constructor args
2020-02-14 14:21:08 +01:00
Atgeirr Flø Rasmussen
fa5050f18a
Merge pull request #1474 from joakim-hove/schedule-add-rst-argument
...
Schedule add rst argument
2020-02-14 14:00:20 +01:00
Joakim Hove
15861f1dde
Merge pull request #1473 from joakim-hove/rm-rst-load-test
...
Remove rst_load based test
2020-02-14 12:51:52 +01:00
Joakim Hove
0b3f885b33
Started to add skeleton load_rst function
2020-02-14 12:51:26 +01:00
Joakim Hove
5399c4f37f
Add optional RstState * argument to Schedule constructors
2020-02-14 12:05:24 +01:00
Joakim Hove
a50efdf7da
Remove rst_load based test
2020-02-14 11:59:24 +01:00
Atgeirr Flø Rasmussen
4516b23a14
Merge pull request #1410 from joakim-hove/group-multiple-phases
...
Support multiple phases in group injection
2020-02-14 11:10:37 +01:00
Arne Morten Kvarving
a049cd5b03
fixed: wrong preprocessor check for gcc7
2020-02-14 09:42:31 +01:00
Tor Harald Sandve
e9318b1457
continue the work of allowing for phase dependent injection control
2020-02-14 09:30:58 +01:00
Joakim Hove
45dfd4ffe0
Change UDQ restart data for injection groups
...
The code changes required to support multiple phases in a UDQ controlled
injection group is an educated guess.
2020-02-14 09:30:58 +01:00
Joakim Hove
0b2dbf7fc2
GroupInjection is a map over phases + implement topup_phase
2020-02-14 09:30:58 +01:00
Joakim Hove
ecd8d98aab
Merge pull request #1469 from atgeirr/fix-fmap-comparison
...
Fix operator==() of UDQFunctionTable.
2020-02-14 09:06:39 +01:00
Joakim Hove
9ce0e6783d
Add datum_depth as member to RstWell
2020-02-14 07:27:05 +01:00
Joakim Hove
e4955d3d94
Merge pull request #1468 from joakim-hove/connection-segment
...
Connection segment
2020-02-14 06:49:43 +01:00
Joakim Hove
9e72cd3c82
Restart well - store allow xlflow in bool
2020-02-14 06:43:25 +01:00
Joakim Hove
7da79ae532
Convert rst quantities to SI units
2020-02-14 06:43:25 +01:00
Joakim Hove
50d1108e61
Merge pull request #1455 from joakim-hove/boost-remove
...
Boost remove
2020-02-13 22:46:42 +01:00
Joakim Hove
36662b2734
Use internal string trim functions instead of boost algorithm
2020-02-13 18:25:37 +01:00
Joakim Hove
1205e8c03c
Avoid use of raw pointer
2020-02-13 17:08:36 +01:00
Joakim Hove
1c07a8f251
Code to connect segment <-> connection in *one* function call
2020-02-13 16:02:21 +01:00
Joakim Hove
9ac9e53d68
Remove unused include
2020-02-13 15:29:52 +01:00
Atgeirr Flø Rasmussen
5ab15783e2
Fix operator==() of UDQFunctionTable.
2020-02-13 15:04:02 +01:00
Arne Morten Kvarving
4f63172dc9
Merge pull request #1461 from akva2/use_std_filesystem
...
Replace boost::filesystem with std::filesystem
2020-02-13 15:01:02 +01:00
Kai Bao
8ddf71a67f
Merge pull request #1460 from joakim-hove/wellsegments-state
...
Wellsegments state
2020-02-13 14:39:29 +01:00
Joakim Hove
349fb1f4f5
White space
2020-02-13 13:54:27 +01:00
Arne Morten Kvarving
fb75bcd4e2
changed: use std::filesystem instead of boost::filesystem
...
since we still support g++-7, where filesystem is marked experimental,
we introduce a wrapper header and expose the namespace to use
as Opm::filesystem.
for gcc we unconditionally link with libstdc++fs in the python bindings.
the setup.py stuff links as c code, not c++ code, so it is not
automatically added on any gcc version. this might prove unportable
later.
2020-02-13 12:34:19 +01:00
Joakim Hove
9099c8a12a
Merge pull request #1466 from joakim-hove/segments-updates2
...
Segments updates2
2020-02-13 11:45:05 +01:00
Joakim Hove
899f698f73
Add message on stdout
2020-02-13 11:05:35 +01:00
Joakim Hove
ac2cac9f16
Remove member multiphase model from WellSegments
2020-02-13 11:03:14 +01:00
Joakim Hove
121386914b
WellSegments - remove member length_depth
2020-02-13 11:03:14 +01:00
Joakim Hove
8657d59696
Remove name member from WellSegments class
2020-02-13 11:03:14 +01:00
Joakim Hove
b5d3af49e9
Remove variables: depth, length and volume from WellSegmentSet
2020-02-13 11:03:14 +01:00
Joakim Hove
185c715cff
Remove WellSegments::operator<<()
2020-02-13 11:03:14 +01:00
Joakim Hove
bd688edfde
Wellsegments are created with constructor
2020-02-13 11:03:14 +01:00
Joakim Hove
cac1dac893
Remove unused bool flag
2020-02-13 11:03:14 +01:00
Joakim Hove
b3d306482c
Use const ref argument
2020-02-13 11:03:14 +01:00
Joakim Hove
ade0a78a06
Remove mutable accessors to set volume, depth and length
2020-02-13 11:03:14 +01:00
Joakim Hove
dd49f359f5
Grouped mutable accessors
2020-02-13 11:03:14 +01:00
Joakim Hove
95bda6f3f1
Merge pull request #1465 from atgeirr/fix-warnings
...
Silence a few warnings, remove some end-of-line whitespace.
2020-02-13 11:02:10 +01:00
Joakim Hove
b0fbb794d2
Remove WellSegments::operator<<
2020-02-13 09:23:33 +01:00
Joakim Hove
0525ea52a9
White space reformatting
2020-02-13 09:23:33 +01:00
Joakim Hove
7829895b3b
Use raw pointer
2020-02-13 09:23:33 +01:00
Joakim Hove
2d858c43e3
Use proper SegmentType enum in RstSegment class
2020-02-13 09:23:33 +01:00
Atgeirr Flø Rasmussen
74129a2866
Silence a few warnings, remove some end-of-line whitespace.
2020-02-13 09:13:29 +01:00
Joakim Hove
921a68fc73
Merge pull request #1463 from joakim-hove/segment-updates
...
Segment updates
2020-02-13 07:47:27 +01:00
Joakim Hove
9bed25f035
Use common ICDStatus class for both Valve and SpiralICD
2020-02-12 15:09:26 +01:00
Joakim Hove
e2b58cecda
Inetrnalize segment type in proper enum
2020-02-12 14:18:24 +01:00
Joakim Hove
f80160e6c0
Add icd file with status enum common to SpiralICD and Valve
2020-02-12 14:15:13 +01:00
Joakim Hove
963387da56
Removed invalid_value as member variable
2020-02-12 10:01:45 +01:00
Joakim Hove
cd990599b4
The type of a segment must be explicitly initialized
2020-02-12 10:00:31 +01:00
Arne Morten Kvarving
679c7a2a5c
remove locale workaround for older boost versions
2020-02-12 09:14:30 +01:00
Markus Blatt
c7eb410309
Merge pull request #1456 from akva2/bump_to_cxx17
...
changed: remove the CXX11Features module
2020-02-11 17:51:18 +01:00
Joakim Hove
425769712e
Merge pull request #1459 from akva2/janitoring
...
changed: initialize members to avoid potential unused warnings downstream
2020-02-11 13:30:01 +01:00
Bård Skaflestad
978ab75d3a
Merge pull request #1026 from akva2/use_cxx11
...
changed: use std::regex instead of boost::regex
2020-02-11 05:39:52 -06:00
Arne Morten Kvarving
8d3ded8eb3
changed: initialize members to avoid potential unused warnings downstream
2020-02-11 10:51:42 +01:00
Arne Morten Kvarving
0f31f83483
changed: simplify seqnumFromSeparateFilename by using a regex
2020-02-11 08:49:08 +01:00
Arne Morten Kvarving
7876f530a1
changed: use std::regex instead of boost::regex
2020-02-11 08:49:08 +01:00
Arne Morten Kvarving
44f2af0589
changed: do not mess with flags in config file
...
abi is ensured in other ways now
2020-02-10 11:45:06 +01:00
Arne Morten Kvarving
c272ebba62
fixed: build python bindings as c++17
2020-02-10 11:36:56 +01:00
Arne Morten Kvarving
d8aae55837
changed: remove the CXX11Features module
...
instead use standard CMake mechanism to set cxx standard to 17
move some of the tests to a OpmCompilerChecks.cmake file
2020-02-10 11:36:56 +01:00
Joakim Hove
01b0dcaedf
Merge pull request #1454 from joakim-hove/fix-switch
...
Fix bug in switch default case
2020-02-07 17:32:42 +01:00
Arne Morten Kvarving
28c9db0dcd
Merge pull request #1453 from tskille/compareECL
...
Disable checking of DOUBHEAD[1] with compareECL
2020-02-07 15:25:21 +01:00
Joakim Hove
a396b9004a
Remove problematic test
2020-02-07 15:12:24 +01:00
Joakim Hove
2b0e06994d
Fix bug in switch default case
2020-02-07 15:10:48 +01:00
Joakim Hove
07cb2fe0d6
Merge pull request #1451 from joakim-hove/eclstate-aquifer
...
Eclstate aquifer
2020-02-07 14:27:56 +01:00
Torbjørn Skille
bfca7c9fe8
Disable checking of DOUBHEAD[1] with compareECL
2020-02-07 12:53:45 +01:00
Joakim Hove
1a1b796cb6
Refactor Aquifetp class
...
- Make constructor and operator== for struct
- Make constructor and accessor for serialization
- Initial pressure stored in std::pair<bool, double>
- Add size() and begin() and end()
- Remove unused memmbers cell_id and inftableID
- Use ParserKeywords::AQUIFETP class instead of string lookup
2020-02-07 07:30:22 +01:00
Joakim Hove
140a1c0bf3
Add accessor and constructor for serialization
2020-02-07 07:30:22 +01:00
Joakim Hove
f91630a62d
Add operator== to AQuiferCT
...
Initial pressure is stored as std::pair<bool, double> instead of
std::shared_ptr<double>.
2020-02-07 07:30:22 +01:00
Joakim Hove
f666ab0544
Refactored the AquiferCT class to construct AQUCT_data struct
2020-02-07 07:30:22 +01:00
Joakim Hove
a505f59096
Add begin(), end() and size() to AquiferCT class
2020-02-07 07:30:22 +01:00
Joakim Hove
ca4c10f810
Use TableManager in AquiferCT constructor
2020-02-07 07:30:22 +01:00
Joakim Hove
b57a4a39a3
Merge pull request #1448 from joakim-hove/rst-testing
...
Rst testing
2020-02-07 07:29:40 +01:00
Joakim Hove
9f18d86a5e
Merge pull request #1446 from bska/currctrl-restart-support
...
Add Restart Infrastructure for Well's Active Control
2020-02-06 16:35:46 +01:00
Bård Skaflestad
38f458a672
Add Restart Infrastructure for Well's Active Control
...
This commit introduces a new protocol for communicating a well's
active constraint (i.e., its current target control mode) between
the running simulator and the restart file. In particular, we add a
new type
Opm::data::CurrentControl
whose data members indicate if the well is a producer or injector
and, depending on that state, carries information about the
pertinent active control mode. The 'prod' member should be defined
for producing wells and the 'inj' member should be defined for
injectors. Default-constructed objects of this type are 'invalid'
and not output to the restart file. Add a CurrentControl member to
the Opm::data::Well type to enable communicating this information
using existing restart interfaces.
Expand existing unit tests to exercise the new data member.
2020-02-06 12:01:41 +01:00
Joakim Hove
112a0d1f2d
Add test for testing of restart loaded well and connection
2020-02-06 11:59:10 +01:00
Joakim Hove
42fc0666be
Rst connection - use proper enums for direction and state
2020-02-06 11:59:10 +01:00
Joakim Hove
b3dc5483f1
Rst connection insert_index has offset 0
2020-02-06 11:59:10 +01:00
Joakim Hove
de471c8244
Shift RstConnection::segment to offset 0
2020-02-06 11:59:10 +01:00
Joakim Hove
6afd05db1b
Add group mamber to RstWell
2020-02-06 11:59:10 +01:00
Joakim Hove
6d3cb49c11
Add method get_well() to RstState
2020-02-06 11:59:10 +01:00
Joakim Hove
c69ff506d8
Merge pull request #1432 from joakim-hove/python-rpath
...
Pass RPATH to the python setup.py based build system
2020-02-06 10:54:10 +01:00
Joakim Hove
833933e954
Remove superfluous extra extension
2020-02-06 10:18:07 +01:00
Joakim Hove
22787eea61
Add boost_system to the list of libraries in setup.py
2020-02-06 10:16:43 +01:00
Joakim Hove
6b0073455b
Pass RPATH to the python setup.py based build system
2020-02-06 10:15:40 +01:00
Bård Skaflestad
8225ea87d4
Merge pull request #1450 from joakim-hove/unitsystem-ecl-id
...
Add UnitSystem functionality to handle eclipse integer id
2020-02-05 20:42:51 +01:00
Joakim Hove
8f213b19d6
Merge pull request #1447 from akva2/simplify_tuning
...
changed: simplify Tuning handling
2020-02-05 07:50:41 +01:00
Joakim Hove
35a580f610
Add UnitSystem functionality to handle eclipse integer id
...
Writing of INTEHEAD keyword uses UnitSystem class instead of intermediate enum
UnitSystem.
2020-02-05 07:38:00 +01:00
Arne Morten Kvarving
dab3ba807a
changed: simpify Tuning handling
...
make Tuning a simple struct, and store as a DynamicState<Tuning>.
in the process the unused setTuningInitialValue is removed. it was
only used in unit tests and seem like a leftover
2020-02-04 10:42:43 +01:00
Joakim Hove
378431024e
Merge pull request #1445 from joakim-hove/addwell-refactor
...
Add Schedule::addWell() overload which does not take Deck arguments
2020-02-02 09:37:35 +01:00
Joakim Hove
3c5ae4bf44
Add Schedule::addWell() overload which does not take Deck arguments
2020-01-30 10:38:41 +01:00
Bård Skaflestad
b8386eb7bf
Merge pull request #1444 from joakim-hove/rst-schedule-prep
...
Rst schedule prep
2020-01-30 10:26:43 +01:00
Joakim Hove
78f4e59fc8
Add output of missing date when TimeMap::TimeMap() fails
2020-01-30 10:20:01 +01:00
Joakim Hove
cdbccce62a
Ensure base restart file is written before loading restarted case
2020-01-30 10:20:01 +01:00
Joakim Hove
9456d05ec4
Fix keyword inconsistency in test data
2020-01-30 10:20:01 +01:00
Joakim Hove
fc20150336
Use time points from Schedule in restart testing
2020-01-30 10:20:01 +01:00
Joakim Hove
993511e347
Merge pull request #1417 from bska/filleps
...
INIT File: Reenable FILLEPS for Two-Phase Systems
2020-01-29 21:25:17 +01:00
Bård Skaflestad
79a3ec6e84
INIT File: Reenable FILLEPS for Two-Phase Systems
...
This reverts commit c736e71e46 .
2020-01-29 16:34:15 +01:00
Bård Skaflestad
19ecc3d30e
Consider Active Phases When Initializing Satfunc Endpoints
...
This commit passes the run's notion of its active phases, an object
of type Opm::Phases, through to the initialisation layer for the
saturation functions' scaling properties. In particular, this
allows us to discriminate between the phases and to not index into
tables or properties that would not be appropriate (e.g., maximum
gas saturation (SGU) in a simulation run without active gas).
Moreover, we now have enough information to know to look for SOF2 in
two-phase run using family II saturation function keywords. These
changes are necessary in order to extend Flow's support for the
FILLEPS output request to two-phase runs.
2020-01-29 16:34:15 +01:00
Joakim Hove
847182c25a
Merge pull request #1442 from joakim-hove/use-set
...
Fixup
2020-01-29 15:28:15 +01:00
Joakim Hove
2b4f6bc73d
Fixup
2020-01-29 15:11:42 +01:00
Joakim Hove
60abde0ffe
Merge pull request #1433 from joakim-hove/rock-config
...
Rock config
2020-01-29 15:05:40 +01:00
Joakim Hove
936f142233
Add class RockConfig under SimulationConfig
2020-01-29 15:04:31 +01:00
Bård Skaflestad
41417c9d6a
Merge pull request #1441 from joakim-hove/restart-fixup
...
Restart fixup
2020-01-29 14:11:16 +01:00
Joakim Hove
a33108dee0
Properly differentiate between base case and restart case in test
2020-01-29 12:45:42 +01:00
Joakim Hove
1d8ea3c92e
Remove unused inline test data
2020-01-29 11:35:28 +01:00
Joakim Hove
d7a0693d08
Merge pull request #1440 from joakim-hove/ecl-config-cleanup
...
Ecl config cleanup
2020-01-29 08:05:41 +01:00
Joakim Hove
ae80f4521c
Merge pull request #1439 from bska/tolcrit-for-sfunc-output
...
Make Saturation Function Output Aware of TOLCRIT
2020-01-29 00:46:42 +01:00
Joakim Hove
76229f95be
Made IOConfig a member of RestartConfig
2020-01-29 00:27:35 +01:00
Joakim Hove
7036c3ee45
Remove unused constructor
2020-01-29 00:27:35 +01:00
Joakim Hove
3730cadcd8
Minor reorder
2020-01-29 00:27:35 +01:00
Joakim Hove
0b19eb7ffb
Remove unused method declarations
2020-01-29 00:27:35 +01:00
Bård Skaflestad
c8d23c8d0a
Merge pull request #1438 from joakim-hove/timemap-schedule-only
...
TimeMap iterate only over SCHEDULE section
Closes OPM/opm-simulators#2306
2020-01-29 00:08:06 +01:00
Joakim Hove
86367a78b8
Fix typo in json defintion of ENDSCALE
2020-01-28 20:40:42 +01:00
Joakim Hove
d36b6fa287
TimeMap iterate only over SCHEDULE section
2020-01-28 20:38:45 +01:00
Bård Skaflestad
fee20972b4
Make Saturation Function Output Aware of TOLCRIT
...
This commit switches to outputting all relative permeability values
less than TOLCRIT (default 1.0E-6) as zero when writing saturation
function tables to the INIT file's TAB vector. Doing so also
nominally affects the relative permeability function derivatives for
small values of Kr.
Update the SPE1-based unit test since this has very low Kr values
for water and some of the nodes now fall below the 1.0e-6 threshold.
2020-01-28 16:38:29 +01:00
Arne Morten Kvarving
5e546086fb
Merge pull request #1435 from akva2/hide_fprops_ifaces
...
changed: hide the templated 'has' and 'get' interfaces in FieldPropsManager
2020-01-28 15:33:49 +01:00
Joakim Hove
084b4721f9
Merge pull request #1437 from joakim-hove/schedule-testdata
...
Schedule testdata
2020-01-28 14:35:31 +01:00
Arne Morten Kvarving
9e8a765b93
quell warning when building without python
...
anonymize the parameter like is done for the rest of them
2020-01-28 14:32:27 +01:00
Arne Morten Kvarving
ae10af208f
changed: hide the templated 'has' and 'get' interfaces in FieldPropsManager
...
motivation: an upcoming parallel frontend to the field props manager.
templated functions cannot be virtualized, and thus having these exposed
would give a great chance of confusing the users in the downstream
code, where properties would be caught from the (potentially) empty
backend instead of from the frontend.
2020-01-28 14:31:25 +01:00
Joakim Hove
79a75eba2a
Add public accessor TimeMap::restart_offset()
2020-01-28 12:49:27 +01:00
Joakim Hove
8480e37975
Add header member to RstState
2020-01-28 12:49:27 +01:00
Joakim Hove
dcc52eb225
Add testdata
2020-01-28 12:46:18 +01:00
Joakim Hove
d1608ea2cf
Merge pull request #1430 from joakim-hove/ecl-bc
...
Add class to internalize BC keyword - and add to SimulationConfig
2020-01-28 11:03:43 +01:00
Joakim Hove
c9f6326dc5
Add class to internalize BC keyword - and add to SimulationConfig
2020-01-27 11:55:15 +01:00
Joakim Hove
eed3c290b3
Merge pull request #1431 from bska/expose-tolcrit
...
Internalise TOLCRIT Keyword
2020-01-27 09:45:05 +01:00
Bård Skaflestad
7c1b77ec5d
Internalise TOLCRIT Keyword
...
This commit internalises the TOLCRIT keyword into the EclipseState
for subsequent use in determining critical saturations when
processing saturation function keywords such as SGOF and SOF3.
Specifically, we add a new type
Opm::SatFuncControls
that, at present, stores only the TOLCRIT data item (defaulted to
the keyword's default value). Client code can then retrieve the
value by calling the
SatFuncControls::minimumRelpermMobilityThreshold()
member function.
Add a new data member of this type to the Opm::Runspec class so that
we complete the chain from EclipseState, and a few simple unit tests
to exercise the expected functionality.
2020-01-24 20:58:38 +01:00
Bård Skaflestad
4094e4957a
Merge pull request #1427 from joakim-hove/time-map-restart
...
Time map restart
2020-01-24 20:25:44 +01:00
Joakim Hove
db8ded1f09
Pass restart info to TimeMap constructor
2020-01-24 19:27:53 +01:00
Joakim Hove
0ba3a65d16
Merge pull request #1429 from akva2/remove_ioconfig_member
...
Fix TimeMap constructor and remove IOConfig member
2020-01-24 15:15:02 +01:00
Joakim Hove
c7023ab3c6
Merge pull request #1428 from atgeirr/avoid-repeated-warnings
...
Remove duplicate warnings for unhandled summary keywords.
2020-01-24 14:09:45 +01:00
Arne Morten Kvarving
1c2a284ee8
remove unused member m_first_restart_step from IOConfig
2020-01-24 13:13:22 +01:00
Arne Morten Kvarving
d885c09ffd
fixed: add additional members also in std::vector<std::time_t> constructor
...
this is done in the deck based constructor, so we have to do the same
2020-01-24 13:13:21 +01:00
Atgeirr Flø Rasmussen
3ee092792c
Remove duplicate warnings for unhandled summary keywords.
2020-01-24 12:27:32 +01:00
Joakim Hove
67fbdd3102
Merge pull request #1426 from joakim-hove/time-map-rm-cons
...
Time map rm cons
2020-01-23 09:15:20 +01:00
Joakim Hove
fd698139f5
Remove special code for serialization
2020-01-22 18:50:59 +01:00
Bård Skaflestad
2539a0d0e9
Merge pull request #1425 from joakim-hove/time-map-immutable
...
Time map immutable
2020-01-22 18:45:34 +01:00
Joakim Hove
fc9958bb0c
Remove TimeMap( start_time ) constructor
2020-01-22 16:56:42 +01:00
Joakim Hove
63e99fb807
Make mutable accessors in TimeMap private
2020-01-22 16:23:37 +01:00
Joakim Hove
2d8151808f
Add TimeMap(std::vector<std::time_t>& ) constructor
2020-01-22 16:23:37 +01:00
Joakim Hove
dd4a68b0a2
Merge pull request #1424 from akva2/add_gravity_flag
...
added: gravity flag to InitConfig
2020-01-22 14:15:59 +01:00
Joakim Hove
1cc2293c05
Merge pull request #1419 from joakim-hove/rst-state
...
POD classes for restart info
2020-01-22 13:33:26 +01:00
Arne Morten Kvarving
448ea5f3ab
added: gravity flag to InitConfig
2020-01-22 12:47:39 +01:00
Joakim Hove
69822e880f
Add POD struct for state with wells and groups from restart file
2020-01-22 12:23:26 +01:00
Joakim Hove
51daf43cef
Merge pull request #1422 from akva2/noecl_flush_prestate
...
More serialization preparation
2020-01-22 06:30:57 +01:00
Arne Morten Kvarving
6a1acc15b8
make FaultCollection constructible from variables
...
also add accessor and equality operator
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
d5d5a01503
make Fault constructible from variables
...
also add default constructor and accessor
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
86b3566229
make FaultFace constructible from variables
...
also add default constructor and equality operator
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
be799586c8
make TransMult constructible from variables
...
also add default constructor and equality operator
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
43fae042b1
make EclipseConfig constructible from variables
...
also add default constructor and equality operator
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
4c49aea83e
allow construction MULTREGTScanner from variables
...
also add accessors, equality operator, copy constructor,
assignment operator and make it default constructible
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
48bca722f5
changed: store reference to FieldPropsManager as a pointer
...
default initialization required for serialization
is not possible with a const ref member
2020-01-21 15:22:10 +01:00
Arne Morten Kvarving
83b3b5bab6
add equality operator to MULTREGTRecord
2020-01-21 14:36:00 +01:00
Joakim Hove
9c6a74043c
Merge pull request #1420 from joakim-hove/remove-eclipse-3dproperties
...
Remove old 3D property implementation
2020-01-20 11:35:08 +01:00
Joakim Hove
ce9d325719
Merge pull request #1418 from joakim-hove/trim-padded-string
...
Add trim method to PaddedOutputString<N>
2020-01-20 08:37:40 +01:00
Joakim Hove
28d77dacd8
Add templated method create trimmed copy of string with c_str()
2020-01-19 23:18:49 +01:00
Joakim Hove
691296f91a
Remove old 3D property implementation
2020-01-19 23:04:46 +01:00
Bård Skaflestad
1132857324
Merge pull request #1407 from akva2/noecl_flush_schedule
...
More serialization effort
2020-01-17 15:35:51 +01:00
Arne Morten Kvarving
6986436073
make TimeStampUTC constructible from variables
...
also add accessor
2020-01-17 10:08:50 +01:00
Arne Morten Kvarving
df5baad233
fixed: return by const ref
2020-01-17 10:08:50 +01:00
Arne Morten Kvarving
13db196c5c
fixed: missing CTFKind parameter in Connection
2020-01-17 10:08:50 +01:00
Arne Morten Kvarving
c4936d55e1
fixed: update UDAValue constructors for new dim member
2020-01-17 10:08:50 +01:00
Arne Morten Kvarving
7ac2febae2
changed: allow disabling sanity check in Dimension constructor
...
while this makes sense to do in general, it causes issues
when reconstructing after deserialization.
we have dimensions with '/' and '*' in the name that was
constructed through newComposite.
2020-01-17 10:08:50 +01:00
Arne Morten Kvarving
828cd2ee9a
fixed: add missing initializer
2020-01-17 10:08:50 +01:00
Bård Skaflestad
33fdacea54
Merge pull request #1415 from berland/wconhist-fix
...
Clean up item names in json for WCONHIST
2020-01-16 16:56:50 +01:00
Bård Skaflestad
7fb66a589e
Merge pull request #1416 from akva2/janitoring
...
quell signed/unsigned comparison warnings
2020-01-16 15:48:25 +01:00
Arne Morten Kvarving
2951bf01d4
quell signed/unsigned comparison warnings
2020-01-16 14:54:48 +01:00
Håvard Berland
81701b72ba
Clean up item names in json for WCONHIST
...
Consistency with other keywords
Change corresponding code that reads this.
2020-01-16 13:45:02 +01:00
Bård Skaflestad
a8d05385e6
Merge pull request #1387 from bska/dont-output-rft-unless-requested
...
Don't Output RFT Files Unless Specifically Requested
2020-01-15 12:45:40 +01:00
Bård Skaflestad
8440ac3bd1
Don't Output RFT Files Unless Specifically Requested
...
This commit ensures that we do not create RFT output files unless
the simulation model specifically requests such output (e.g.,
through keywords WRFT or WRFTPLT). Notably, the OutputStream::RFT
constructor will also create the file so we must take care not to
form an object of this type unless actually needed.
2020-01-15 09:33:21 +01:00
Bård Skaflestad
3d94dc7e63
Merge pull request #1411 from joakim-hove/rst-connectin
...
Simple POD class for connection info loaded from restart file
2020-01-15 00:48:20 +01:00
Joakim Hove
66fd1d39e9
Small POD class for connections loaded from restart file
2020-01-14 23:04:57 +01:00
Joakim Hove
75b64025a3
Merge pull request #1412 from bska/first-rft-output-event
...
Rework RFT Config to Handle More Cases
2020-01-14 17:39:57 +01:00
Bård Skaflestad
8f182db27a
Rework RFT Config to Handle More Cases
...
Generally, this commit captures more of the surrounding context of
calls to the updateRFT() and updatePLT() member functions. We need
this additional context in order to handle the conflicting semantics
of output requests WRFT and WRFTPLT:FOPN. The former generates RFT
output when the well opens if this event does not happen earlier in
the simulation schedule than the output request. Otherwise no RFT
data is emitted. The latter outputs RFT data at request time if
well opens no later than the request; otherwise at well-open time.
To this end, switch the well_open_rft_name data member from an
unordered_set of well names into an unordered_map from well names to
RFT output request times. With this additional information we can
use well_open_rft_time to infer the appropriate response to whether
or not to activate RFT output at well open time. Moreover, we now
guarantee that no RFT output is ever activated before the first RFT
output request.
Switching the type of the well_open_rft_name data member also begets
an API update to the serialization related RFTConfig constructor and
to the return type of RFTConfig::wellOpenRftName().
We furthermore switch to caching the first RFT output event in a new
scalar data member, first_rft_event. This caching, coupled with the
additional calling context mentioned earlier, means we are now able
to report a high-fidelity, constant time answer to the
RFTConfig::firstRFTOutput()
request. This, in turn, is very useful for the RFT output code.
Finally, we also add a couple of new, private member functions to
simplify updating first_rft_event depending on context.
As part of this update, member function
RFTConfig::setWellOpenRFT(report_step)
will now use the minimum of all 'report_step' values to support the
WRFT keyword being specified more than once.
Finally, add a set of unit tests to exercise the various RFT output
request combinations.
While here, also switch to using unordered_map::find() and emplace()
where possible to limit repeated look-up of the same keys.
2020-01-14 15:58:34 +01:00
Joakim Hove
ecb5fce19b
Only active cells ( #1298 )
...
Use FieldProps implementation for 3D properties
2020-01-13 15:46:06 +01:00
Joakim Hove
13b3d1e17b
Merge pull request #1395 from joakim-hove/use-pyaction
...
Use pyaction
2020-01-13 15:16:24 +01:00
Joakim Hove
a6ddce5d92
Add basic Python exec of PYACTION
2020-01-13 15:15:21 +01:00
Arne Morten Kvarving
e2719f02b6
Merge pull request #1409 from akva2/fix_python_superbuild
...
fixed: use PROJECT_XXX instead of CMAKE_XXX
2020-01-13 15:08:54 +01:00
Arne Morten Kvarving
8cf1497ccb
fixed: use PROJECT_XXX instead of CMAKE_XXX
...
make it work fine with the 'super-build' CMakeLists.txt
2020-01-13 13:38:47 +01:00
Joakim Hove
b9c3df5f42
Add has_xxx and __contains__ to Python SummaryState
2020-01-13 11:43:58 +01:00
Joakim Hove
9ae007ddc9
Merge pull request #1405 from joakim-hove/well-warning
...
Add default: clause in switch
2020-01-13 11:42:23 +01:00
Joakim Hove
8bda586eee
Merge pull request #1406 from atgeirr/silence-warnings
...
Silence some warnings.
2020-01-13 11:42:09 +01:00
Atgeirr Flø Rasmussen
b3f8209542
Silence some warnings.
2020-01-13 10:07:33 +01:00
Joakim Hove
83966eb565
Add default: clause in switch
2020-01-13 08:41:21 +01:00
Joakim Hove
1985f094a3
Merge pull request #1394 from joakim-hove/schedule-update-well
...
Schedule update well
2020-01-11 17:03:56 +01:00
Bård Skaflestad
17815f7487
Merge pull request #1400 from joakim-hove/rst-header
...
Rst header
2020-01-11 09:17:33 +01:00
Joakim Hove
7d1d08d4a8
Merge pull request #1399 from joakim-hove/py-code-records
...
Py code records
2020-01-11 06:57:45 +01:00
Joakim Hove
35619721a3
Well::updateStatus can optionally update status of connections
2020-01-11 06:55:22 +01:00
Joakim Hove
67f95e8548
Add Schedule::xxx_well() for well status manipulations from Python
2020-01-11 06:54:25 +01:00
Joakim Hove
5fb03ec44f
Make POD class RestartIO::Header which internalizes restart header
2020-01-11 06:54:01 +01:00
Joakim Hove
16f0869bc0
Expose more indices in the INTEHEAD vector publicly
2020-01-11 06:54:01 +01:00
Joakim Hove
aa9bab75d9
Merge pull request #1391 from totto82/trinemykk-smartwater
...
Rebased brine module
2020-01-11 06:50:29 +01:00
Joakim Hove
0f29249478
Merge pull request #1402 from bska/record-all-wellopen-events
...
Schedule: Record RFT Well Open Events on Status Changes
2020-01-10 19:57:39 +01:00
Bård Skaflestad
33ef89487b
Schedule: Record RFT Well Open Events on Status Changes
...
This commit ensures that we record a "well open" event whenever
Schedule::updateWellStatus
switches a well's status to OPEN. We need this information in order
to correctly output RFT data configured with WRFT or the FOPN option
of keyword WRFTPLT. Previously, we recorded such events only in the
context of the WELOPEN keyword.
2020-01-10 18:21:19 +01:00
Bård Skaflestad
8cb1d62f29
Merge pull request #1398 from joakim-hove/py-refactor
...
Use 'PYEND' instead of '<<<' to terminate PYACTION and PYINPUT
2020-01-09 17:01:51 +01:00
Joakim Hove
9c99c681c9
Add ParseRecord::end_string member
2020-01-09 16:35:22 +01:00
Joakim Hove
5ea70d256d
Extract ParserKeyword and ParserRecord
2020-01-09 15:48:25 +01:00
Joakim Hove
c025754834
Add size() method to RawKeyword
2020-01-09 09:42:16 +01:00
Joakim Hove
f3797e8877
Python code must be properly terminated
2020-01-09 09:26:35 +01:00
Joakim Hove
6199b81e60
Use 'PYEND' instead of '<<<' to terminate PYACTION and PYINPUT
2020-01-09 08:21:59 +01:00
Arne Morten Kvarving
ff156fd53c
make BrineDensityTable constructible from variables
...
also add equality operator
2020-01-08 15:31:35 +01:00
Arne Morten Kvarving
763c931726
add equality operator to WellBrineProperties
2020-01-08 15:31:35 +01:00
Arne Morten Kvarving
eb6159fceb
make PvtwsaltTable constructible from variables
...
also add accessor and equality operator
2020-01-08 15:31:35 +01:00
Arne Morten Kvarving
bc67976cb3
update TableManager constructor, assignment and equality operator
...
due to brine additions
2020-01-08 15:31:35 +01:00
Arne Morten Kvarving
affbfe3bae
update well constructor for BrineProperties addition
2020-01-08 15:31:35 +01:00
Tor Harald Sandve
c5e68b82e8
Fix rebase smartwater
2020-01-08 15:31:35 +01:00
Trine S. Mykkeltvedt
b85871c4e8
renamed saltwater-->brine and edited BDENSITY
2020-01-08 15:31:35 +01:00
Trine S. Mykkeltvedt
aa19f38a54
Added keywords PVTWSALT and modified SALTVD, WSALT and BDENSITY for a simple salt/brine implementation
2020-01-08 15:31:35 +01:00
Bård Skaflestad
5fd756699e
Merge pull request #1393 from akva2/noecl_flush
...
make SummaryConfig constructible from variables
2020-01-08 13:11:23 +01:00
Arne Morten Kvarving
8fbff44d22
make SummaryConfig constructible from variables
...
also add accessors and equality operator
2020-01-08 09:58:20 +01:00
Arne Morten Kvarving
d9c7260784
make SummaryNode default constructible
2020-01-08 09:58:10 +01:00
Joakim Hove
d127173ce2
Merge pull request #1392 from berland/opmioport
...
Port python examples from sunbeam to opm.io
2020-01-07 19:06:17 +01:00
Håvard Berland
62c97b8ca2
Port python examples from sunbeam to opm.io
2020-01-07 17:14:44 +01:00
Joakim Hove
b65e5547aa
Merge pull request #1386 from joakim-hove/uda-raw-data
...
Uda raw data
2020-01-07 15:04:29 +01:00
Joakim Hove
bf697180d7
Merge pull request #1388 from tskille/pybind_eclipse_grid
...
additional python bindings for eclipse_grid
2020-01-07 07:10:34 +01:00
Joakim Hove
d2260e60b9
Merge pull request #1389 from joakim-hove/alternating-records
...
Fixup of alternating records special case
2020-01-06 18:12:29 +01:00
Joakim Hove
dfa318ec4d
Merge pull request #1390 from joakim-hove/split-codegen-fixup
...
Fixup: leftover from code generation refactor
2020-01-06 18:12:03 +01:00
Torbjørn Skille
4136868592
additional python bindings for eclipse_grid
2020-01-06 17:43:32 +01:00
Joakim Hove
b72fd84e24
Fixup: leftover from code generation refactor
2020-01-06 16:20:16 +01:00
Joakim Hove
6f330a7482
Fixup of alternating records special case
2020-01-06 15:50:36 +01:00
Joakim Hove
b7cebb1907
Refactored the handling of BHP / THP
2020-01-06 15:28:04 +01:00
Joakim Hove
0d08986a06
Remove unit version when handling WELTARG
...
The WELTARG keyword will write into UDA instances, and they assume that the
internal data is in raw deck units.
2020-01-06 12:05:51 +01:00
Joakim Hove
ecd3ffdb49
Add method UDAValue::zero()
2020-01-06 12:05:51 +01:00
Joakim Hove
8f6c2c70f6
UDAalue::get<double>() will return raw value - not SI.
...
Add new function UDAValue::getSI() which will return SI value of numerical
input, and throw an exception if internal state is not numeric.
2020-01-06 12:05:51 +01:00
Joakim Hove
40ea92ac81
Reenable BHP testing
2020-01-06 12:05:51 +01:00
Joakim Hove
c2b4d30be5
Merge pull request #1377 from joakim-hove/pyaction
...
Add PyAction skeleton code
2020-01-06 12:04:26 +01:00
Joakim Hove
d2392c4ea4
Add PyAction skeleton code
2020-01-06 10:28:19 +01:00
Joakim Hove
4e899503e2
Merge pull request #1380 from joakim-hove/split-codegen
...
Split codegen
2020-01-06 10:27:14 +01:00
Joakim Hove
3c29d4c410
Merge pull request #1385 from akva2/noecl_flush
...
More serialization preparation
2020-01-03 20:15:31 +01:00
Arne Morten Kvarving
f8bf446d45
make Schedule constructible from variables
...
also add accessors and equality operator
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
2ca198d687
add equality operator to DynamicVector
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
9d74b51024
make Action::Actions constructible from variables
...
also add accessor and equality operator
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
e0502a1970
make Action::ActionX constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
24bfa2e75b
add equality operator to Action::Condition
...
also make it default constructible
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
65b958cbcd
add equality operator to Action::Quantity
2020-01-03 13:20:36 +01:00
Arne Morten Kvarving
e7e2458951
make Action::AST constructible from variables
...
also add accessors and equality operator
2020-01-03 13:20:36 +01:00
Bård Skaflestad
5fb4d355ec
Merge pull request #1383 from joakim-hove/fp-section
...
Fp section
2020-01-03 11:33:54 +01:00
Arne Morten Kvarving
73001501f0
make ASTNode constructible from variables
...
also add accessors and equality operator
2020-01-03 08:34:28 +01:00
Arne Morten Kvarving
9c187ad0c1
changed: make ASTNode part of public API
...
required for serialization
2020-01-03 08:34:28 +01:00
Arne Morten Kvarving
fda4862bb7
make Tuning constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-03 08:32:54 +01:00
Arne Morten Kvarving
b0f262374e
make Deck constructible from variables
...
also make it default constructible, add accessors
assignment operator and equality operator
2020-01-03 08:30:42 +01:00
Arne Morten Kvarving
2d750b1b0b
make DeckKeyword constructible from variables
...
also make it default constructible and add accessors
2020-01-03 08:28:07 +01:00
Arne Morten Kvarving
3cf79037e2
add equality operator to Location
...
also put it in Opm namespace
2020-01-03 08:24:33 +01:00
Joakim Hove
5e10c94f9f
Merge pull request #1375 from joakim-hove/actionx-bug
...
Actionx bug
2020-01-02 21:27:20 +01:00
Joakim Hove
b7fcded7ef
Merge pull request #1378 from joakim-hove/wrap-summarystate
...
python wrapper for summarystate
2020-01-02 20:54:48 +01:00
Joakim Hove
c42be3d345
Fixed bug in SORTA and SORTD functions
2020-01-02 20:18:19 +01:00
Joakim Hove
b1dc69d8a6
Refactored internals of UDQSet
2020-01-02 20:16:37 +01:00
Joakim Hove
0ea6f93074
Merge pull request #1384 from akva2/noecl_flush
...
More serialization preparation
2020-01-02 20:01:11 +01:00
Arne Morten Kvarving
bd3923ad1d
add accessor to DeckRecord
2020-01-02 15:33:41 +01:00
Arne Morten Kvarving
3105799f0f
make DeckItem constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:31:27 +01:00
Arne Morten Kvarving
55c8d69890
make RFTConfig constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:28:45 +01:00
Joakim Hove
087aec6e01
Refactored generated keyword test to reduce compilation time
2020-01-02 15:27:54 +01:00
Joakim Hove
3c6a60c4a9
Code genereator will create many source files
2020-01-02 15:27:54 +01:00
Joakim Hove
aaee287dac
Code generation file update routines are void
2020-01-02 15:27:54 +01:00
Joakim Hove
c3a038c2b6
Refactor code generation to facilitate multiple source files
2020-01-02 15:27:54 +01:00
Joakim Hove
141000b750
FieldProps parsing is section aware - handle MULT in EDIT
2020-01-02 15:27:22 +01:00
Joakim Hove
8cba2777cd
Add Section enum
2020-01-02 15:27:22 +01:00
Joakim Hove
90d30e3bc9
Rename class Section -> DeckSection
2020-01-02 15:27:22 +01:00
Arne Morten Kvarving
97319d4831
make GConSump constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:25:42 +01:00
Arne Morten Kvarving
e7d7e2e232
make GConSale constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:22:59 +01:00
Arne Morten Kvarving
01dd29278a
make GuideRateConfig constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:20:16 +01:00
Arne Morten Kvarving
e803f97374
make GuideRateModel constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 15:17:08 +01:00
Joakim Hove
9363905e03
Merge pull request #1382 from akva2/noecl_flush
...
More serialization preparation
2020-01-02 15:08:22 +01:00
Arne Morten Kvarving
2a8f944b6f
make UDQActive constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:17:26 +01:00
Arne Morten Kvarving
5c203e29b5
make UDQConfig constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:12:59 +01:00
Arne Morten Kvarving
763bc69211
add equality operator to UDQIndex
2020-01-02 12:11:28 +01:00
Arne Morten Kvarving
ec907c22c1
make UDQAssign constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:10:00 +01:00
Arne Morten Kvarving
426ee94a75
add equality operator to UDQAssign::AssignRecord
2020-01-02 12:10:00 +01:00
Arne Morten Kvarving
5d6046fdae
make UDQDefine constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:08:27 +01:00
Arne Morten Kvarving
45aad7e7fd
remove unused member variable from UDQDefine
2020-01-02 12:08:27 +01:00
Arne Morten Kvarving
6720e6a6cb
make UDQASTNode constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:06:34 +01:00
Arne Morten Kvarving
9c991241c0
changed: make UDQASTNode part of public API
...
needed for serialization
2020-01-02 12:06:34 +01:00
Arne Morten Kvarving
dab5f226e1
make UDQFunctionTable constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:04:05 +01:00
Arne Morten Kvarving
c0183ae78a
make UDQFunction constructible from variables
...
also make it default constructible and add equality operator
2020-01-02 12:02:31 +01:00
Arne Morten Kvarving
4c626c2265
make WListManager constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 12:00:15 +01:00
Arne Morten Kvarving
12f87578d6
make WList constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 11:59:09 +01:00
Joakim Hove
af477900b9
Merge pull request #1381 from akva2/noecl_flush
...
More serialization preparation
2020-01-02 11:50:03 +01:00
Arne Morten Kvarving
c8c5102e9d
make Group constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 09:17:33 +01:00
Arne Morten Kvarving
0fc57a2bd8
make IOrderSet constructible from variables
...
also make it default constructible, add accessors
and equality operator
2020-01-02 09:17:33 +01:00
Arne Morten Kvarving
a58fd61fdd
allow constructing Well from variables
...
also add accessors
2020-01-02 09:17:33 +01:00
Arne Morten Kvarving
d1d2414f4e
make WellSegments constructible from variables
...
also add accessors and equality operator
2020-01-02 08:31:22 +01:00
Arne Morten Kvarving
6ea8dd8104
make UnitSystem constructible from variables
...
also make it default constructible and add accessors
2020-01-02 08:27:31 +01:00
Arne Morten Kvarving
7c3f89b0a1
add non-throwing accessor for si scaling factor in Dimension
2020-01-02 08:25:51 +01:00
Arne Morten Kvarving
8b33a0e36a
allow constructing Segment from variables
2020-01-02 08:22:42 +01:00
Arne Morten Kvarving
7f570d1404
make Valve constructible from variables
...
also make it default constructible and equality operator
2020-01-02 08:19:31 +01:00
Arne Morten Kvarving
a4f97e84b6
allow constructing SpiralICD from variables
...
also make it default constructible and add equality operator
2020-01-02 08:17:36 +01:00
Joakim Hove
20c5a2b50e
python wrapper for summarystate
2019-12-27 10:08:46 +01:00
Joakim Hove
a2def0ea5b
Merge pull request #1372 from stefoss23/python_field_props
...
Python: added class FieldProperties.
2019-12-23 23:06:05 +01:00
Joakim Hove
4528109245
Merge pull request #1374 from joakim-hove/isolnum
...
Add integer property ISOLNUM
2019-12-23 13:29:02 +01:00
Joakim Hove
b95f7bd6bf
Add integer property ISOLNUM
2019-12-23 12:23:41 +01:00
Steinar Foss
dc8acb494c
python FieldProperties can return numpy int arrays.
2019-12-23 11:58:05 +01:00
Steinar Foss
d3a4b536d2
python FieldProperties can return numpy double arrays.
2019-12-23 11:35:52 +01:00
Joakim Hove
99791032b3
Merge pull request #1373 from joakim-hove/fp-cache-valid
...
Add internal flag to check if all FieldProps values have been set
2019-12-23 10:54:58 +01:00
Joakim Hove
ce49db8438
Add internal flag to check if all FieldProps values have been set
2019-12-23 10:11:39 +01:00
Joakim Hove
5060813c4e
Merge pull request #1371 from joakim-hove/opmi-time
...
Add time summaries to opmi
2019-12-23 08:01:33 +01:00
Steinar Foss
d6c1d64ba0
Python: added class FieldProperties.
...
test_props.py: added check for 3d_properties/field_props extraction.
cxx/eclipse_state.cpp: adding function field_props.
added python class FieldProperties.
python FieldProps: added __contains__.
python FieldProps: added __getitem__.
python field_props: images all 3dprops tests.
2019-12-22 15:25:16 +01:00
Joakim Hove
4048b8774e
Add time summaries to opmi
2019-12-22 12:42:56 +01:00
Bård Skaflestad
2438e46d8a
Merge pull request #1370 from joakim-hove/init-speedup
...
Init speedup
2019-12-20 23:08:13 +01:00
Joakim Hove
c8b0da82c0
Merge pull request #1366 from joakim-hove/fp-spoly
...
Fp spoly
2019-12-20 17:24:08 +01:00
Bård Skaflestad
4b8152d8e1
Merge pull request #1367 from akva2/noecl_flush
...
More serialization preparation
2019-12-20 17:06:55 +01:00
Kai Bao
8284634cc5
Merge pull request #1239 from GitPaean/removing_whitespace_test_ERst.cpp
...
[PR to update_data] removing whitespaces from test_ERst.cpp
2019-12-20 16:43:53 +01:00
Joakim Hove
fbe3d34acb
Merge pull request #1369 from stefoss23/udt
...
Parser will skip keyword UDT.
2019-12-20 16:30:24 +01:00
Bård Skaflestad
188d6ca179
Merge pull request #1361 from joakim-hove/multregp
...
Multregp
2019-12-20 16:04:00 +01:00
Arne Morten Kvarving
40e09f9169
Merge pull request #1368 from akva2/fix_no_data_to_update
...
fixed: do not open a issue/PR if no tests failed
2019-12-20 16:01:14 +01:00
Arne Morten Kvarving
a060cb2d17
make WellProductionProperties constructible from variables
...
also make it default constructible and add an accessor
2019-12-20 15:47:13 +01:00
Arne Morten Kvarving
84eb1542ef
fixed: do not open a issue/PR if no tests failed
2019-12-20 15:20:49 +01:00
Joakim Hove
f03aeabc38
Refactored cell volume calculations for speed
2019-12-20 14:24:31 +01:00
Steinar Foss
e2e8d1eb22
Parser will skip keyword UDT.
...
Parser will skip UDT.
2019-12-20 12:40:20 +01:00
Joakim Hove
3fd9b20cd7
White space changes
2019-12-20 12:23:14 +01:00
Arne Morten Kvarving
69f4b72b3a
make WellConnections constructible from variables
...
also make it default constructible and add accessors
2019-12-20 11:54:02 +01:00
Arne Morten Kvarving
cc4c5c1fbd
add equality operator to WellGuideRate
2019-12-20 11:51:56 +01:00
Arne Morten Kvarving
7eeadd8cb5
make WellEconProductionLimit constructible from variables
2019-12-20 11:48:57 +01:00
Arne Morten Kvarving
80702dba06
make WellInjectionProperties constructible from variables
...
also make it default constructible
2019-12-20 11:41:54 +01:00
Arne Morten Kvarving
e4361cd1e0
make Connection constructible from variables
...
also make default constructible
2019-12-20 11:40:58 +01:00
Arne Morten Kvarving
e6f2bd0eac
allow constructing WelltracerProperties from variables
...
also add accessor and convenience type alias
2019-12-20 11:39:24 +01:00
Arne Morten Kvarving
0e8ae81440
add equality operator to WellFoamProperties
2019-12-20 11:39:24 +01:00
Arne Morten Kvarving
72cd4cf1ad
allow constructing WellPolymerProperties from variables
2019-12-20 11:39:24 +01:00
Bård Skaflestad
30773db877
Merge pull request #1365 from akva2/noecl_flush
...
More serialization preparation
2019-12-20 10:41:44 +01:00
Joakim Hove
cf3a4ffe25
Add keyword SSOL to FieldProps
2019-12-20 09:09:35 +01:00
Joakim Hove
e50f05ca9a
Add keyword SPOLYMW to FieldProps
2019-12-20 09:09:35 +01:00
Joakim Hove
33bcbb26e6
Add RS and RV to FieldProps
2019-12-20 09:09:35 +01:00
Joakim Hove
b3dfe95b43
Add SPOLY keyword to FieldProps
2019-12-20 09:09:35 +01:00
Arne Morten Kvarving
4c331ae655
allow constructing MessageLimits from data
...
also add default constructor, equality operator and accessor
2019-12-20 08:20:15 +01:00
Arne Morten Kvarving
a91ce46ca3
allow constructing WellTestConfig from variables
...
also add accessor and equality operator
2019-12-20 08:15:22 +01:00
Arne Morten Kvarving
f0786fb88a
add equality operator to WTestWell
2019-12-20 08:15:22 +01:00
Arne Morten Kvarving
9050bdb08e
allow constructing VFPProdTable from data
...
also add default constructor, assignment operator
and equality operator
2019-12-20 08:14:43 +01:00
Arne Morten Kvarving
3e46908041
allow constructing VFPInjTable from data
...
also add default constructor, assignment operator
and equality operator
2019-12-20 08:13:01 +01:00
Arne Morten Kvarving
ae13dd1867
allow constructing Events from data
...
also add default constructor, equality operator and accessor
2019-12-20 08:10:54 +01:00
Arne Morten Kvarving
eadca769a0
allow constructing DynamicVector for data
...
also add default constructor and accessor
2019-12-20 08:10:03 +01:00
Arne Morten Kvarving
74e57deac2
allow constructing OilVaporizationProperties from data
...
also add default constructor and accessors
2019-12-20 08:08:32 +01:00
Joakim Hove
067fcd636c
Merge pull request #1362 from joakim-hove/python-has-alue
...
Python has alue
2019-12-20 07:31:13 +01:00
Joakim Hove
4f11b7846c
Add support for MULTREGP in FieldProps::porv implementation
2019-12-20 07:28:48 +01:00
Joakim Hove
fde5c0b096
Merge pull request #1359 from joakim-hove/fp-comments
...
Fp comments
2019-12-20 07:27:17 +01:00
Joakim Hove
5cf0d0393b
Merge pull request #1363 from stefoss23/add_some_uknown_size_keywords
...
keyword ROCK: size->UNKNOWN. Added keyword ADSORP.
2019-12-19 20:14:36 +01:00
Steinar Foss
a5c245bc6c
keyword ROCK: size->UNKNOWN. Added keyword ADSORP.
...
added keyword ADSOPR w/ test.
keyword ADSORP: size set to NTSFUN, TABDIMS.
keyword ADSORP size shift:1.
ParserTests: added test for kw ROCK.
2019-12-19 15:27:55 +01:00
Joakim Hove
465b2b6a1d
Add Python methods DeckItem.has_value() and DeckItem.defaulted()
2019-12-19 15:22:16 +01:00
Joakim Hove
378d5c120b
Remove trailing whitespace
2019-12-19 15:20:15 +01:00
Joakim Hove
46999f418f
Refactored FieldProps
...
- The lowest level get method is called init_get() - this will unconditionally
create new keyword. The init_get() method is private.
- Introduced FieldDataManager which keeps track of data pointer and status.
- Refactored get( ) implementation
2019-12-19 15:06:20 +01:00
Joakim Hove
ce5b9b1e1d
Add documentation to the FieldPropsManager
2019-12-19 10:55:57 +01:00
Joakim Hove
7cfb51dfe6
Merge pull request #1195 from jalvestad/actionx-udq-rst
...
Code to write UDQ and ACTIONX data to the Eclipse compatible restart file
2019-12-19 10:27:51 +01:00
Arne Morten Kvarving
306af1b445
Merge pull request #1360 from akva2/noecl_flush
...
Yet another round of serialization preparation
2019-12-19 10:25:25 +01:00
Arne Morten Kvarving
0841a28776
allow constructing TableManager from variables
...
also add accessor, assignment operator and equality operator
2019-12-19 09:29:26 +01:00
Arne Morten Kvarving
8e1a332920
add equality operator to ROCKRecord
2019-12-19 09:29:26 +01:00
Arne Morten Kvarving
7b36d325b5
allow constructing Aqudims from variables
...
also add equality operator
2019-12-19 09:28:23 +01:00
Arne Morten Kvarving
8c61d6fff5
add equality operator to Eqldims
2019-12-19 09:28:23 +01:00
Arne Morten Kvarving
90bb9abf31
add equality operator to Regdims
2019-12-19 09:28:23 +01:00
Arne Morten Kvarving
415fda815f
allow constructing SkprwatTable from variables
...
also add equality operator
2019-12-19 09:26:57 +01:00
Arne Morten Kvarving
1ecbc75bfb
allow constructing SkprpolyTable from variables
...
also add equality operator
2019-12-19 09:26:57 +01:00
Arne Morten Kvarving
d7acc1ee0f
allow constructing PlymwinjTables from variables
...
also add equality operator
2019-12-19 09:26:57 +01:00
Arne Morten Kvarving
6ccdaaa635
allow constructing PolyInjTables from variables
...
also add equality operator
2019-12-19 09:24:34 +01:00
Bård Skaflestad
ceb4b1e287
Merge pull request #1354 from stefoss23/add_some_keywords
...
Adding some keywords
2019-12-18 22:19:14 +01:00
Bård Skaflestad
0b4b3cf22b
Merge pull request #1355 from joakim-hove/switch-warning
...
Add default: clause in switch
2019-12-18 20:37:34 +01:00
Arne Morten Kvarving
87ca5e6f58
Merge pull request #1356 from akva2/noecl_flush
...
Another round of serialization preparation
2019-12-18 16:56:09 +01:00
Arne Morten Kvarving
2ae7921fcb
add equality operator to WATDENTRecord
2019-12-18 14:27:02 +01:00
Arne Morten Kvarving
49b8bff030
add equality operator to VISCREFRecord
2019-12-18 14:27:02 +01:00
Arne Morten Kvarving
b0ab7fdf8d
add equality operator to DENSITYRecord
2019-12-18 14:27:02 +01:00
Arne Morten Kvarving
d992bfc1e0
add equality operator to PVCDORecord
2019-12-18 14:25:51 +01:00
Arne Morten Kvarving
98a332fc5f
allow constructing FlatTable from vector
2019-12-18 14:25:08 +01:00
Joakim Hove
6a03d72a4e
Add default: clause in switch
2019-12-18 14:24:21 +01:00
Arne Morten Kvarving
59235b5a11
add equality operator to PVTWRecord
2019-12-18 14:24:17 +01:00
Arne Morten Kvarving
39ab36819e
allow constructing JFunc from variables
...
also add equality operator
2019-12-18 14:23:11 +01:00
Arne Morten Kvarving
73be14b7b8
Merge pull request #1353 from akva2/noecl_flush
...
Next round of serialization preparation
2019-12-18 14:16:44 +01:00
Atgeirr Flø Rasmussen
7c77d9e2a7
Merge pull request #1351 from joakim-hove/weltarg-unit-conversio
...
Temporarily bypass the unit conversion in handleWELTARG
2019-12-18 13:56:02 +01:00
Joakim Hove
a89063e6a4
Merge pull request #1346 from stefoss23/dynamicr
...
DYNAMICR
2019-12-18 13:50:21 +01:00
Jostein Alvestad
b519d825f2
corrections to test_msim_ACTIONX and SCON[40]
2019-12-18 13:27:34 +01:00
Steinar Foss
429a5be890
added keywords ACTIONS, AMALGAM, APILIM, APIVD, AQUALIST, AQUCHGAS, AQUCHWAT, BDENSITY, BGGI, BOGI.
...
added keywords AMALGAM, APILIM, APIVD.
added keyword AQUALIST.
added keywords AQUCHGAS, AQUCHWAT, BDENSITY.
added keywords BGGI, BOGI.
altered list of 'special' keywords.
2019-12-18 12:46:09 +01:00
Steinar Foss
01b62e4617
added keyword DYNAMICR.
...
added keyword DYNAMICR.
2019-12-18 09:34:40 +01:00
Arne Morten Kvarving
07a782d9c0
allow constructing Pvt(g|o|x)Tables from variables
...
also add equality operator
2019-12-18 09:18:29 +01:00
Arne Morten Kvarving
9ff8cb9f15
allow constructing Runspec from variables
...
also add equality operator
2019-12-18 09:18:29 +01:00
Arne Morten Kvarving
33e14dd3cf
allow constructing Actdims from variables
...
also add equality operator
2019-12-18 09:17:12 +01:00
Arne Morten Kvarving
dc1168edb4
allow constructing EclHysterConfig from variables
...
also add equality operator
2019-12-18 09:17:12 +01:00
Arne Morten Kvarving
d5384aa659
allow constructing UDQParams from variables
...
also add equality operator
2019-12-18 09:17:12 +01:00
Arne Morten Kvarving
14c67975cb
allow constructing WellSegmentDims from variables
...
also add equality operator
2019-12-18 09:14:45 +01:00
Arne Morten Kvarving
7c4b63c4bd
allow constructing Welldims from variables
...
also add equality operator
2019-12-18 09:14:45 +01:00
Arne Morten Kvarving
3f1aa7f4df
allow constructing EndpointScaling from variables
...
also add accessors and equality operator
2019-12-18 09:14:45 +01:00
Markus Blatt
43116d3c45
Merge pull request #1352 from akva2/noecl_flush
...
Next round of serialization preparation
2019-12-18 08:11:23 +01:00
Joakim Hove
3a87395419
Merge pull request #1348 from joakim-hove/udq-parse-diff
...
UDQ parse A - B - C
2019-12-17 18:55:06 +01:00
Joakim Hove
46f6aaec02
Merge pull request #1338 from stefoss23/double_records
...
Can parse keywords of type double-record.
2019-12-17 17:09:11 +01:00
Joakim Hove
89ab99e6b9
UDQ: fix bug with parsing of expressions like A - B - C - D
...
- In the case of several tokens separated with +/- the final tree is assembled
from left, was previously from the right. This fixes evaluation bug with
expressions like A - B - C which were eventually evaluated as A - (B - C).
- Improved handling of different types; both transiton from scalar to sets of
wells and groups, and also groups in general. In particular you can now
assign to a group variable:
DEFINE GUXXX WOPR * 0.25
- Actually hook up the evaluation of group variables from the Summary code.
2019-12-17 16:59:06 +01:00
Arne Morten Kvarving
582e08692b
allow constructing Tabdims from variables
...
also add equality operator
2019-12-17 16:36:42 +01:00
Arne Morten Kvarving
6069867b32
allow constructing Phases from variables
...
also add accessors and equality operator
2019-12-17 16:36:42 +01:00
Arne Morten Kvarving
95680c70c3
allow constructing IOConfig from variables
...
also add accessors and equality operator
2019-12-17 16:36:06 +01:00
Jostein Alvestad
1e0a43c4f8
corrections to unit tests
2019-12-17 16:34:45 +01:00
Arne Morten Kvarving
9825e25740
allow constructing RestartConfig from tables
...
also add accessors and equality operator
2019-12-17 16:34:24 +01:00
Arne Morten Kvarving
6ee97a3f9a
allow constructing DynamicState from tables
...
also add accessor and equality operator
2019-12-17 16:34:24 +01:00
Arne Morten Kvarving
6378d55fa9
allow constructing TimeMap from tables
...
also add accessors and equality operators
2019-12-17 16:33:46 +01:00
Arne Morten Kvarving
d78319222f
Merge pull request #1349 from akva2/noecl_flush
...
Another round of serialization preparation
2019-12-17 15:45:39 +01:00
Joakim Hove
8573c947fa
Temporarily bypass the unit conversion in handleWELTARG
2019-12-17 15:28:08 +01:00
Atgeirr Flø Rasmussen
6c1c6e2c13
Merge pull request #1350 from akva2/janitoring
...
add a default to quell unhandled value in switch warning
2019-12-17 13:40:13 +01:00
Arne Morten Kvarving
b7be32fadc
allow constructing SimulationConfig from tables
...
also equality operator
2019-12-17 12:46:27 +01:00
Arne Morten Kvarving
b4066d40f5
allow constructing InitConfig from tables
...
also add accessors and equality operator
2019-12-17 12:46:27 +01:00
Arne Morten Kvarving
d13b9a0a15
allow constructing FoamConfig from tables
...
also add accessors and equality operator
2019-12-17 12:46:27 +01:00
Jostein Alvestad
3fa8c25b47
remove debug print
2019-12-17 12:30:50 +01:00
Jostein Alvestad
cf82a90815
Add changes for WHISTCTL data in ECL restart
2019-12-17 12:30:48 +01:00
Jostein Alvestad
ae47d39a1a
further corrections
2019-12-17 12:30:47 +01:00
Jostein Alvestad
0c9a2cbbf6
initial changes to test output of UDQ and ACTIONX data to ecl-restart
...
change to avoid zero-size windows in Actionx
changes to improve Restart output content
change to correct IUDQ for DEFINE
corrections to IACN and SACN
initial changes to add item to ZWEL
further changes to add Action to well
further changes to allow for action name in ZWEL
more changes
further changes to output action name to ZWEL
changes to test/debug Restart write
turn on writing of ZWEL again
First running version of udq-actionx-rst
use Action::Result direkte
first working! version
some corrections
changes to allow for output of SACN [4.6.8]
added debug print
changes to improve IACN and IACT
further corrections to Actionx IACN pluss error messages
changes to adapt to well2 converted to well class
further changes to enable restart with group control
changes to adapt to newly merged code in master
changes to include Intehead [51] - group control
test
changes to iGrp[nwgmax +7]
initial changes for GUIDERATE
changes to add guiderate parameters to the restart file
add comment
correction to guiderate - test if exist
correction to DoubHead - test if GR exist
correction to ISEG[8]
correction for eclipse version Restart-file
Cosmetic change
corrections to igrp
correction to segment type in iseg
2019-12-17 12:30:40 +01:00
Arne Morten Kvarving
a63bde6bba
add a default to quell unhandled value in switch warning
2019-12-17 11:57:08 +01:00
Joakim Hove
132665e469
Merge pull request #1270 from bska/restart-wsegvalv
...
Add Restart File Support for WSEGVALV Devices
2019-12-17 11:29:37 +01:00
Arne Morten Kvarving
b56cef3103
allow constructing FoamData from doubles
...
also add accessors and equality operator
2019-12-17 11:04:12 +01:00
Arne Morten Kvarving
0741f4c099
allow constructing Equil from tables
...
also add accessors and equality operator
2019-12-17 10:31:23 +01:00
Arne Morten Kvarving
d532f861ac
add equality operator and a default constructor to EquilRecord
2019-12-17 10:31:23 +01:00
Arne Morten Kvarving
850c91f047
add accessors to TableContainer
...
also add equality operator and default constructor
2019-12-17 10:26:42 +01:00
Arne Morten Kvarving
baef4f00fa
allow constructing SimpleTable from tables
...
also add accessors and equality operator
2019-12-17 10:25:12 +01:00
Arne Morten Kvarving
3b49c8a63c
allow constructing TableColumn from tables
...
also add accessors and equality operator
2019-12-17 10:25:12 +01:00
Bård Skaflestad
ebfa768fd2
Segment: Make Type Predicates Free Functions
...
That way, we won't have to pollute the Segment API when adding new
segment types. While here, also reduce header file coupling by
forward-declaring SpiralICD and Valve in Segment.hpp.
2019-12-17 09:14:17 +01:00
Bård Skaflestad
21de27a1cb
Output Valve Characteristics to Restart File
...
This commit identifies well segments that correspond to valves
(input keyword WSEGVALV) and captures those in the ISEG vector.
Furthermore, we output characteristic properties of such valve
segments (e.g, the valve length, the base strength, and
cross-sectional area) in the RSEG vector.
2019-12-17 09:14:17 +01:00
Bård Skaflestad
40e0f83b7b
Segment: Add Means of Identifing Valve Devices
...
This commit adds a simple predicate, Segment::isValve(), that lets
client code query whether or not a particular segment represents a
valve--created through the WSEGVALV keyword.
If so, the client can also request the valve itself to inspect the
pertinent valve properties.
2019-12-17 09:14:17 +01:00
Atgeirr Flø Rasmussen
64fd78694e
Merge pull request #1347 from akva2/janitoring
...
Some janitoring
2019-12-17 08:44:04 +01:00
Arne Morten Kvarving
77cadac586
anonymize unused parameters
2019-12-16 16:14:28 +01:00
Arne Morten Kvarving
c57466aa70
remove unused function
2019-12-16 16:14:21 +01:00
Arne Morten Kvarving
6237cdeba6
Merge pull request #1344 from akva2/noecl_flush
...
Preparation for serialization support
2019-12-16 16:01:15 +01:00
Bård Skaflestad
61c698b9c2
Merge pull request #1345 from stefoss23/fix_writeinit
...
WriteInit.cpp fix
2019-12-16 15:04:06 +01:00
Steinar Foss
c0410143c2
writeinit_fix.
2019-12-16 15:01:09 +01:00
Arne Morten Kvarving
c94dbd4fcd
allow constructing TableSchema from tables
...
also add accessor and equality operator
2019-12-16 14:44:36 +01:00
Arne Morten Kvarving
5237dad89a
allow constructing OrderedMap from tables
...
also make typedefs public, add accessors and equality operator
2019-12-16 14:44:36 +01:00
Arne Morten Kvarving
b357e211a5
add accessors to ColumnSchema
...
also add equality operator and a default constructor
2019-12-16 14:38:56 +01:00
Arne Morten Kvarving
b66bc61b51
added: allow constructing Rock2dtrTables from vectors
...
also add accessors
2019-12-16 14:34:40 +01:00
Arne Morten Kvarving
9877e237b1
added: allow constructing Rock2dTables from vectors
...
also add accessors
2019-12-16 14:31:53 +01:00
Arne Morten Kvarving
2ec73f479e
added: allow construction (EDIT)NNC from a vector
2019-12-16 14:29:01 +01:00
Arne Morten Kvarving
cf29bd0933
allow construction ThresholdPressure from tables
...
add some convenience type aliases and const accessors to data
this is used to reconstruct the class in parallel simulations
2019-12-16 14:27:56 +01:00
Steinar Foss
77cc47d6f8
added keywords GCUTBACT, GECONT, MPFNNC.
2019-12-16 13:53:24 +01:00
Steinar Foss
0be84e6529
DeckKeyword: double_record style keywords has empty records as block seperators.
2019-12-16 13:11:20 +01:00
Joakim Hove
acd57b2d0a
Merge pull request #1236 from joakim-hove/writeinit-fp
...
Writeinit fp
2019-12-16 13:08:54 +01:00
Joakim Hove
1f9378ca7a
Merge pull request #1342 from joakim-hove/fieldprops-manager-active-size
...
Add active_size() method to FieldPropsManager
2019-12-16 12:12:10 +01:00
Joakim Hove
d2da9fd534
Fixed: wrong satfunc endpoints
2019-12-16 12:11:06 +01:00
Joakim Hove
6c46e50142
Add special case *SWL* subtraction to *SOGCR* keywords
2019-12-16 12:11:06 +01:00
Joakim Hove
6b71e30a38
Add test for SOGCR keyword
2019-12-16 12:11:06 +01:00
Joakim Hove
26644b1e9f
Temporary: allow keyword reordering errors INIT file regression test
2019-12-16 12:11:06 +01:00
Joakim Hove
819f30eabc
Rewrite writeInit to use FieldPropsManager
2019-12-16 12:11:06 +01:00
Joakim Hove
db47314fb4
Merge pull request #1317 from joakim-hove/enable-3d-props
...
Enable 3D props testing in opm-simulators and opm-grid
2019-12-16 12:10:48 +01:00
Joakim Hove
617bb07b0b
Add active_size() method to FieldPropsManager
2019-12-16 09:42:40 +01:00
Atgeirr Flø Rasmussen
bff545696a
Merge pull request #1325 from joakim-hove/grid-mem
...
Grid mem
2019-12-16 09:38:21 +01:00
Joakim Hove
1e221e478c
Merge pull request #1341 from joakim-hove/fp-thermal
...
Add support for keywords THxxxx in FieldProps
2019-12-16 09:05:58 +01:00
Joakim Hove
2abbc474a4
Add support for keywords THxxxx in FieldProps
2019-12-16 08:23:44 +01:00
Joakim Hove
283ead605c
Merge pull request #1339 from bska/track-ctf-origin
...
Add Means of Tracking Origin of Connection's CTF
2019-12-16 07:30:31 +01:00
Bård Skaflestad
50181c279d
Add Means of Tracking Origin of Connection's CTF
...
This commit adds a new type (Connection::CTFKind), and new data
member of this type (Connection::m_ctfkin, initialised in the
constructor) that tracks the source of the connection's
transmissibility factor (Connection::m_CF). The primary user of
this information is the restart file writing code which needs to
know if the connection transmissbility factor is assigned from the
input file (e.g., directly from the COMPDAT keyword) or if the value
is calculated from other information.
Add a convenience predicate function,
Connection::ctfAssignedFromInput
that returns true if the connection transmissibility factor source
indeed is a direct assignment in the COMPDAT keyword.
Update Connection constructor callers accordingly.
2019-12-15 22:43:35 +01:00
Joakim Hove
040c310b48
Merge pull request #1340 from joakim-hove/fp-rtemp
...
Add RTEMPVD based initialization of the TEMPI keyword
2019-12-15 21:15:51 +01:00
Joakim Hove
a56e4daac7
Add RTEMPVD based initialization of the TEMPI keyword
2019-12-15 19:29:43 +01:00
Steinar Foss
87bbc46bbb
can parse keywords of type double-record.
...
...
ParserKeyword: bool double_records set.
added keywords CECONT.
ParserKeywords: double_records set by keyword generator.
Parsertests: added test for parsing double_records.
ParserKeywords.parse: if double_records returns empty.
double_records keywords set to SLASH_TERMINATED.
...
ParserKeyword: for double records size_type = DOUBLE_SLASH_TERMINATED.
double_records: RawKeyword is Raw::DOUBLE_SLASH_TERMINATED.
RawKeyword uses m_isTempFinished.
Parser: can parse files with double-record keywords.
Parser.cpp/RawRecord.cpp: removed comments.
DeckKeyword has param m_isDoubleRecordKeyword.
test ParseDoubleRecords: double records to have linear structure.
DeckKeyword: Can create records of type double_record.
double-records parser test transferred to ParserTests.cpp.
...
...
2019-12-14 18:42:31 +01:00
Joakim Hove
a62d9df61f
Merge pull request #1335 from akva2/remove_unused_member
...
remove unused member parser_keyword from DeckKeyword
2019-12-14 14:51:36 +01:00
Joakim Hove
8ab1d2b894
Enable 3D props testing in opm-simulators and opm-grid
2019-12-14 12:50:30 +01:00
Joakim Hove
c26f1655c8
Merge pull request #1330 from joakim-hove/udq-well
...
Udq well
2019-12-14 00:19:25 +01:00
Joakim Hove
af1b140723
Some improvements to runtime type conversion when evaluating UDQ
2019-12-13 23:17:07 +01:00
Joakim Hove
a595e68608
EclipseGrid: calculate cell dimensions and center on demand
2019-12-13 16:03:00 +01:00
Joakim Hove
643c775d4d
EclipseGrid: calculate cell thickness on demand
2019-12-13 16:03:00 +01:00
Joakim Hove
f1d937205f
EclipseGrid: calculate cell depth on demand
2019-12-13 16:03:00 +01:00
Joakim Hove
e3e11019dd
EclipseGrid: calculate volume on demand
2019-12-13 16:03:00 +01:00
Joakim Hove
3541aa1601
EclipseGrid: Add getCellCorners( ) overload
2019-12-13 16:03:00 +01:00
Joakim Hove
60e6144f7f
Remove unused member from EclipseGrid
2019-12-13 16:03:00 +01:00
Joakim Hove
fdd159cc75
Altered comment for group sets
2019-12-13 15:41:51 +01:00
Joakim Hove
56997e7d5c
Replace compatibleTypes with static and runtime checks
2019-12-13 15:41:21 +01:00
Joakim Hove
b4fd949ca8
Change exception + test
2019-12-13 15:39:34 +01:00
Joakim Hove
11bf449281
Add method UDQSet::wgnames()
2019-12-13 15:33:42 +01:00
Joakim Hove
d520cfa8db
Improved error message
2019-12-13 14:54:58 +01:00
Joakim Hove
964fba4ffb
Merge pull request #1326 from stefoss23/add_alternating_keywords
...
Add alternating keywords
2019-12-13 09:40:26 +01:00
Joakim Hove
43b67e687f
Merge pull request #1337 from bska/prune-duplicate-updateconnections
...
COMPDAT: Prune Duplicate 'updateConnctions' Call
2019-12-12 20:31:36 +01:00
Bård Skaflestad
063bc73a40
COMPDAT: Prune Duplicate 'updateConnctions' Call
...
Possibly introduced in an earlier rebase operation.
2019-12-12 18:33:31 +01:00
Arne Morten Kvarving
c68ab70eec
remove unused member parser_keyword from DeckKeyword
2019-12-12 16:02:13 +01:00
Joakim Hove
7a648cae7f
Merge pull request #1329 from akva2/fix_comparison
...
fixed: wrong things compared in equality operator
2019-12-12 12:28:39 +01:00
Joakim Hove
59e9b92486
Merge pull request #1332 from akva2/janitoring
...
fix initialization list order
2019-12-12 12:28:25 +01:00
Joakim Hove
9c54371c2c
Merge pull request #1331 from akva2/remove_unused_member
...
remove unused member from UDQActive::InputRecord
2019-12-12 11:40:26 +01:00
Joakim Hove
f544fb2883
Merge pull request #1333 from joakim-hove/gconprod-rates
...
Add GuideRate properties to GroupProduction::operator==
2019-12-12 11:37:37 +01:00
Joakim Hove
9abbcfb6fa
Add GuideRate properties to GroupProduction::operator==
2019-12-12 11:17:46 +01:00
Arne Morten Kvarving
715d368d94
fix initialization list order
2019-12-12 10:59:59 +01:00
Arne Morten Kvarving
b8f7f61851
remove unused member from UDQActive::InputRecord
2019-12-12 10:56:48 +01:00
Atgeirr Flø Rasmussen
c343651f44
Merge pull request #1257 from GitPaean/support_wsegvalv
...
Support wsegvalv
2019-12-11 21:07:11 +01:00
Joakim Hove
dbf276b2db
Merge pull request #1328 from joakim-hove/fp-temp-test
...
Add some extra testing of FieldPropsManager::get_copy
2019-12-11 15:23:45 +01:00
Joakim Hove
537120049f
Merge pull request #1327 from joakim-hove/test-fixup
...
Add missing #ifdef
2019-12-11 14:47:07 +01:00
Kai Bao
aff2baf9f2
adding test for WSEGVALV
2019-12-11 14:38:43 +01:00
Arne Morten Kvarving
d64edfbe09
fixed: wrong things compared in equality operator
2019-12-11 13:48:58 +01:00
Joakim Hove
05b93e7ea1
Add #ifdef for ENABLE_3D_TESTING
2019-12-11 13:20:04 +01:00
Joakim Hove
20c9b0b1e5
Add some extra testing of FieldPropsManager::get_copy
2019-12-11 13:02:27 +01:00
Kai Bao
6be5e104b0
addressing the reviewing comments from PR#1257
2019-12-11 13:00:34 +01:00
Kai Bao
46bcd7a499
adding a few segment summary keywords to SEGMENT_PROBE
...
to it can run the WSEGVALV case in opm-tests without modifying the deck.
2019-12-11 13:00:34 +01:00
Kai Bao
80159c4374
adding support for WSEGVALV
2019-12-11 13:00:34 +01:00
Joakim Hove
20cd54b939
Merge pull request #1324 from joakim-hove/fp-get-temp
...
Add FieldPropsManager::get_copy() which does not add to container
2019-12-11 12:24:29 +01:00
Joakim Hove
68fe71baf0
Merge pull request #1321 from joakim-hove/fi-memory
...
Add small struct to report memory usage from FieldPropsManager
2019-12-11 12:23:58 +01:00
Joakim Hove
dd26d9b83f
Merge pull request #1323 from joakim-hove/allow-region-too-large
...
THPRES: Warning if region values exceed max(EQLNUM)
2019-12-11 12:23:20 +01:00
Joakim Hove
81cdfd46e3
Merge pull request #1318 from joakim-hove/fp-operate
...
Fp operate
2019-12-11 12:22:53 +01:00
Steinar Foss
e875d9b7d4
added keywords STOW, STWG.
2019-12-11 11:31:55 +01:00
Steinar Foss
2a90e9a154
added keywords PVTWSALT, PZVG.
2019-12-11 11:18:30 +01:00
Markus Blatt
44ffa6e871
Merge pull request #1319 from blattms/active-cells-utility
...
Use minimal information when filtering connections
2019-12-11 09:02:27 +01:00
Joakim Hove
6d7b621fb8
Add FieldPropsManager::get_copy() which does not add to container
2019-12-11 08:02:10 +01:00
Joakim Hove
be64447cee
Add small struct to report memory usage from FieldPropsManager
2019-12-10 22:10:19 +01:00
Joakim Hove
68dd1e9de8
THPRES: Warning if region values exceed max(EQLNUM)
2019-12-10 21:56:28 +01:00
Bård Skaflestad
dc5b6e4465
Merge pull request #1272 from bska/restart-wsegsicd
...
Add Restart File Support for Spiral Inflow-Control Devices
2019-12-10 16:30:04 +01:00
Bård Skaflestad
5629098503
Output SICD Characteristics to Restart File
...
This commit identifies well segments that correspond to SICDs
(input keyword WSEGSICD) and captures those in the ISEG vector.
Furthermore, we output characteristic properties of such SICD
segments (e.g, the length, the base strength, calibration fluid
properties) in the RSEG vector.
2019-12-10 15:15:10 +01:00
Bård Skaflestad
953abdc496
Segment: Add Means of Identifying SICDs
...
This commit adds a simple predicate, Segment::isSpiralICD(), that
lets client code query whether or not a particular segment
represents a spiral ICD. These are created through the WSEGSICD
input keyword.
2019-12-10 14:27:03 +01:00
Joakim Hove
2fb0cd599b
PORV is treated more as a regular keyword
2019-12-10 14:06:14 +01:00
Joakim Hove
a9cfa083b6
Merge pull request #1320 from akva2/fix_accessor_type
...
Fix accessor type
2019-12-10 13:50:40 +01:00
Markus Blatt
a1471c80b5
Use ActiveGridCells when filtering connections.
2019-12-10 13:49:04 +01:00
Markus Blatt
36e1ef69ef
Added utility for querying (only) active cells.
...
This will relieve us from building up a full EclipseGrid
just for filtering well connections.
2019-12-10 13:49:04 +01:00
Arne Morten Kvarving
3b66c03d31
fixed: this should be an int, not a double
2019-12-10 11:56:18 +01:00
Joakim Hove
0f609083c3
Add support for OPERATE in FieldProps
2019-12-10 11:43:05 +01:00
Joakim Hove
c9111d3785
Change testdata to be compliant with section requirements
2019-12-10 11:43:05 +01:00
Joakim Hove
9f09cbe14a
Merge pull request #1315 from joakim-hove/fp-reset-actnum
...
Fp reset actnum
2019-12-09 07:26:21 +01:00
Joakim Hove
e96f49c5f9
Implement FieldProps::reset_actnum() instead of reset_grid()
2019-12-08 23:37:51 +01:00
Joakim Hove
377727c470
Merge pull request #1314 from joakim-hove/satfunc-depth-init
...
Satfunc initializers get cell_depth instead of grid argument
2019-12-08 23:33:51 +01:00
Joakim Hove
d57e67a06b
Merge pull request #1316 from joakim-hove/warning
...
Quell warning
2019-12-08 23:33:30 +01:00
Joakim Hove
04aead1f27
Remove shadow warning in ParserKeyword::parseRecords( )
2019-12-08 15:43:36 +01:00
Joakim Hove
8b881a2cb1
Use default: in switch statement
2019-12-08 15:40:47 +01:00
Joakim Hove
63bf6b26c7
Satfunc initializers get cell_depth instead of grid argument
2019-12-08 15:09:55 +01:00
Joakim Hove
bbee8606bf
Merge pull request #1313 from joakim-hove/aquifetp-minor
...
Some whitespace cleanup and remove unused includes in Aquifetp
2019-12-08 14:42:24 +01:00
Joakim Hove
bbbe2c88ef
Some whitespace cleanup and remove unused includes in Aquifetp
2019-12-08 14:05:07 +01:00
Joakim Hove
8c6755d0f8
Merge pull request #1308 from stefoss23/parserkeyword_alternating_records
...
introducing keywords using alternating records.
2019-12-08 13:39:58 +01:00
Steinar Foss
52d69ca167
alernating records: not limited to 2 records.
2019-12-08 05:03:07 +01:00
Joakim Hove
709373086d
Merge pull request #1311 from joakim-hove/fp-tran
...
Add default init for TRAN keywords + dimension
2019-12-07 15:40:03 +01:00
Joakim Hove
fa939f585f
Add default init for TRAN keywords + dimension
2019-12-07 15:07:22 +01:00
Joakim Hove
eb9856f9e2
Merge pull request #1310 from joakim-hove/fp-late-get-satfunc
...
Add autocreation of saturation functions from get<T>(keyword)
2019-12-07 15:01:37 +01:00
Joakim Hove
b7f8d72bbe
Add autocreation of saturation functions from get<T>(keyword)
2019-12-07 13:37:58 +01:00
Steinar Foss
6ee678048e
alternating_keyword may repeat over more than 2 records.
2019-12-07 13:31:17 +01:00
Bård Skaflestad
c9b277446a
Merge pull request #1309 from akva2/janitoring
...
Janitoring
2019-12-07 01:25:08 +01:00
Arne Morten Kvarving
606c4146c1
remove unused functions
2019-12-06 22:24:27 +01:00
Arne Morten Kvarving
88516218e7
fix initializer list order
2019-12-06 22:24:25 +01:00
Bård Skaflestad
0cc6ab250c
Merge pull request #1307 from bska/sicd-strength-unit
...
Add Dedicated Units of Measurement for SICD Strength Parameter
2019-12-06 17:01:13 +01:00
Steinar Foss
8f8d45532e
introducing keywords using alternating records.
...
added function parseRecords.
introducing alternating keywords.
parserkw: added member isAlternatingKeyword.
kw alternating_records conditions.
...
added keyword STOG.
alternating keyword: created generatortest.
alternating keyword sets bool to true by codegenerator.
alternating_records_kw returns that.
...
2019-12-06 15:51:42 +01:00
Bård Skaflestad
bce49165ba
WSEGSICD: Use New 'GeometricVolume' Parser Dimension
...
Slightly simplifies specifying the unit of measure for the strength
parameter.
2019-12-06 14:32:07 +01:00
Bård Skaflestad
3f2b143b30
Unit System: Add New ICD-Related Units
...
This commit introduces a couple of new units of measure for
ICD-related quantities, especially AICD and SICD strength
parameters. Add base unit "GeomVolume" ([Length]**3) and 'measure'
entities
geometric_volume (= GeomVolume)
geometric_volume_rate (= GeomVolume / Time)
icd_strength (= Pressure / (GeomVolume / Time)**2)
Add conversion factor unit tests for these, and also complete the
set of unit tests for FIELD, LAB, and PVT_M to cover measures that
were not already there.
Also add a parser Dimension ("GeometricVolume") to play the role of
[Length]**3 in .json files.
2019-12-06 14:32:07 +01:00
Bård Skaflestad
8fe4691639
addDimension(): Don't Risk Reading from Moved-From Object
...
We don't control which side of the assignment is evaluated first, so
get a copy of the name and use that for indexing purposes.
2019-12-06 14:32:07 +01:00
Joakim Hove
273c512c2a
Merge pull request #1306 from joakim-hove/fp-global-porv
...
Add optional global flag to FieldPropsManager::porv()
2019-12-06 14:22:06 +01:00
Joakim Hove
f4882522cb
Add optional global flag to FieldPropsManager::porv()
2019-12-06 08:47:08 +01:00
Joakim Hove
1534570b3d
Merge pull request #1305 from joakim-hove/allow-init-reorder
...
Regression testing: Detect reordering of keywords in the INIT file
2019-12-05 17:12:20 +01:00
Joakim Hove
dda295f23f
Merge pull request #1221 from joakim-hove/fp-fluid
...
Fp fluid
2019-12-05 16:37:23 +01:00
Joakim Hove
fc6f77e50a
Merge pull request #1207 from stefoss23/parse_pyinput
...
Parse PYINPUT
2019-12-05 15:17:01 +01:00
Joakim Hove
d990932d0c
Special case reordering of keywords in the INIT file regression test
2019-12-05 14:25:14 +01:00
Joakim Hove
26773359a4
compareECL: Set throwOnError to false together with analysis=true
2019-12-05 14:25:14 +01:00
Steinar Foss
04895d3728
Python.cpp using macro for conditional Python instance.
2019-12-05 13:02:57 +01:00
Atgeirr Flø Rasmussen
3645151309
Merge pull request #1251 from GitPaean/support_wsegsicd_rebase
...
Support WSEGSICD rebase
2019-12-05 12:43:32 +01:00
Kai Bao
254cee34bd
addingress reviewing comments for PR#1251
2019-12-05 11:48:59 +01:00
Kai Bao
973fe9823b
adapting and fix the code after rebasing for WSEGSICD
2019-12-05 11:48:59 +01:00
Kai Bao
fea4c4c8fa
adding support for WSEGSICD
2019-12-05 11:48:59 +01:00
Joakim Hove
1c29829dae
Merge pull request #1238 from joakim-hove/enable-3d-testing-jenkins
...
Enable 3D property testing in opm-material on jenkins
2019-12-05 10:53:16 +01:00
Joakim Hove
27da0024af
Merge pull request #1288 from joakim-hove/flowing
...
Determine that wells are flowing from nonzero rates
2019-12-05 10:09:39 +01:00
Steinar Foss
d348f170f2
PYBIND11_EMBEDDED_MODULE replaced by OPM_EMBEDDED_MODULE.
...
python.cpp: PythonInterp created within contr. brackets.
PYBIND11_EMBEDDED_MODULE commented out.
opm_python: added file Embed.hpp.
introduced macro OPM_EMBEDDED_MODULE.
added opm_embedded_module.
using opm_embedded_module.
opm_embedded_module: commented out PyInstance check.
added namespace Opm::embed.
Embed.hpp -> EmbedModule.hpp.
Python.cpp: added exception if PyIsinstance.
parserstate: python is a unique_ptr.
Parser.cpp: exception if no Opm::python obj.
2019-12-05 09:19:43 +01:00
Steinar Foss
f3701c3f93
Parser: handles PYINPUT. Python code in eclipse .Data files now possible!!!
...
test EmbeddedPython: now with actual python code.
parser.cpp: parsing python code.
introduced RawConst::pyinput.
EmbeddedPython: tests with data keyword.
2019-12-05 09:19:43 +01:00
Steinar Foss
277ec850a7
PYINPUT: name -> PYINPUT.
2019-12-05 09:19:43 +01:00
Joakim Hove
ee2850e8cc
Merge pull request #1304 from joakim-hove/satfunc-refactor
...
Reorganize satfunc initializers
2019-12-05 08:57:54 +01:00
Joakim Hove
4d3567bffd
Initialize saturation functions in FieldProps
2019-12-05 08:49:47 +01:00
Joakim Hove
b3c14b1d12
Merge pull request #1250 from stefoss23/action_token_func
...
added enum class FuncType for ASTNode.
2019-12-05 08:18:08 +01:00
Joakim Hove
18f5e1a9b9
Reorganize satfunc initializers
2019-12-05 08:08:55 +01:00
Joakim Hove
04234ec625
Merge pull request #1301 from joakim-hove/deck-diff-default
...
Differentiate between valid and invalid default values while parsing
2019-12-05 08:04:22 +01:00
Bård Skaflestad
58eac1c338
Merge pull request #1277 from bska/load-aquifer-data
...
Load Restart: Support Basic Quantities from Analytic Aquifers
2019-12-04 22:55:18 +01:00
Joakim Hove
08dd12f644
Merge pull request #1300 from totto82/fixGconsumpSale
...
FIX avoid double conversion
2019-12-04 22:40:17 +01:00
Joakim Hove
1599cc5698
Differentiate between valid and invalid default values while parsing
2019-12-04 22:36:28 +01:00
Steinar Foss
3d37551ef9
checks for FuncType::time.
2019-12-04 21:10:11 +01:00
Bård Skaflestad
25931145e0
Aquifer Restart: Load Values Pertinent to Fetkovich Model
...
This commit expands the basic aquifer restart support to also
include essential values for the Fetkovich analtic model. In
particular, we now also load the initial aquifer pressure and the
initial aquifer volume directly from the SAAQ restart vector, but
only if we know that the aquifer in question is of Fetkovich type.
2019-12-04 19:57:14 +01:00
Steinar Foss
4ae8b4a5fe
Removes FuncType in ParserNode.
...
removed FuncType from ParserNode.
2019-12-04 18:13:44 +01:00
Bård Skaflestad
7b3de57e92
Load Restart: Support Basic Quantities from Analytic Aquifers
...
This adds a basic protocol for retrieving simple scalar data for
each analytic aquifer, specifically from XAAQ. At the moment we
only support retrieving the aquifer pressure and the total produced
liquid volume from the aquifer and into the reservoir model.
2019-12-04 17:43:27 +01:00
Joakim Hove
3deef64d19
Use numerical flow rates to determine Well::flowing()
2019-12-04 17:15:30 +01:00
Joakim Hove
e0e371291d
Merge pull request #1297 from joakim-hove/dont-write-ACTNUM
...
Make sure the ACTNUM field is not output to the INIT file
2019-12-04 17:06:42 +01:00
Steinar Foss
dc0ab8a8ad
Action::Parser:get_func: returns multiple types.
2019-12-04 16:24:58 +01:00
Steinar Foss
4b5ef93293
added enum class FuncType for ASTNode.
...
ActionParserNode takes functype arg.
ActionParser getfunc.
ASTNode constr take func_type-arg.
ASTNode: throws exception if not FunctionType well.
FuncType: expanded list.
ActionParser: gettype distnguishes types.
ACTIONX.cpp: added test with group*.
parseKeywordCategory made public.
ActionParser: uses parseCategory.
2019-12-04 16:24:58 +01:00
Tor Harald Sandve
996f844ac7
FIX avoid double conversion
2019-12-04 12:02:28 +01:00
Joakim Hove
206e0b3b25
Merge pull request #1299 from joakim-hove/transmult-fp
...
Use std::vector<double> instead of GridProperty<double> in TransMult
2019-12-04 10:22:32 +01:00
Joakim Hove
7dc0e52e2d
Merge pull request #1296 from joakim-hove/fp-keys-special
...
Special case ACTNUM and PORV in the FieldProps keys() method
2019-12-04 10:21:59 +01:00
Joakim Hove
34d4514164
Enable FieldProps for EclipseState::initTransMult()
2019-12-04 07:39:04 +01:00
Joakim Hove
bb314f13ae
Use std::vector<double> instead of GridProperty<double> in TransMult
2019-12-03 20:24:11 +01:00
Joakim Hove
159412bba6
Make sure the ACTNUM field is not output to the INIT file
2019-12-03 17:34:15 +01:00
Joakim Hove
87ddebd192
Special case ACTNUM and PORV in the FieldProps keys() method
2019-12-03 17:21:28 +01:00
Joakim Hove
8783d8cf0a
Merge pull request #1262 from joakim-hove/fp-porv
...
Fp porv
2019-12-03 09:49:18 +01:00
Joakim Hove
1090328ee3
Add methods porv() and actnum() to FieldPropsManager
2019-12-03 08:47:23 +01:00
Joakim Hove
019db953d9
Merge pull request #1294 from joakim-hove/remove-microseconds
...
Remove microseconds from TimeStampUTC add test
2019-12-03 00:55:57 +01:00
Joakim Hove
ba59707672
Remove microseconds from TimeStampUTC add test
2019-12-03 00:36:30 +01:00
Joakim Hove
527f7b39d0
Merge pull request #1293 from joakim-hove/timeservice-plus
...
Add operator+(double seconds) to TimeStampUTC
2019-12-02 23:18:03 +01:00
Joakim Hove
200f3a55bd
Add operator+ to TimeStampUTC
2019-12-02 22:30:00 +01:00
Joakim Hove
5f699679a9
Merge pull request #1287 from joakim-hove/remove-grid
...
Remove grid member from FieldProps
2019-12-02 14:34:10 +01:00
Joakim Hove
da99852bfd
Merge pull request #1292 from joakim-hove/add-PORO
...
Add PORO to testdata
2019-12-02 14:25:45 +01:00
Joakim Hove
30d6f51faf
Merge pull request #1291 from joakim-hove/auto-shut-well
...
Make sure well is closed if all connections are closed for ACTIONX
2019-12-02 13:57:47 +01:00
Joakim Hove
19c5475715
Add PORO to testdata
2019-12-02 12:06:09 +01:00
Joakim Hove
2193118a5c
Make sure well is closed if all connections are closed for ACTIONX
2019-12-02 11:53:16 +01:00
Joakim Hove
0a56331b28
Remove grid member from FieldProps
2019-12-02 11:47:28 +01:00
Joakim Hove
c65796a9a6
Merge pull request #1290 from joakim-hove/fieldprops-default
...
Add temporary default constructor for FieldPropsManager
2019-12-02 11:44:15 +01:00
Joakim Hove
0824a68783
Add temporary default constructor for FieldPropsManager
2019-12-02 10:46:45 +01:00
Joakim Hove
1bf3ee859f
Merge pull request #1285 from joakim-hove/transmult-regions
...
Transmult regions
2019-12-02 07:24:56 +01:00
Joakim Hove
f5ca256eaf
Internalize default region name in MULTREGTScanner
2019-12-02 06:30:58 +01:00
Joakim Hove
f066cea90a
Enable FieldPropsManager for TRANSMULT regions
2019-12-02 06:30:58 +01:00
Joakim Hove
434f671391
Cache the region vectors in the MULTREGT scanner
2019-12-02 06:30:58 +01:00
Joakim Hove
9b9ba2c88c
Merge pull request #1286 from joakim-hove/fp-default
...
Fp default
2019-12-02 06:30:42 +01:00
Joakim Hove
b8d3b8a16e
Remove FieldPropsManager default constructor
2019-12-01 21:19:02 +01:00
Joakim Hove
296288bce4
Remove FieldProps->tables member
2019-12-01 18:01:01 +01:00
Joakim Hove
c9ac9eaec1
Merge pull request #1284 from joakim-hove/disable-fp
...
Disable use of FieldPropsManager in MULTREGTScanner
2019-12-01 11:34:40 +01:00
Joakim Hove
7a9409fc08
Disable use of FieldPropsManager in MULTREGTScanner
2019-12-01 09:43:07 +01:00
Joakim Hove
4893f534f7
Merge pull request #1282 from joakim-hove/add-PORO
...
Add poro
2019-11-30 09:43:10 +01:00
Joakim Hove
c403db8379
Merge pull request #1240 from joakim-hove/transmult-fp
...
Add FieldPropsManager argument to TransMult constructors
2019-11-30 08:46:43 +01:00
Joakim Hove
bb032c6182
Add PORO to testdata
2019-11-30 08:35:39 +01:00
Joakim Hove
9e3b8a94e8
Add missing "GRID" section in testdata
2019-11-30 08:35:34 +01:00
Joakim Hove
b04cd0b207
Merge pull request #1281 from joakim-hove/report-wellopen-status
...
Log message when a well status changes from WELOPEN
2019-11-29 19:17:12 +01:00
Joakim Hove
d53d8b4947
Enable testing of FieldPropsManager in transmult classes
2019-11-29 19:12:46 +01:00
Joakim Hove
0514b6bb52
Add FieldPropsManager argument to TransMult constructors
2019-11-29 18:16:20 +01:00
Joakim Hove
cb8cc2c5b2
Remove unused argument
2019-11-29 18:15:35 +01:00
Joakim Hove
61fd4e0c88
FieldProps::default_region() - public property
2019-11-29 18:15:35 +01:00
Joakim Hove
b5f3a94842
Merge pull request #1249 from joakim-hove/wellconnection-fp
...
Use FieldPropsManager in WellConnection
2019-11-29 18:14:18 +01:00
Joakim Hove
bdea9b4da7
Log message when a well status changes from WELOPEN
2019-11-29 18:11:45 +01:00
Joakim Hove
198b208258
Test use of FieldPropsManager in WellConnections
2019-11-29 16:42:29 +01:00
Joakim Hove
8211007714
Merge pull request #1278 from joakim-hove/add-PORO
...
Add poro
2019-11-29 12:46:34 +01:00
Joakim Hove
74704f4cc6
Merge pull request #1280 from joakim-hove/lwsltnum
...
add lwsltnum
2019-11-29 09:32:03 +01:00
Tor Harald Sandve
fddaa46e98
add lwsltnum
2019-11-29 08:42:08 +01:00
Joakim Hove
c3ab4829e0
Merge pull request #1275 from joakim-hove/enable-ROCKNUM
...
Enable ROCKNUM in FieldProps
2019-11-29 08:38:17 +01:00
Bård Skaflestad
27f1c5b998
Merge pull request #1279 from akva2/fix_xwel
...
fixed: serialize thp to OPM_XWEL
2019-11-28 23:39:19 +01:00
Arne Morten Kvarving
529a181617
fixed: serialize thp to OPM_XWEL
2019-11-28 23:22:14 +01:00
Joakim Hove
e9b6ac54d9
Add PORO keyword to testdata
2019-11-28 20:06:39 +01:00
Joakim Hove
e5b40870b6
Remove unused testdata
2019-11-28 20:06:39 +01:00
Arne Morten Kvarving
ef9bc3cf3f
Merge pull request #1265 from akva2/comparison_operators_output_structures
...
added: comparison operators for various output structures
2019-11-28 15:19:23 +01:00
Joakim Hove
5cd4814de1
Enable ROCKNUM in FieldProps
2019-11-28 15:14:31 +01:00
Bård Skaflestad
8cd7481d14
Merge pull request #1255 from jalvestad/iseg_0_fix
...
correction to ISEG[0] in AggregateMSWData.cpp
2019-11-28 14:44:37 +01:00
Joakim Hove
13bdd5e5a0
Merge pull request #1273 from joakim-hove/DEST_PREFIX
...
Use DEST_PREFIX when installing python code
2019-11-28 13:41:49 +01:00
Arne Morten Kvarving
6600994104
added: comparison operators for various output structures
2019-11-28 13:30:48 +01:00
Joakim Hove
221d6e21f6
Merge pull request #1274 from joakim-hove/disable-rocknum
...
Disable 3D property testing of ROCKNUM
2019-11-28 11:32:44 +01:00
Joakim Hove
25631acbc9
Disable 3D property testing of ROCKNUM
2019-11-28 11:18:38 +01:00
Jostein Alvestad
4743584d37
removed unused vector tempOrdVect
2019-11-28 09:41:02 +01:00
Jostein Alvestad
1a4bef80b3
correction to ISEG[0] in AggregateMSWData.cpp
2019-11-28 09:41:00 +01:00
Tor Harald Sandve
d4c680ba68
Merge pull request #1258 from totto82/add_sales_PR
...
Convert UDA in GCONSALE and GCONSUMP
2019-11-28 09:04:28 +01:00
Tor Harald Sandve
7b41397f6f
Merge pull request #1252 from totto82/gprodEvent
...
add group events
2019-11-28 08:23:18 +01:00
Joakim Hove
885093d472
Use DEST_PREFIX when installing python code
2019-11-27 23:46:32 +01:00
Bård Skaflestad
78e8acf21f
Merge pull request #1269 from bska/prepare-valve_icd-restart
...
Prepare Restart File Support for Valves and ICDs
2019-11-27 23:37:31 +01:00
Bård Skaflestad
c333b21c90
Prepare Restart File Support for Valves and ICDs
...
This commit identifies certain items in restart vectors ISEG and
RSEG that pertain to valves (keyword WSEGVALV) and spiral ICDs
(keyword WSEGSICD). In particular, we identify segment type flag
and a couple of relevant values for this flag. Also, relevant
parameters that describe the geometry and pressure drops of these
devices.
2019-11-27 22:12:43 +01:00
Joakim Hove
ba65222caf
Merge pull request #1268 from joakim-hove/plyrock-fixup
...
Fix internal name in PLYROCKM json file
2019-11-27 18:38:12 +01:00
Joakim Hove
11c6d43e22
Merge pull request #1267 from joakim-hove/region-cache-fixup
...
Bugfix: use correct 3D property container
2019-11-27 17:14:04 +01:00
Joakim Hove
70066df8ee
Merge pull request #1266 from akva2/serialize_whole_connection
...
added: serialize the whole connection struct to OPM_XWEL
2019-11-27 17:13:19 +01:00
Joakim Hove
6019ad9d42
Fix internal name in PLYROCKM json file
2019-11-27 16:51:29 +01:00
Joakim Hove
ce3b1554db
Temporarily added plain FIPNUM as region keyword
2019-11-27 16:31:10 +01:00
Joakim Hove
8fdbde5a48
Bugfix: use correct 3D property container
2019-11-27 16:19:16 +01:00
Joakim Hove
a9ebca90fd
Merge pull request #1264 from atgeirr/speedup-eclfile-construction
...
Use seekg() rather than ignore() to skip ahead.
2019-11-27 15:00:40 +01:00
Arne Morten Kvarving
a34bc76b46
added: serialize the whole connection struct to OPM_XWEL
2019-11-27 14:13:31 +01:00
Joakim Hove
854b79c280
Merge pull request #1233 from joakim-hove/thpres-refactor
...
Thpres refactor
2019-11-27 10:46:18 +01:00
Atgeirr Flø Rasmussen
e4e3b3bde8
Use seekg() rather than ignore() to skip ahead.
2019-11-27 10:17:30 +01:00
Joakim Hove
ca95ff1b86
Merge pull request #1235 from joakim-hove/fp-keys
...
Add FieldPropsManager::keys<T>() method for iteration
2019-11-27 10:06:23 +01:00
Joakim Hove
0380b9911e
Merge pull request #1261 from joakim-hove/udqtest-data-fixup
...
Update test fixture to use correct grid
2019-11-27 10:02:58 +01:00
Joakim Hove
94a58e87bf
Merge pull request #1234 from joakim-hove/region-cache-fp
...
Region cache fp
2019-11-27 09:50:29 +01:00
Joakim Hove
29b5f1e8b6
Use FieldPropsManager for THPRES initialization
2019-11-27 09:48:13 +01:00
Tor Harald Sandve
5d28ff7d24
store well and group event in same map
2019-11-27 08:58:57 +01:00
Joakim Hove
b2d9e92e25
Update test fixture to use correct grid
2019-11-26 21:34:04 +01:00
Joakim Hove
866aa5c5ca
Add alternative FieldPropsManager argument to THPRES constructor
2019-11-26 20:49:15 +01:00
Joakim Hove
8e76b1346a
Moved some variables closer to use-site
2019-11-26 20:49:15 +01:00
Arne Morten Kvarving
c2de0e09a3
Merge pull request #1259 from akva2/rename_accessor
...
changed: rename accessor to data()
2019-11-26 14:28:33 +01:00
Arne Morten Kvarving
0d6ed7cfb6
changed: rename accessor to data()
...
the two classes EDITNNC and NNC are very similar, which makes templating
useful. this small difference makes it hard to do. unify them.
2019-11-26 13:20:17 +01:00
Joakim Hove
d3cc7303b4
Merge pull request #1256 from akva2/fix_forwards
...
fixed: forward declared the intended classes
2019-11-26 13:03:37 +01:00
Tor Harald Sandve
e1029e956b
convert from UDA to double for GCONSALE and GCONSUMP
2019-11-26 11:14:12 +01:00
Tor Harald Sandve
225d6ea26d
Make GCONSALE an injector
2019-11-26 11:14:12 +01:00
Arne Morten Kvarving
e1e9fb7110
fixed: forward declared the intended classes
2019-11-26 10:40:03 +01:00
Tor Harald Sandve
b109331163
add group events
2019-11-25 09:55:32 +01:00
Bård Skaflestad
be27bb6154
Merge pull request #1248 from berland/wpotcalc
...
Change section for WPOTCALC keyword to RUNSPEC
2019-11-21 16:03:33 +01:00
Joakim Hove
91c40e60c6
Add FieldPropsManager::keys<T>() method for iteration
2019-11-21 10:21:01 +01:00
Joakim Hove
b3d28e10cc
Merge pull request #1246 from joakim-hove/fp-default-region
...
FieldProps::default_region() - public property
2019-11-21 10:19:16 +01:00
Håvard Berland
9cefcaf49b
Change section for WPOTCALC keyword to RUNSPEC
2019-11-21 09:59:50 +01:00
Arne Morten Kvarving
049ddf74f4
Merge pull request #1247 from akva2/fix_rh_regression
...
fixed: a regression snuck in while enabling redhat 8
2019-11-21 09:55:19 +01:00
Arne Morten Kvarving
9bb8a35f8f
fixed: a regression snuck in while enabling redhat 8
...
for some reason, rh7 does not link cmake3 to cmake,
while rh6 and rh8 does. cmake3 works everywhere
2019-11-21 09:01:39 +01:00
Joakim Hove
be895ce0b1
FieldProps::default_region() - public property
2019-11-21 08:43:48 +01:00
Joakim Hove
3672a29b0a
Merge pull request #1237 from joakim-hove/fp-defaulted
...
Fp defaulted
2019-11-21 08:39:04 +01:00
Joakim Hove
5d588fd56e
Merge pull request #1242 from akva2/add_rh8_packaging
...
added: support rhel8
2019-11-20 19:33:19 +01:00
Joakim Hove
eb1c9a71c7
Merge pull request #1241 from stefoss23/reorganize_krangle
...
added some 'special' keywords. Reorganized list of 'special' keywords.
2019-11-20 19:12:29 +01:00
Arne Morten Kvarving
3f6097bf16
added: support rhel8
2019-11-20 15:50:01 +01:00
Steinar Foss
bebcdbc43c
added some 'special' keywords. Reorganized list of 'special' keywords.
...
added kw GCONPRI.
added kw GIALL.
added kw MASSFLOW.
added keywords MESSAGE.
RPTRST: deckname OUTSOL.
added keyword PARAOPTS.
FOAMDCN: changed structure ofg keyword.
added keywords PVG32D, PCW32D.
keyword_list.cmake: reaorginzed list of 'special' keywords.
2019-11-20 15:19:22 +01:00
Kai Bao
967d58ca7c
removing whitespaces from test_ERst.cpp
2019-11-20 14:16:16 +01:00
Joakim Hove
a15a724e76
Enable 3D property testing in opm-material on jenkins
2019-11-20 14:13:50 +01:00
Joakim Hove
f0547009fd
Merge pull request #1232 from joakim-hove/get-fp
...
Add EclipseState::fieldProps() method
2019-11-20 11:43:59 +01:00
Joakim Hove
f4cd0c4052
Merge pull request #1231 from joakim-hove/fp-value-status
...
Fp value status
2019-11-20 11:43:02 +01:00
Joakim Hove
42757a02fd
Add FieldPropsManager::defaulted() property
2019-11-20 11:29:47 +01:00
Joakim Hove
11ca1194b0
Use enum value::status to keep track of value status in FieldProps
2019-11-20 10:40:51 +01:00
Joakim Hove
517dbfddc5
Use FieldProps to get FIPNUM for region cache
2019-11-20 08:38:26 +01:00
Joakim Hove
8bd9aeaf9d
Change RegionCache constructor to accept std::vector<int> fipnum
2019-11-20 08:36:03 +01:00
Joakim Hove
52fabf37c7
Merge pull request #1230 from joakim-hove/deckitem-size-rename
...
Remove / rename DeckItem::size()
2019-11-19 20:39:33 +01:00
Joakim Hove
d8bb92b7b2
Add EclipseState::fieldProps() method
2019-11-18 10:14:59 +01:00
Joakim Hove
6cc3b578f5
Use value::status to keep track of data status in DeckItem
...
With this commit the DeckItem::push_backDummyDefault() function will push back a
default value T( ). This will give a change in behaviour in downstream code
which has used getData<T> to get DeckItem data unchecked.
2019-11-17 17:23:42 +01:00
Joakim Hove
3156448f99
Add enum value::status to handle the set/unset status of items
2019-11-17 11:18:05 +01:00
Joakim Hove
6dbbc8c037
Remove / rename DeckItem::size()
2019-11-16 18:31:12 +01:00
Joakim Hove
da625838b6
Merge pull request #1229 from joakim-hove/minor
...
Minor step in default rewrite ...
2019-11-16 12:15:04 +01:00
Joakim Hove
e15dcb216d
Improved error message
2019-11-16 10:38:16 +01:00
Joakim Hove
3982e6a8c9
Renamed variables
2019-11-16 00:44:20 +01:00
Joakim Hove
4514955778
Merge pull request #1227 from stefoss23/ACTIONXtests_reinstate_tests
...
testfile ACTIONC.cpp: removed 'if 0'.
2019-11-16 00:39:47 +01:00
Steinar Foss
239d562581
testfile ACTIONC.cpp: removed 'if 0'.
...
test ACTIONX, uncommented TestActions.
ACTIONX tests: uncommented all.
2019-11-15 15:24:16 +01:00
Joakim Hove
c309c6a7e6
Merge pull request #1226 from blattms/fix-type-more-info-compareECL
...
Fixed typos and included more info into compareECL's exceptions
2019-11-15 11:41:11 +01:00
Markus Blatt
6761f3dc57
Fixed typos and included more info into compareECL's exceptions
2019-11-15 10:20:33 +01:00
Joakim Hove
6388fbe584
Merge pull request #1224 from joakim-hove/satfunc-init-refactor
...
Satfunc lookup: prepare for only active cells
2019-11-15 09:59:48 +01:00
Joakim Hove
d99d1dfcc3
Merge pull request #1220 from joakim-hove/COPYREG
...
More 3D Property changes
2019-11-15 09:59:33 +01:00
Joakim Hove
05e006e7a9
Changed SatfuncPropertyInitializers to use references internally
2019-11-15 08:03:03 +01:00
Joakim Hove
63f4b5494d
Prepare saturation function lookup to only consider active cells
2019-11-15 08:03:03 +01:00
Joakim Hove
c8e2925134
Split saturation functions satnumApply and imbnumApply
2019-11-15 08:03:03 +01:00
Joakim Hove
7b2048ec22
Add assign(const std::vector<T>&) to FieldProps::FieldData
2019-11-15 07:55:29 +01:00
Joakim Hove
ffc67f05cf
Reorganise in FieldProps
2019-11-15 07:55:29 +01:00
Joakim Hove
5d852bf3f1
Merge pull request #1223 from joakim-hove/fp-tables
...
Add TableManager argument to FieldProps constructor
2019-11-15 07:54:33 +01:00
Joakim Hove
36c1798a38
Merge pull request #1222 from joakim-hove/grid-properties-testdata
...
Update testdata to one element for each cell
2019-11-15 07:54:15 +01:00
Atgeirr Flø Rasmussen
0ea0f07b20
Merge pull request #1225 from atgeirr/fix-abs
...
Fix abs() ambiguity, add copyright headers.
2019-11-14 23:11:01 +01:00
Atgeirr Flø Rasmussen
87a0e0e402
Fix abs() ambiguity, add copyright headers.
2019-11-14 13:09:35 +01:00
Joakim Hove
feec9c150d
Merge pull request #1219 from joakim-hove/box-keyword-constructor
...
Simplify the BOX implementation - prepare to drop the manager
2019-11-14 12:15:53 +01:00
Atgeirr Flø Rasmussen
6d83672f94
Merge pull request #1217 from joakim-hove/rename-well2
...
Rename Well2 -> Well and Group2 -> Group
2019-11-14 10:33:45 +01:00
Joakim Hove
7fbbb6d71a
Add TableManager argument to FieldProps constructor
2019-11-14 07:14:54 +01:00
Joakim Hove
60d3a074b9
Update testdata to one element for each cell
2019-11-13 23:57:59 +01:00
Joakim Hove
613ec70dab
Rename Well2 -> Well and Group2 -> Group
2019-11-13 23:19:26 +01:00
Joakim Hove
3f1cf0bc8a
Changed box implementation
2019-11-13 20:19:47 +01:00
Bård Skaflestad
8cd72f1ff0
Merge pull request #1209 from atgeirr/fix-timemap-restartintervals
...
Fix TimeMap::isTimestepInFirstOfMonthsYearsSequence() method.
2019-11-13 15:00:45 +01:00
Arne Morten Kvarving
dd8c328ca7
Merge pull request #1150 from tskille/summary
...
new program summary
2019-11-12 14:50:37 +01:00
Torbjørn Skille
59e0c39558
New program summary based on OPM I/O classes
2019-11-12 13:27:26 +01:00
Joakim Hove
eda68f74ae
Merge pull request #1191 from joakim-hove/field-properties-regions
...
Field properties regions
2019-11-12 08:37:19 +01:00
Joakim Hove
6afc118c94
Started on region operations in FieldProps implementation
2019-11-12 08:18:13 +01:00
Joakim Hove
3421b25d8e
Merge pull request #1211 from joakim-hove/monkey-patch-rename
...
Minor refactor to monkey-patching
2019-11-11 16:38:43 +01:00
Joakim Hove
d0685c1e6c
Merge pull request #1212 from joakim-hove/item-rename
...
Item rename
2019-11-11 16:38:26 +01:00
Joakim Hove
7356c76c58
Merge pull request #1204 from joakim-hove/summarynode-location
...
Add Location member to SummaryNode instances
2019-11-11 16:37:43 +01:00
Joakim Hove
f17eefcaf7
Add Location member to SummaryNode instances
2019-11-11 15:31:36 +01:00
Joakim Hove
0988f26ad9
Merge pull request #1213 from goncalvesmachadoc/patch-1
...
Add summary keywords FCPR, FCPT and CCPT
2019-11-11 13:26:44 +01:00
Cintia Goncalves Machado
7a274b2717
Add summary keywords FCPR, FCPT and CCPT
2019-11-11 09:26:36 +01:00
Joakim Hove
af4a2d78f9
Update test data to use correct region
2019-11-11 07:48:47 +01:00
Joakim Hove
24469f7a5e
Renamed item in COPYEREG keyword
2019-11-11 07:35:25 +01:00
Joakim Hove
efac465ebd
Minor refactor to monkey-patching
2019-11-10 21:09:35 +01:00
Atgeirr Flø Rasmussen
4fc71e352e
Merge pull request #1205 from totto82/defaultNUPCOL
...
Change default NUPCOL to 12
2019-11-08 17:38:20 +01:00
Atgeirr Flø Rasmussen
b787a1a259
Fix TimeMap::isTimestepInFirstOfMonthsYearsSequence() method.
2019-11-08 17:26:02 +01:00
Tor Harald Sandve
0771e555a7
Change default NUPCOL to 12
2019-11-08 10:44:32 +01:00
Joakim Hove
1d95cd8248
Merge pull request #1200 from goncalvesmachadoc/goncalvesmachadoc-addProdInjReportPRT
...
Add WVIR
2019-11-07 16:22:06 +01:00
Joakim Hove
6a01e4af35
Merge pull request #1201 from stefoss23/gconsump
...
Schedule handles keyword GCONSUMP.
2019-11-07 12:07:31 +01:00
Joakim Hove
632708acd2
Merge pull request #1203 from GitPaean/fixing_aqufetp_unit
...
correcting the unit in the AQUFETP definition
2019-11-07 10:20:39 +01:00
Steinar Foss
a1c5aaa4d4
GConSump/sale: add does not rewrite groups.
2019-11-07 10:00:54 +01:00
Steinar Foss
d86ea3cb30
GConSump/Sale: using default constructor.
2019-11-07 09:42:41 +01:00
Kai Bao
cda9ba9363
correcting the unit in the AQUFETP definition
2019-11-06 22:05:35 +01:00
Joakim Hove
a3090fd88f
Merge pull request #1181 from joakim-hove/tskille_pybind_eclio
...
Tskille pybind eclio
2019-11-06 16:39:30 +01:00
Steinar Foss
f75c3921e5
Schedule handles keyword GCONSUMP.
...
GConSump: added and linked soruce files.
gconsump added to dynamicstate.
added handleGCONSUMP.
GConSump: add.
GConSump: has.
GConSump: get.
GConSump: added UDA values.
GConSump: added network_node.
2019-11-06 15:12:25 +01:00
Cintia Goncalves Machado
db34bcaa21
Add WVIR
...
Add well voidage injection rate.
2019-11-06 14:58:35 +01:00
Joakim Hove
d66852d8de
Rewrite EclFile wrapping
...
- Include the eclipse_io.cpp file in existing extension library - do not create
a new library.
- Remove Python class EclFile - just expose the C++ through Pybind1, include
some monkey-patching of the class to ensure proper Python strings for CHAR
keywords.
- Remove string based keyword lookup.
- Use standard Python methods __len__, __getitem__ and __contains__; get() is
an equivalent alternative to __getitem__().
- Add property arrays in addition to getListOfArrays()
2019-11-06 09:59:07 +01:00
Joakim Hove
629606c5d8
Use test utility to get test filenames
2019-11-06 09:59:07 +01:00
Joakim Hove
179be0d519
Add converter to convert CHAR arrays
2019-11-06 09:59:07 +01:00
Joakim Hove
438a71de1c
Remove unused includes
2019-11-06 09:59:07 +01:00
Torbjørn Skille
7cacc734e8
python binding for EclFile
2019-11-06 09:59:07 +01:00
Joakim Hove
0b8a42fd1f
Fix cmake find pythonlibs
2019-11-06 09:59:07 +01:00
Joakim Hove
3bf3c34899
Merge pull request #1194 from tskille/convertECL
...
updates of ERst API, supports multiple occurrence of array names
2019-11-06 09:06:00 +01:00
Joakim Hove
af34571d5f
Merge pull request #1198 from akva2/janitoring
...
fixed: wrong init list order
2019-11-06 07:10:54 +01:00
Torbjørn Skille
c6f8a41c43
updates of ERst api, supports multiple occurrences of array names
2019-11-05 15:01:17 +01:00
Arne Morten Kvarving
dd8f0b2164
Merge pull request #1199 from akva2/bump_version
...
bump version to 2020.04-pre
2019-11-05 14:26:51 +01:00
Atgeirr Flø Rasmussen
d6cd0ff871
Merge pull request #1197 from atgeirr/add-regula-falsi-bisection
...
Add combined regula falsi + bisection method, and test.
2019-11-05 13:00:36 +01:00
Arne Morten Kvarving
a8e9ed2deb
bump version to 2020.04-pre
2019-11-05 10:50:03 +01:00
Arne Morten Kvarving
845613c03a
fixed: wrong init list order
2019-11-05 10:46:17 +01:00
Atgeirr Flø Rasmussen
2951df2bfb
Add combined regula falsi + bisection method, and test.
2019-11-05 10:33:02 +01:00
Joakim Hove
810fc19ea3
Merge pull request #1196 from joakim-hove/actionresult-copy
...
Add copy constructor + contains() method to Action::Result
2019-11-04 16:07:55 +01:00
Joakim Hove
9e898055a8
Merge pull request #1185 from joakim-hove/field-properties-downstream
...
Field properties downstream
2019-11-04 16:04:21 +01:00
Joakim Hove
8c6768cc89
Merge pull request #1193 from stefoss23/gconsale
...
Adding keyword GCONSALE to Schedule.
2019-11-04 15:02:19 +01:00
Joakim Hove
450bb96c9b
Add scalar auto create for SATNUM
2019-11-04 14:51:58 +01:00
Joakim Hove
02d4e98f1f
Add WellConnections() overload which uses FieldPropsManager
2019-11-04 14:51:58 +01:00
Joakim Hove
56d32f7fa0
Use vectors with nactive elements in WellConnections
2019-11-04 14:51:58 +01:00
Joakim Hove
77ef195b46
Early exit in wellconnection code
2019-11-04 14:51:58 +01:00
Steinar Foss
17d11e9a60
GConSaleGroup: MaxProcedure static, simplified get and add.
2019-11-04 13:59:54 +01:00
Joakim Hove
015559b5cf
Merge pull request #1187 from joakim-hove/field-props-has
...
Add has<T>() method to FieldPropsManager
2019-11-04 13:17:06 +01:00
Joakim Hove
0d2f57354a
Merge pull request #1184 from joakim-hove/python-dep
...
Add Python library to opm-common_LIBRARIES cmake variable
2019-11-04 13:16:32 +01:00
Joakim Hove
cfcfc08520
Merge pull request #1192 from joakim-hove/box-constructor
...
Add constructor to Box::cell_index
2019-11-04 13:16:06 +01:00
Joakim Hove
b5b54cf162
Merge pull request #1190 from joakim-hove/eclfile-preload
...
Add optional argument preload=false to EclFile constructor
2019-11-04 13:15:30 +01:00
Joakim Hove
1750767a1f
Merge pull request #1180 from joakim-hove/eclfile-size
...
Add size() method to EclFile
2019-11-04 13:15:16 +01:00
Joakim Hove
f33c4f749e
Add copy constructor + contains() method to Action::Result
2019-11-04 12:54:14 +01:00
Steinar Foss
ec07dca68b
Added GConSale.hpp to CMakeLists_files.cmake.
2019-11-04 09:31:45 +01:00
Steinar Foss
d2dce88411
Adding keyword GCONSALE to Schedule.
...
added files GConSale cpp/hpp.
Schedule: adde GConSale as DynamicState.
Shcedule: added function gConSale.
added function handleGCONSALE.
GConsale: added substruct GCONSALEGroup.
GConSale: empty records added.
GConSale: all values set to zero.
GCONSALE: values stored as UDA.
GConSale: UDAValues to SI.
GConSale: max_proc parsed.
2019-11-03 11:37:28 +01:00
Joakim Hove
8b2cab3244
Add constructor to Box::cell_index
2019-11-02 14:45:58 +01:00
Joakim Hove
53619980c5
Merge pull request #1188 from joakim-hove/P
...
Keywords on P
2019-11-02 09:10:13 +01:00
Joakim Hove
74aa7bbd48
Add optional argument preload=false to EclFile constructor
2019-11-01 17:01:07 +01:00
Joakim Hove
bb4426ff6b
Keywords on P
2019-11-01 15:14:33 +01:00
Joakim Hove
d3aec121f1
Merge pull request #1189 from totto82/supportSepGroup
...
Add support for item 11 and 12 in GCONINJE
2019-11-01 13:41:21 +01:00
Tor Harald Sandve
64f4919085
Add support for item 11 and 12 in GCONINJE
2019-11-01 13:15:52 +01:00
Joakim Hove
8268c877fd
Add has<T>() method to FieldPropsManager
2019-11-01 08:13:42 +01:00
Joakim Hove
e296140f75
Merge pull request #1186 from stefoss23/add_keywords_P
...
added keywords beginning w/ P.
2019-10-31 16:48:52 +01:00
Steinar Foss
59fddbf998
added keywords beginning w/ P.
...
added keywords PINCHXY, PLYATEMP, PLYCAMAX.
2019-10-31 13:05:49 +01:00
Joakim Hove
0fb55b23c0
Merge pull request #1056 from joakim-hove/field-properties
...
Add FieldProps skeleton
2019-10-31 11:36:29 +01:00
Joakim Hove
64095f0885
Create default FieldPropsManager - for the testing phase
2019-10-31 11:18:55 +01:00
Joakim Hove
a7187abc17
Initial implementation of 3D properties
2019-10-31 11:18:55 +01:00
Joakim Hove
18eb7a2de3
Check if have grid before fault initialization
2019-10-31 11:18:54 +01:00
Joakim Hove
176e7f75ed
Add Python library to opm-common_LIBRARIES cmake variable
2019-10-31 07:07:07 +01:00
Joakim Hove
abe2013624
Merge pull request #1182 from stefoss23/add_keyword_N1
...
Added keywords beginning with N, O, P.
2019-10-30 23:34:40 +01:00
Markus Blatt
bea4a81a3c
Merge pull request #1176 from blattms/changelog-2019.10
...
Added entries to changelog concerning 2019.10 release
2019-10-30 21:51:53 +01:00
Steinar Foss
78a37d2a33
added keywords beginning with N, O, P.
...
added keywords NODPPM, NOHMD, NOHMO.
added keywords NOHYST, NOWARNEP, NRSOUT.
added keywords NWATREM, NXFIN, NYFIN, NZFIN.
added keywords OFM, OILAPI, OLDTRAN, OLDTRANR.
added keywords PARTTRAC, PBUB, PCW.
added keywords PDEW, PEBI, PECOEFS.
removed keyword NEWTON.
added keywords PEDIMS, PEGTABX.
added keywords PEKTABX, PENUM, PERMAVE.
added keywords PETGRID, PICOND.
2019-10-30 15:37:14 +01:00
Joakim Hove
290368985a
Add size() method to EclFile
2019-10-30 09:31:10 +01:00
Joakim Hove
292d00417c
Merge pull request #1166 from joakim-hove/parsetest-model2-decks
...
Add parse testing of model2 decks
2019-10-30 07:40:20 +01:00
Joakim Hove
92188eea8a
Merge pull request #1167 from stefoss23/add_keyword
...
Add keyword, python deck
2019-10-29 16:54:22 +01:00
Joakim Hove
8a36be210b
Add bullet point about Eclipse restart capabilities
2019-10-29 16:32:08 +01:00
Markus Blatt
28b2b437c8
Skipped python and restart in changelog
2019-10-29 16:24:55 +01:00
Arne Morten Kvarving
f494df4f3d
Merge pull request #1178 from akva2/fix_rebuild_on_install
...
fixed: let's not copy the files twice
2019-10-29 15:17:28 +01:00
Arne Morten Kvarving
95a129cbed
fixed: let's not copy the files twice
2019-10-29 14:59:08 +01:00
Joakim Hove
d465409acf
Merge pull request #1177 from joakim-hove/install-copy-on-change
...
Only copy python files when they have changed
2019-10-29 13:57:54 +01:00
Joakim Hove
7e3c34c682
Only copy python files when they have changed
2019-10-29 12:34:46 +01:00
Markus Blatt
21673903dd
Added entries to changelog concerning 2019.10 release
2019-10-29 10:40:04 +01:00
Joakim Hove
fd3b6f8999
Merge pull request #1174 from bska/record-restart-output
...
Record Output of Restart File Data
2019-10-29 08:21:34 +01:00
Joakim Hove
6894aaf03b
Merge pull request #1173 from joakim-hove/python3
...
Python3
2019-10-29 08:07:22 +01:00
Bård Skaflestad
023333936c
Record Output of Restart Files in .PRT File (and to screen)
...
This commit adds a simple one-line record to the screen and,
typically, the .PRT file, each time a set of restart values are
output to the (or a) restart file. Format of the output is along
the lines of
Restart file written for report step: 169/247. Date: 2003/09/13
2019-10-28 23:32:33 -05:00
Bård Skaflestad
d19f9d6899
INTEHEAD: Promote Day, Month, Year to Public Indices
...
This commit makes the (Day, Month, Year) indices of the restart
file's INTEHEAD vector to the publicly available VectorItems. This,
in turn, makes the entries more readily accessible outside of
InteHEAD.cpp.
2019-10-28 23:27:39 -05:00
Joakim Hove
9d1b7a83d9
Changes in Python build:
...
- Use python/install.py to copy from source tree to build tree
- List Cxx source files in CMakeLists_files.cmake
2019-10-28 21:42:57 +01:00
Joakim Hove
99e32edd78
Use try: except: to import test utility code
2019-10-28 20:30:39 +01:00
Joakim Hove
d382c57145
Add small python script to determine extension suffix
2019-10-28 20:30:39 +01:00
Markus Blatt
e9367d5116
Merge pull request #1171 from akva2/update_rh_packaging
...
update redhat packaging
2019-10-28 11:58:37 +01:00
Arne Morten Kvarving
e15d8eea4a
update redhat packaging
2019-10-28 11:36:57 +01:00
Joakim Hove
4e8a0eac9f
Merge pull request #1170 from bska/resolve-asan-issues
...
Resolve Address Sanitizer Issues
2019-10-27 23:25:30 +01:00
Joakim Hove
baf4f7fbac
Merge pull request #1168 from stefoss23/add_keywords_N
...
added keywords beginning w/ N.
2019-10-27 16:12:50 +01:00
Bård Skaflestad
3ad7771306
EclipseState Unit Test: Don't Leak Memory
...
The construction
Parser parser(new Parser{})
effectively ends up calling the constructor
Parser::Parser(bool)
which, besides leaking memory, is typically not what we want.
2019-10-26 18:22:52 -05:00
Bård Skaflestad
2558320aa3
UDQ Unit Test: Don't Create Dangling References
...
This fixes an issue identified by Address Sanitizer.
2019-10-26 18:18:38 -05:00
Bård Skaflestad
3b9ea5dcd8
Consume Owning Raw Pointers in Smart Pointers
...
This fixes several memory leaks identified by Address Sanitizer.
2019-10-26 18:17:19 -05:00
Bård Skaflestad
50460ec8de
Don't Leak Memory in case of Exceptions
...
Wrap the internal 'WellConnections' pointer of function
newConnectionsWithSegments
in a unique_ptr that will release the memory if an exception is
thrown--e.g., from the error guard.
This function should arguably return a unique_ptr rather than a raw
pointer.
2019-10-26 18:02:39 -05:00
Bård Skaflestad
0e39b03f3f
Don't Use ACTNUM Unless Correctly Sized
...
We must explicitly check that the deck supplies a correctly sized
ACTNUM vector before using its .data() pointer. Otherwise, we risk
indexing out of bounds.
This fixes an ASan error in a unit test
While here, also remove stray semicolons on function closing braces.
2019-10-26 17:59:44 -05:00
Steinar Foss
cc11890e31
added keywords beginning w/ N.
...
added keywords NETWORK, NEWTON.
added keywords NEXT, NEXTSTPL, NINENUM.
2019-10-26 12:32:57 +02:00
Steinar Foss
0e1e9b7ac7
test EmbeddedPython: added test for add keyword to deck.
2019-10-25 17:15:56 +02:00
Joakim Hove
d217bdf458
Add parse testing of model2 decks
2019-10-25 14:43:19 +02:00
Steinar Foss
576ddd4987
python deck: added member add(keyword).
2019-10-25 14:11:52 +02:00
Joakim Hove
390a29d425
Merge pull request #1164 from stefoss23/deckkeyword_vector_unit
...
DeckKeyword w/ vectors: takes numpy vectors.
2019-10-25 12:07:34 +02:00
Joakim Hove
0fb92e9121
Merge pull request #1157 from joakim-hove/udq-token-types
...
Udq token types
2019-10-25 11:58:08 +02:00
Steinar Foss
02cc292f38
python numpy array conversion function in namespace conv ert.
2019-10-25 11:06:12 +02:00
Joakim Hove
a6db850230
Merge pull request #1165 from joakim-hove/python-testdata-path
...
Python testdata path
2019-10-25 10:54:24 +02:00
Joakim Hove
5ec24199de
Merge pull request #1163 from joakim-hove/python-test-main
...
Python test main
2019-10-25 10:38:56 +02:00
Joakim Hove
78b32803ff
Merge pull request #1162 from joakim-hove/python-enable
...
Minor change to python enable script
2019-10-25 10:00:23 +02:00
Joakim Hove
e51b14f6fd
Use utility function for path to testdata
2019-10-25 09:57:38 +02:00
Steinar Foss
ce3781775f
DeckKeyword w/ vectors: takes unit system as arg.
...
DeckKeyword w/ vector: added unit as arg.
DeckKeyword vector works with units.
DecValuetests: use zcorn instead of poro.
python: deckkweyword works with int data.
...
python deckkeyword. cant init with double array.
moved numpy_array converters to converters.hpp.
2019-10-25 09:31:03 +02:00
Joakim Hove
2fb3ce4957
Add if __name__ == "__main__" in Python test
2019-10-25 09:14:25 +02:00
Joakim Hove
622409bfb6
White space change
2019-10-25 09:14:15 +02:00
Joakim Hove
464cf6a51f
Merge pull request #1068 from GitPaean/fixing_aquifer
...
improvements related to Aquifer modeling
2019-10-25 09:01:19 +02:00
Joakim Hove
162d0e0902
Minor change to python enable script
2019-10-25 08:54:40 +02:00
Kai Bao
b9bc222e81
addressing reviewing comments from PR #1068
2019-10-24 23:01:34 +02:00
Kai Bao
3691c6e724
an aquifer connection need to between active and inactive cells
...
unless we specify we want to have aquifer within the inner cell of the
reservoir.
2019-10-24 22:01:28 +02:00
Kai Bao
a58daf17b5
correcting the definition of keyword AQUFETP
...
default_value looks like not working in term of specifying default value
for the item.
2019-10-24 22:01:28 +02:00
Joakim Hove
50b3aef1fa
Merge pull request #1158 from joakim-hove/Q
...
Keywords on Q
2019-10-24 18:41:30 +02:00
Joakim Hove
4b8628a873
Keywords on Q
2019-10-24 17:06:28 +02:00
Joakim Hove
0af4a5510e
Merge pull request #1154 from stefoss23/add_keywords_M1
...
Added more keywords beginning with M.
2019-10-24 16:53:25 +02:00
Joakim Hove
7e2d45cf66
Export all UDQTokens in use from UDQDefine
2019-10-24 16:51:15 +02:00
Joakim Hove
4c4bee4285
Merge pull request #1156 from atgeirr/add-missing-include
...
Add missing <string> include, necessary on clang.
2019-10-24 16:39:07 +02:00
Atgeirr Flø Rasmussen
4cc54aa324
Add missing <string> include, necessary on clang.
2019-10-24 15:44:34 +02:00
Steinar Foss
11a25e02c2
added more keywords beginning with M.
...
added keywords MULTOUTS, MULTREAL, MULTREGD.
added keywords MULTREGH, MULTSIG, MULTSIGV.
added keywords NARROW, NCONSUMP, NEFAC.
2019-10-24 11:48:02 +02:00
Joakim Hove
a9a7166e3d
Merge pull request #1153 from joakim-hove/move-fluxnum
...
Moved FLUXNUM to GRID section
2019-10-24 09:42:28 +02:00
Joakim Hove
0421173686
Merge pull request #1152 from joakim-hove/deckkeyword-unit
...
Deckkeyword unit
2019-10-24 08:43:18 +02:00
Joakim Hove
15eda478f3
Merge pull request #1149 from tskille/ESmry
...
fixing severe performance issue with ESmry
2019-10-24 08:42:50 +02:00
Joakim Hove
d7a52167f3
Moved FLUXNUM to GRID section
2019-10-24 08:39:53 +02:00
Joakim Hove
8f0aa75509
Merge pull request #1148 from joakim-hove/extract-operate
...
Extract operate
2019-10-24 07:18:09 +02:00
Joakim Hove
6525a7b19f
Merge pull request #1143 from joakim-hove/box-data-index
...
Add data_index to Box::index_list
2019-10-24 07:17:57 +02:00
Steinar Foss
d05b3323b3
DeckKeyword: constr. with records takes unitsystem args.
...
Deckkeyword constr w/ records also takes unit_systems.
DeckKeyword w/ records uses input args to get dims.
DeckValue unit system works w/ records.
Deckkeyword w/ records: rearranged default/active unit args.
..
python deckkeywords: workable.
python deckkeyword: testing rewrite.
python deckkeyword w/units: most test work.
...
python support for deckkeyword w/ dimensions.
2019-10-24 07:13:31 +02:00
Joakim Hove
1a05f2fcd1
Merge pull request #1151 from stefoss23/box_bug
...
BOX keyword: using defaultApplied.
2019-10-24 07:08:11 +02:00
Steinar Foss
1a8e9979d8
BOX keyword: using defaultApplied.
...
moved failed box-test from python to cpp.
setKeywordBox: using defaultApplied rather than hasvalue.
EclipseStateTEsts. TextBox: use 1* instead of *.
corrected box_bug.
2019-10-23 15:47:25 +02:00
Torbjørn Skille
e3e2a6e8ea
fixing severe performance issue with ESmry
2019-10-23 14:33:17 +02:00
Joakim Hove
35ed4bbca4
Use a lambda for the operate functions
2019-10-23 07:49:26 +02:00
Joakim Hove
ccb3ddced9
Extracted OPERATE function to separate file
2019-10-23 07:25:41 +02:00
Joakim Hove
cadadbde4d
Merge pull request #1145 from joakim-hove/properties-testdata
...
Properties testdata
2019-10-22 17:18:48 +02:00
Arne Morten Kvarving
76c866f816
Merge pull request #1146 from akva2/fix_closed_tests_prs
...
fixed: allow branch to exist in opm-tests PR repo, but no PR
2019-10-22 10:11:59 +02:00
Joakim Hove
304791683f
Merge pull request #1121 from joakim-hove/multregt-edit-warning
...
Add warning for MULTREGT in EDIT section
2019-10-22 10:02:00 +02:00
Arne Morten Kvarving
d472485418
fixed: allow branch to exist in opm-tests PR repo, but no PR
...
happens when people manually close a previously opened PR
for the branch.
2019-10-22 08:38:41 +02:00
Joakim Hove
fb63f61385
Merge pull request #1141 from joakim-hove/formatted-inf
...
Formatted inf
2019-10-22 08:25:16 +02:00
Joakim Hove
1af3ab2008
Merge pull request #1142 from joakim-hove/multz-edit
...
Multiply MULT(XYZ) keywords in the EDIT section
2019-10-22 08:24:32 +02:00
Joakim Hove
f81a84da42
Update testdata for a stricter 3D property parser
...
- Keywords should have correct number of elements
- Should be in the correct section
2019-10-22 08:23:00 +02:00
Joakim Hove
760140397d
Add dimension "1" to factor in MULTIPLY keyword
2019-10-22 08:22:51 +02:00
Atgeirr Flø Rasmussen
cf26ecac5e
Merge pull request #1138 from bska/transpose-density-table
...
TAB Vector (INIT): Store Phase Density Data By Columns
2019-10-21 23:06:27 +02:00
Joakim Hove
2f8916392c
Merge pull request #1144 from GitPaean/converting_aquifer_test_unix
...
converting AquanconTests.cpp to be unix format.
2019-10-21 18:27:19 +02:00
Kai Bao
18564a465c
converting AquanconTests.cpp to be unix format.
2019-10-21 17:00:12 +02:00
Joakim Hove
1ad4a03ac1
Add data_index to Box::index_list
2019-10-21 15:45:39 +02:00
Joakim Hove
5741ff8034
Multiply MULT(XYZ) keywords in the EDIT section
2019-10-21 11:53:09 +02:00
Joakim Hove
abb70835fb
Read and write formatted representations of NAN and INF
2019-10-21 09:29:13 +02:00
Joakim Hove
33e72c2a77
Slightly more relaxed conversion of formatted double string
2019-10-21 09:24:03 +02:00
Joakim Hove
e02cce3fde
Use pass by value in string to double conversion
2019-10-21 09:24:03 +02:00
Joakim Hove
08d6888992
Remove trailing whitespace
2019-10-21 09:24:03 +02:00
Bård Skaflestad
18a840edba
Add Unit Tests for Density Table Output
2019-10-21 00:16:30 -05:00
Bård Skaflestad
af97eaf821
TAB Vector (INIT): Store Phase Density Data By Columns
...
Specifically, store oil density values for every region before water
density values for every region, and gas density values after water
density values for every region.
This is the format expected in ECLIPSE's INIT file, and used by
ResInsight's fall-back flux calculator mode for flow diagnostics.
2019-10-20 23:25:57 -05:00
Joakim Hove
737b2127d8
Merge pull request #1100 from totto82/convertTargets
...
convert targets.
2019-10-20 17:50:25 +02:00
Joakim Hove
4fabb7b486
Merge pull request #1122 from joakim-hove/location
...
Add small struct DeckKeyword::Location to simplify error reporting
2019-10-19 23:30:43 +02:00
Joakim Hove
d3f33882b9
Merge pull request #1128 from joakim-hove/exc-warning
...
Exc warning
2019-10-19 22:34:15 +02:00
Joakim Hove
f39de00b4a
Add warning for MULTREGT in EDIT section
2019-10-19 20:13:48 +02:00
Joakim Hove
2534bbe0a3
Merge pull request #1123 from blattms/fix-unused-parameter-oython
...
Fixed unused parameter warning in PythonInterp.hpp
2019-10-19 20:13:14 +02:00
Markus Blatt
5584d6bb0a
Fixed unused parameter warning in PythonInterp.hpp
2019-10-18 08:36:28 +02:00
Joakim Hove
e7e25beea5
Use const& to avoiw warnings
2019-10-18 08:34:12 +02:00
Joakim Hove
0c50d96ed0
Remove trailing whitespace
2019-10-18 08:32:49 +02:00
Joakim Hove
f274257c94
Pass location when constructing DeckKeyword
2019-10-18 08:26:33 +02:00
Joakim Hove
781ced7294
Use struct Location to record file position for keywords
2019-10-17 23:57:01 +02:00
Joakim Hove
2be6235ab7
Add small struct DeckKeyword::Location to simplify error reporting
2019-10-17 23:56:34 +02:00
Markus Blatt
007abc79f9
Merge pull request #1125 from blattms/fix-memory-error-eclipsegrid-actnum
...
Fix memory error during EclipseGrid creation with Actnum.
2019-10-17 20:24:51 +02:00
Markus Blatt
a3daeb9c45
Fix memory error during EclipseGrid creation with Actnum.
...
We pass an int pointer to the function initCornerPointGrid.
With ACTNUM this pointer was initialized with data pointer
of an int vector that we threw away before the function call
(otherwise it was null). To fix this we move the int-vector up one
scope.
2019-10-17 19:09:24 +02:00
Joakim Hove
a0d5776eb9
Merge pull request #1119 from stefoss23/add_keywords_M
...
Added keywords beginning w/ M.
2019-10-17 15:06:19 +02:00
Joakim Hove
abbdcc9c6c
Merge pull request #1117 from akva2/move_parserkeywords_build
...
changed: put the generated ParserKeywords.cpp first in list
2019-10-17 15:05:59 +02:00
Joakim Hove
65095af82e
Merge pull request #1101 from joakim-hove/R
...
Add keywords starting with R
2019-10-17 14:53:22 +02:00
Steinar Foss
f5c1ede8ee
Added keywords beginning w/ M.
...
added keywords MINPORV, MLANG, MLANGSLV.
2019-10-17 13:00:28 +02:00
Joakim Hove
b47d808416
Merge pull request #1116 from akva2/fix_expl_constructor_gcc5
...
fixed: build using gcc 5 (ubuntu xenial)
2019-10-17 12:54:10 +02:00
Arne Morten Kvarving
93ac533373
changed: put the generated ParserKeywords.cpp first in list
...
this improves build throughput on jenkins since building this
large file will overlap more with other build tasks.
2019-10-17 11:40:48 +02:00
Joakim Hove
8bed569f7e
Merge pull request #1021 from joakim-hove/use-parser-dimensions
...
Use parser dimensions
2019-10-17 11:34:49 +02:00
Tor Harald Sandve
d1d665c343
Convert targets. Tested on simple problems.
2019-10-17 11:33:17 +02:00
Joakim Hove
60870b0f5a
Add keywords starting with R
2019-10-17 11:24:13 +02:00
Arne Morten Kvarving
c06d5912ea
fixed: build using gcc 5 (ubuntu xenial)
...
the tuple-from-initializer-list constructor is explicit.
2019-10-17 09:49:15 +02:00
Joakim Hove
e815194e21
Merge pull request #1112 from stefoss23/remove_common_state
...
Remove common state
2019-10-17 06:58:25 +02:00
Bård Skaflestad
3ea66e41dc
Merge pull request #1107 from bska/decouple-libecl-final
...
Decouple OPM Flow From Libecl
2019-10-16 21:44:53 -05:00
Bård Skaflestad
288be7f0dc
Drop libecl From Python Setup
...
Suggested by [at]akva2.
2019-10-16 20:03:08 -05:00
Arne Morten Kvarving
247b5685cc
remove libecl from buildsystem, jenkins and packaging
2019-10-16 20:03:08 -05:00
Bård Skaflestad
d1db2ec396
Reimplement test_Restart in Terms of TimeStampUTC
...
Only affects the 'first_sim()' helper function.
2019-10-16 20:03:08 -05:00
Bård Skaflestad
7eec899130
Reimplement test_EclipseIO in Terms of TimeStampUTC
...
Mostly just to provide a simple overload of the utility function
ecl_util_make_date
from libecl. The rest of the test code remains intact.
2019-10-16 20:03:08 -05:00
Bård Skaflestad
7e160cb99a
Reimplement ScheduleTests in Terms of TimeStampUTC
...
Note that we have to reduce the year-range in the specific test
createDeckWithDRSDTthenDRVDT
in order not to wrap around for system_clock. This is a deficency of
the new time-service protocol.
2019-10-16 20:03:08 -05:00
Bård Skaflestad
428d4c41f0
Reimplement TimeMap in Terms of TimeStampUTC
2019-10-16 20:03:08 -05:00
Bård Skaflestad
eea51a12b4
Add Simple Time-Service Protocol
...
Mostly for converting between std::time_t and broken-down time
stamps. Uses UTC and std::chrono::system_clock. May wrap in as
little as 292 years, depending on the period of system_clock.
Intended to replace various timestamping utility functions from
libecl. A comprehensive time-service protocol for Flow is much more
work than this, and will likely not be easily realized before we
have C++17 and its much expanded time/calendar library.
2019-10-16 20:03:08 -05:00
Bård Skaflestad
738f98a4ac
Defaulted Table Column: Don't Use 'ssize_t'
...
Instead, switch to 'int' for the 'before' and 'after' row indices.
The 'ssize_t' Posix type alias is not appropriate for this usage
since its range is only guaranteed to be [ -1 .. (1<<15)-1 ].
2019-10-16 20:03:08 -05:00
Bård Skaflestad
4e3693896e
Reimplement 'test_EclipseIO' in Terms of Opm-Common Classes
...
In particular, use EGrid, ERst and EclFile as appropriate.
2019-10-16 20:03:08 -05:00
Joakim Hove
693181187c
Adapt to new DeckKeyword constructor
2019-10-16 21:40:31 +02:00
Joakim Hove
697545cf54
Use dimensions from ParserKeyword
2019-10-16 21:03:02 +02:00
Joakim Hove
233f55c4e2
Update the Deck unitsystem using select method instead of mutable ref.
2019-10-16 21:03:02 +02:00
Joakim Hove
3d94bc6baf
Simplify Deck constructors
2019-10-16 21:03:02 +02:00
Joakim Hove
7b35e68221
Merge pull request #1115 from akva2/janitoring
...
remove unused variables
2019-10-16 20:51:58 +02:00
Joakim Hove
5aa3369be6
Merge pull request #1113 from totto82/addEdit
...
Apply MULTZ also in the edit section
2019-10-16 16:12:43 +02:00
Arne Morten Kvarving
2253448eed
remove unused variables
2019-10-16 16:07:29 +02:00
Joakim Hove
c8597419e1
Merge pull request #1109 from stefoss23/add_keywords_L
...
Added keywords beginning w/ L.
2019-10-16 15:11:49 +02:00
Tor Harald Sandve
3a3808b204
Apply MULTZ also in the edit section
2019-10-16 14:22:59 +02:00
Steinar Foss
fe8692f623
schedule.cpp: removed unused function.
2019-10-16 14:20:16 +02:00
Steinar Foss
0e5c14568e
removed common_state.
2019-10-16 13:59:00 +02:00
Markus Blatt
ae08281927
Merge pull request #1110 from blattms/allow-building-one-by-one-with-installed
...
Allow building a module with dependencies installed but source lying …
2019-10-16 13:50:13 +02:00
Steinar Foss
7d0004f915
added keywords beginning w/ L.
...
added keywords LSLTWNUM, LSNUM, LSOGCR.
added keywords LSOWCR, LSWCR, LSWL.
LSWLPC, LSWU, LTOSIGMA.
added keywords LWKRO, LWKRORG, LWKRORW.
added keywords LWKRW, LWKRWR, LWPCW.
LWSLTNUM, LWSNUM, LWSOGCR.
added keywords LWSOWCR, LWSWCR, LWSWL.
added keywords LWSWLPC, LWSWU, LX.
added keywords LY, LZ, MATCORR.
...
2019-10-16 12:50:23 +02:00
Markus Blatt
a862c14873
Allow building a module with dependencies installed but source lying around.
...
If you set CMAKE_INSTALL_PREFIX, have the dependencies installed there, but
the source of them lying around in the parent directory of the build
directory, then the build will fail starting with opm-models because
we assume that ../opm-material is a build directory and set opm-material_DIR
to it. CMake will complain about not finding opm-material-config.cmake or
Opm-materialConfig.cmake. With this commit we will only set opm-material_DIR
if the directory contains a file CMakeCache.txt (which should be the case in
a configured build directory.
Directory outline of the failing situation is
- ${CMAKE_INSTALL_PREFIX} # where all dependencies are installed
- parent_dir
|____ opm-common #source dir
|____ opm-material #source dir
|____ ...
|____ build #build directory for current module (e.g. opm-modules)
Change is tested with sibling build
- build
|___ opm-common #build dir
|___ opm-material #build dir
|___ ...
and the dune version of it
- parent_dir
|___ opm-common # source dir
|____ build # build dir opm-common
|___ opm-material # source dir
|____ build # build dir opm-material
...
2019-10-16 12:38:51 +02:00
Joakim Hove
b5ab3e2047
Merge pull request #1092 from tskille/ESmry
...
Updates of ESmry - now supporting non-unified result files.
2019-10-15 23:02:02 +02:00
Joakim Hove
0f03777b16
Merge pull request #1106 from joakim-hove/setup-test-fixup
...
Fix spelling error
2019-10-15 09:51:50 +02:00
Torbjørn Skille
e36e87ccde
Update of ESmry, now supporting non-unified result files.
2019-10-15 09:23:40 +02:00
Joakim Hove
1bab7f7aa3
Fix spelling error
2019-10-15 08:11:04 +02:00
Joakim Hove
7b55f10dc0
Merge pull request #1051 from joakim-hove/remove-props-iget
...
Remove index access to GridProperty<T>
2019-10-15 07:53:38 +02:00
Joakim Hove
01c5fe9d1d
Merge pull request #1105 from joakim-hove/python-util-rm
...
Use absolute import for test util
2019-10-15 06:51:54 +02:00
Joakim Hove
2c6d1e0e37
Use absolute import for test util
2019-10-15 00:39:13 +02:00
Joakim Hove
5269f52291
Merge pull request #1075 from joakim-hove/python-install
...
Add Python copy/install hack
2019-10-14 18:46:48 +02:00
Joakim Hove
8c417a51e6
Merge pull request #1098 from joakim-hove/actionx-rst
...
Actionx rst
2019-10-14 18:00:21 +02:00
Joakim Hove
368910a7c2
Merge pull request #1099 from stefoss23/add_keywords_I
...
Added keywords beginning w/ I, J, K and L.
2019-10-14 18:00:07 +02:00
Joakim Hove
583ac5a756
Merge pull request #1094 from blattms/default-constructable-restartkey
...
Make RestartKey default contructable.
2019-10-14 17:29:31 +02:00
Joakim Hove
ce2d8ce211
Merge pull request #1090 from joakim-hove/S
...
Add S keywords up to SURFST
2019-10-14 16:27:33 +02:00
Joakim Hove
7dc77d1ca3
Install PYTHON Modules when running jenkins
2019-10-14 15:53:31 +02:00
Joakim Hove
1ff41de3eb
Avoid use of include/ directory in test data
2019-10-14 15:46:02 +02:00
Jostein Alvestad
5d54d1a2fe
change to avoid error in test_AggregateIntehead
2019-10-14 15:46:02 +02:00
Jostein Alvestad
1f79e2f0e3
corrected merge conflict that was missed in previous commit
2019-10-14 15:46:02 +02:00
Jostein Alvestad
84300d19f3
changes to avoid warnings in compilation
2019-10-14 15:46:02 +02:00
Jostein Alvestad
7973585db0
Initial work to add Actionx data to Eclipse compatible restart file
...
further changes to Actionx - restart
further changes for Actionx data to Restart file
additional changes to output Actionx data to Restart file
add test data for UDQ-ACTIONX
changes to add unit tests for InteHead - Actionx
Added changes to allow for output of IACT, SACT and ZACT to the E100 compatible restart file
changes to add ZLACT to restart output
Further changes - add ZACN - prelim
further changes to add ZACN to restart file
Additional changes to output IACN and SACN to restart
further changes to add IACN and SACN to the restart file
further changes to make unit tests for Actionx data / keywords
further changes to actionx restart and unit tests therefore
Added code for unit tests - not finished
some changes to correct for changes in upstream/master
changes correct errors in IACN and SACN
Initial work to add Actionx data to Eclipse compatible restart file
further changes to Actionx - restart
further changes for Actionx data to Restart file
additional changes to output Actionx data to Restart file
add test data for UDQ-ACTIONX
changes to add unit tests for InteHead - Actionx
Added changes to allow for output of IACT, SACT and ZACT to the E100 compatible restart file
changes to add ZLACT to restart output
Further changes - add ZACN - prelim
further changes to add ZACN to restart file
Additional changes to output IACN and SACN to restart
further changes to add IACN and SACN to the restart file
further changes to make unit tests for Actionx data / keywords
further changes to actionx restart and unit tests therefore
Added code for unit tests - not finished
some changes to correct for changes in upstream/master
changes correct errors in IACN and SACN
changes to avoid change in output data for restart file
further changes to avoid change in RESTART data
minor change to avoid data change in Restart file
2019-10-14 15:45:24 +02:00
Steinar Foss
3ca8cf896e
added keywords beginning w/ I, J, K and L.
...
added keyword JFUNCR.
added keywords KRNUN, KRNUMMF.
added keywords LANGMPL, LANGMUIR, LANGSOLV.
added keywords LGRCOPY, LGRFREE, LGRLOCK.
added keywords LGROFF, LGRON, LINKPERM.
added keywords LKRO, LKRORG, LKRORW.
added keywords LKRW, LKRWR, LOAD.
2019-10-14 15:39:16 +02:00
Markus Blatt
c379e7e3b0
Make RestartKey default contructable.
...
Otherwise we cannot even resize a vector of it and this will be needed
for restart when getting rid off the global grid on all processes.
2019-10-14 15:17:57 +02:00
Bård Skaflestad
1db06277ce
Merge pull request #1088 from bska/further-decouple-from-libecl
...
Further Decouple OPM-Common From libecl
2019-10-14 08:12:40 -05:00
Joakim Hove
8576bf5809
Merge pull request #1093 from stefoss23/python_unit_system
...
python: added class UnitSystem.
2019-10-14 14:03:18 +02:00
Bård Skaflestad
662e44683c
INTEHEAD Test: Initialize Maximum Number of Wells in Field
...
Fixes a warning about missing initializers.
2019-10-14 06:14:09 -05:00
Bård Skaflestad
411da1d8a5
Make 'test_Restart' Mostly Independent of libecl
...
In particular, swith to using class EclIO::ERst to read the files
produced by RestartIO::save().
2019-10-14 06:13:38 -05:00
Bård Skaflestad
3802b4574a
Make 'test_Summary' Independent of LibeECL
...
This commit switches the 'test_Summary' unit test to use class ESmry
for inspecting the values output to disk by 'out::Summary'. As a
consequence, we are not able to verify units of measure for the
parameters, at least not for the time being. Moreover, class ESmry
exclusively uses the "i,j,k" sub-key for block-related parameters so
switch those to reference the IJK identifiers.
Finally, as class ESmry currently does not support reading separate
(multiple) summary files, switch the input decks to generate unified
output.
2019-10-14 06:13:38 -05:00
Bård Skaflestad
c013639b51
Make Most Unit Tests Independent of LibECL
...
This commit switches a set of OPM-Common's unit tests away from
using direct calls to libecl functions and into using base types
from OPM-Common itself (along with Boost.Filesystem).
In particular summary related queries are replaced by calls to ESmry
member functions (wrapped in libecl-like interfaces to minimise code
changes). We disable checks on unit strings since ESmry currently
does not have a way of associating those with individual variables.
2019-10-14 06:13:38 -05:00
Bård Skaflestad
bcfe700461
Decouple Most of OPM-Common From LibECL
...
This commit takes a pass at the implementation files in opm-common
and removes references to libecl functions where practical. In
particular we switch to using types from C++'s standard library (and
Boost.Filesystem) to achieve the effects of the interfaces being
replaced.
We also insert direct calls to Posix function fnmatch() to preserve
existing pattern matching behaviour (well lists and well templates).
2019-10-14 06:13:38 -05:00
Bård Skaflestad
d84b7e19ee
ESmry: Add Way of Retrieving Ministep Index at Start of Report Step
...
This commit introduces a new member function
int ESmry::miniStepIdxAtReportStep(rptStep)
which returns the zero-based ministep corresponding to the start of
the given report step (one-based indexing). This will simplify
decoupling a few unit tests from libecl.
2019-10-14 06:13:38 -05:00
Joakim Hove
59b73a0667
Change the python installation code
...
- Main cmake based python installation is based on small script install.py and
not setup.py
- Python installation is guarded by cmake switch OPM_INSTALL_PYTHON
- Configure convenience shell script setup-install.sh for setup.py based
installation.
- Remove PYTHONPATH hacks from setup.py
2019-10-14 13:13:09 +02:00
Atgeirr Flø Rasmussen
d4cfa5127f
Merge pull request #1097 from akva2/enable_flow_variants
...
changed: build flow variants on jenkins
2019-10-14 12:59:30 +02:00
Steinar Foss
a089f9ff47
CMakeLists_files.cmake added unit_system to EMBEDDED_PYTHON.
2019-10-14 12:54:17 +02:00
Joakim Hove
87362c1336
Merge pull request #1095 from joakim-hove/inner-exc
...
Rephrased error message
2019-10-14 12:50:55 +02:00
Joakim Hove
635071d492
Merge pull request #1082 from bska/new-summary-writer
...
New summary writer
2019-10-14 12:25:44 +02:00
Joakim Hove
a47ffcc349
Remove index access to GridProperty<T>
2019-10-14 12:23:18 +02:00
Joakim Hove
2d4f941718
Merge pull request #1096 from akva2/janitoring
...
Some janitoring
2019-10-14 12:19:13 +02:00
Arne Morten Kvarving
9b44a8f5ce
changed: build flow variants on jenkins
2019-10-14 11:06:42 +02:00
Arne Morten Kvarving
4e720c5d74
remove noop explicit template instantation after specialization
2019-10-14 08:54:05 +02:00
Arne Morten Kvarving
d98518c023
avoid returning uninitialized result if wrong indices are given
2019-10-14 08:53:44 +02:00
Arne Morten Kvarving
b0273485c7
remove unused assignment
2019-10-14 08:53:33 +02:00
Arne Morten Kvarving
463d9eb53d
remove unused initialization
2019-10-14 08:53:12 +02:00
Arne Morten Kvarving
11462f7618
add missing initializer
2019-10-14 08:36:42 +02:00
Arne Morten Kvarving
73866b97f2
remove unused variable
2019-10-14 08:36:36 +02:00
Arne Morten Kvarving
8979fe25af
remove unused function
2019-10-14 08:36:26 +02:00
Steinar Foss
a2a016951f
python unit_system name.
2019-10-13 22:53:56 +02:00
Bård Skaflestad
2eb3a06024
Replace Writer for Summary/SMSPEC Files
...
This commit replaces the existing system for writing summary and
specification (SMSPEC) files with a new implementation based on
class EclOutput. We package the evaluators of individual parameters
in a set of classes determined by the parameter's category which
each implement a virtual 'update()' function. This update function
ultimately writes new values into a SummaryState object.
Add a factory-like system for instantiating the appropriate class
depending on a SummaryNode's 'category()'. Also, add a helper class
for managing the parameters that a configured in a simulation
model's SUMMARY section in order to distinguish these from those
parameters that are merely needed for restart purposes. The summary
class's 'eval()' function then becomes a loop over the evaluators
for parameters in SUMMARY followed by a loop over the evaluators for
restart vectors.
We reimplement the 'internal_store()' function in terms of an
std::vector of a helper structure 'MiniStep' which holds a ministep
ID (contiguous counter started at zero), a report step ID, and all
the evaluated parameters of this ministep. The final write function
then consists of outputting those ministep structures that have
accumulated since the previous call to write(). If a simulation
does not call write at all, then this will accumulate all parameters
for all ministeps throughout the simulation history.
We create the SMSPEC file at most once, and write to it at most each
report step. We create the summary file once (if unified) or at
each report step (if separate).
2019-10-12 20:21:17 -05:00
Bård Skaflestad
7d11a59197
SMSPEC: Temporarily Restore Unconditional RESTART Vector
...
Needed to ensure we create the same summary/specification files as
the existing system. We will revert this change once the new system
is in place and we can afford to update the reference solutions.
2019-10-12 18:38:20 -05:00
Joakim Hove
8409c205ae
Rephrased error message
2019-10-12 08:04:37 +02:00
Steinar Foss
a177d3b887
python/cxx/export.hpp: rearranged UnitSystem position.
2019-10-11 22:40:35 +02:00
Steinar Foss
c0bd19c59e
python: added class UnitSystem.
2019-10-11 22:02:54 +02:00
Joakim Hove
a710e9b8b8
Add S keywords up to SURFST
2019-10-11 15:55:29 +02:00