Commit Graph

423 Commits

Author SHA1 Message Date
Magne Sjaastad
daa8d7305b #9455 libecl: Fix summary restart absolute path issues
Test for absolute path before other logic during extraction of summary restart file path.
2022-11-10 11:08:30 +01:00
Magne Sjaastad
b1b0fd9d35 libecl: Fix for more data in summary restart path
Allocate 17 words of 8 characters each, add 1 for zero terminated string.
2022-11-09 17:11:21 +01:00
Magne Sjaastad
0fa001fc70
Opm Parser: Include PATHS when importing WSEGLINK
* Opm Parser: Include PATHS when importing WSEGLINK
Add PATHS to supported keywords to be able to use include files with alias in file path.
* Move opm-parser-tests into OPM solution folder
2022-10-21 07:47:27 +02:00
Magne Sjaastad
6d5e303361
Add topology curves and show in additional track
* Add topology curves and default plot
* Improve visual appearance
* Update sub module opm-common
* Add support for INCLUDE keyword to allow parsing of include files recursively
* Search for *.DATA with fallback to *.SCH to automatically import WESEGLINK data
* Find annulus branch based on MD diff on segment start
* Stop growing device branch if segment starts at a lower MD than previous
2022-10-07 12:37:23 +02:00
Magne Sjaastad
1f2e9babe6
RFT: Support device and annulus branches (#9168)
* Add unit test used to read data from WSEGLINK
* Add segment branch type
* Add detection of device branches
* Add data source stepping on branch type
* parse wseglink data
* add RFT case as child of RimFileSummaryCase
2022-08-16 12:40:25 +02:00
Jon Jenssen
2cac57df13 Update qtadvanced docking to latest version 2022-08-03 13:06:55 +02:00
Magne Sjaastad
7a0bfd4917 Use updated version of opm-common as submodule
* Adjustments to build system for opm-common
* Add opm-common as submodule
* Disable use of unity build for opm-common
2022-07-07 22:17:33 +02:00
jonjenssen
d5269abc6e
New dockingsystem (#9116)
* Use Qt Advanced Docking as forked submodule
* Use new docking system in code
2022-07-07 12:03:02 +02:00
jonjenssen
fa2cf302bb
Add qt advanced docking to third party folder and build environment (#9109)
* Add qt advanced docking as submodule
2022-07-05 11:06:10 +02:00
Kristian Bendiksen
29e1a72d76 libecl: Add more special-case MISC vectors 2022-05-31 22:16:24 +02:00
Kristian Bendiksen
e7f27abae7 libecl: add support for network variables 2022-05-31 22:16:24 +02:00
Magne Sjaastad
87b822a80f
Curve Style : Add support for curve fitting for non-solid line styles 2022-04-20 14:25:47 +02:00
Magne Sjaastad
86fda13daa Update vcpkg to tag 2022.03.10 2022-04-07 17:48:09 +02:00
Kristian Bendiksen
32ec472829 Multiaxis plot: fix moving axis from other side 2022-04-04 12:10:20 +02:00
Magne Sjaastad
dde0487024 Multiaxis: add support for Qwt multiaxis plot 2022-04-04 12:10:20 +02:00
Magne Sjaastad
8d3f381b4f
Janitor: Update qwt to 6.2.0 2022-03-18 13:16:07 +01:00
Magne Sjaastad
f154f8c500
Import RFT segment data as well log curve (#8449)
Add reader for RFT data using opm-common
Extend RFT curve with support for RFT segment data
Adjustments related to horizontal well log plots

8581 Well Log Plot : Update of curve appearance does not update plot
2022-02-23 13:57:02 +01:00
Magne Sjaastad
2d2bf0bbc7
CMake : Improve handling of compiler flags (#8486)
#8478 Code cleanup to fix some warnings

Several adjustments to improve the specification and usage of compile flags.
2022-01-26 10:08:28 +01:00
Magne Sjaastad
562be98e63 Janitor: Add type cast 2021-12-14 12:01:06 +01:00
Håkon Hægland
b3bd62cc18 Add missing limits header in SummaryNode.hpp
This fixes issue #8328.
2021-11-29 11:33:31 +01:00
Magne Sjaastad
a620ddb665 Update vcpkg to latest release (2021.05.12)
Use https://github.com/microsoft/vcpkg
2021-11-11 16:02:36 +01:00
Magne Sjaastad
9894c1da35 #8143 System : Add external libs fast_float and mio
https://github.com/fastfloat/fast_float
https://github.com/mandreyel/mio
2021-10-13 12:52:02 +02:00
Magne Sjaastad
da43084fcb opm-common : Cherry-pick region bugfix 2021-09-29 18:46:26 +02:00
Bård Skaflestad
b220c2762f Include <cctype> for std::isdigit
Fixes build on VS 2017.
2021-09-13 12:51:22 +02:00
Magne Sjaastad
d1463645d0 #7912 Summary Data Import : Include LGR in construction of SummaryNode 2021-09-13 10:00:45 +02:00
magnesj
2dbe0a0c9c #7912 Summary Data Import : Update selected opm-common files 2021-09-13 10:00:45 +02:00
Magne Sjaastad
c7917915cd #7912 Summary Data Import : Add fmt to ThirdParty 2021-09-13 10:00:45 +02:00
Magne Sjaastad
640c59d682 #7942 Summary Plot: Make reading of summary data file more robust
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Magne Sjaastad
e961dce97d #7944 Cell selection: Avoid crash for Pflotran simulation case 2021-09-02 15:55:43 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Magne Sjaastad
fc947558d5 #7852 Crash on dual porosity grid model load and clicking on cell in 3D view 2021-08-03 14:34:51 +02:00
Magne Sjaastad
6b4d80d116
HDF Summary : Add support for LGR summary vectors 2021-04-22 15:55:52 +02:00
Magne Sjaastad
8e569bc944 opm-common : Always use Opm::filesystem 2021-04-20 11:05:33 +02:00
Magne Sjaastad
a6277c0ddc
Make opm summary reader work with mixed casing (#7593)
* #7592 opm-common : Add case insensitive file search
* #7592 opm-common : Find file based on case insensitive search
* #7592 opm-common : Improve error messages
2021-04-19 16:40:29 +02:00
Bård Skaflestad
9c4ba8144d Add Missing Includes
Needed to build application in VS 2017.
2021-04-19 14:33:51 +02:00
Magne Sjaastad
0181e640ec Opm-common : Add helper functions to extract two region numbers 2021-04-18 08:56:59 +02:00
Magne Sjaastad
4c7c895b87 Updated opm-common to latest 2021-04-18 08:56:59 +02:00
Magne Sjaastad
3bc569e2a6 #7563 HDF5 Export : Add flag to generated HDF5, default off
Fixes by cmake-format

Try to fix copy constructor issues


Fix missing initialization


Unused variable
2021-04-11 13:04:49 -07:00
Magne Sjaastad
8128b26c27 #7527 opm-common: Add smspecKeywordIndex to SummaryNode 2021-04-08 07:13:34 -07:00
Magne Sjaastad
6e45d51e4e
Update vcpkg
Update vcpkg to be compatible with OSX
2021-04-05 17:23:40 +02:00
Magne Sjaastad
f5547dd551
#7512 Support optimized summary reader 2021-03-25 12:56:09 +01:00
Magne Sjaastad
0377da8097
System : Optionally bundle OpenSSL on Linux (#7458) 2021-03-05 09:56:05 +01:00
Magne Sjaastad
4666c45f66 #7065 WBHP for historic period reported as -99 in some cases
Use 0.0 instead of nan, as this behaves in a better way when computing statistics and visual display of curves.
2021-02-16 14:15:20 +01:00
Magne Sjaastad
1e0e429156 #7065 WBHP for historic period reported as -99 in some cases
Use NaN instead of -99 to indicate no data present
2021-02-16 11:10:17 +01:00
Magne Sjaastad
6ebf3aaaca #7350 PVT curves : Use PVTNUM value to get PVT curve data 2021-02-10 15:19:38 +01:00
Magne Sjaastad
7aa3a47b36 #7335 Dual poro models : Throw exception if invalid data is detected 2021-02-07 21:45:08 +01:00
Magne Sjaastad
b2fc74e73e #7335 Dual poro models : Support using matrix part of PORV
For dual porosity models, use PORV from the matrix part.

Also guard all conversion of 1-based to 0-based indexing to avoid potential undefined behaviour.
2021-02-05 15:35:33 +01:00
Magne Sjaastad
4bd76a78ad Update flow diagnostics from upstream master 2021-02-05 15:35:33 +01:00
Magne Sjaastad
a060ba349e #7316 Curve Calculator: Add support for single line if-statement 2021-02-02 14:30:26 +01:00
Arash Partow
3affa41830 Update the ExprTk library 2021-01-31 16:58:51 +01:00
Gaute Lindkvist
04d5daca67 Create a new ApplicationExe project for the executable 2021-01-11 15:27:45 +01:00
Gaute Lindkvist
6a2baf9c45 Upgrade to Clipper 6.4.2 2020-12-07 15:00:59 +01:00
Bård Skaflestad
f52cff17ec Patch OPM-Common To Support VS 15 (2017)
Include <cctype> to bring declarations of std::toupper() &c into
scope.  With this patch the application builds on VS 15 (2017)
using MSVC 19.16.27044 on Windows 10 1909.
2020-11-17 04:49:48 -08:00
Magne Sjaastad
54480d8406 Remove python sub-folder 2020-11-16 16:09:02 +01:00
Magne Sjaastad
b0ec2895be Enable unity build on opm-common 2020-11-16 14:55:45 +01:00
Magne Sjaastad
be23df1398 Split Sutbstitutes into cpp and header to make it possible to use unity build 2020-11-16 14:55:29 +01:00
Ruben Thoms
f563748e1b Included stdexcept. 2020-11-16 11:34:09 +01:00
Ruben Thoms
a180fc431b Include boost spirit in order to compile opm-common. 2020-11-16 11:34:09 +01:00
Magne Sjaastad
df2a6fb9d9 Update opm-common based on 2020.04 branch
Use branch https://github.com/CeetronSolutions/opm-common/commits/windows-fixes-2020.04
Update from 34ff4827569bb04190743e7aae3404794ccd188a
2020-11-16 11:34:09 +01:00
Magne Sjaastad
011174153e Minor compiler fixes 2020-11-16 11:34:09 +01:00
rubenthoms
0747547aaf Added CMake files for generating and including OPM-common as a ThirdParty library. 2020-11-16 11:34:09 +01:00
rubenthoms
9742317e98 Added tests for OPM-common. 2020-11-16 11:34:09 +01:00
rubenthoms
dd3a3efa19 Added directory for generated content from OPM-common, filled with the parser keywords. 2020-11-16 11:34:09 +01:00
rubenthoms
ca01feeb2f Added OPM-common as a ThirdParty library. 2020-11-16 11:34:09 +01:00
Magne Sjaastad
70dfdd9a41 #6869 Coarse Grid: Make sure empty coarsening cells are handled correctly
Based on fix by Jean-Paul Balabanian <jpb@equinor.com>
2020-11-03 04:34:40 -05:00
rubenthoms
1941a1f3d3
Boost and Eigen to vcpkg (#6817)
* Moved boost subset installation to vcpkg.

* Moved Eigen to vcpkg.

Added packages to vcpkg-response files.
Removed unnecessary include_directories() calls.


Removed comments.

* Use target_link_library instead of boost_libraries

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2020-10-25 09:22:19 +01:00
Gaute Lindkvist
18d250ebf1 Moved VCPKG into ThirdParty 2020-10-20 11:05:27 +02:00
Gaute Lindkvist
78ba28e916 Update Boost-subSet to 1.74.0 to fix C++17 incompatibility issues 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
e797c5ccdf Add GSL headers as third party library (header only) 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
0354664b8f Get rid of warning of CMake policy CMP0042 by copying in new libecl code 2020-10-20 11:05:10 +02:00
Gaute Lindkvist
3834fdb382 Revert "Move RiuQssSyntaxHighlighter.h from MOC-headers to regular headers"
This reverts commit 2064ec6bf0.
2020-10-19 10:48:17 +02:00
Gaute Lindkvist
2064ec6bf0 Move RiuQssSyntaxHighlighter.h from MOC-headers to regular headers 2020-10-19 10:30:34 +02:00
Magne Sjaastad
2cfa900041 #6514 Dark Theme : Fix text color in nightcharts 2020-09-25 14:32:06 +02:00
Ruben Manuel Thoms
87bc6acd65 Added a GUI theme selector in preferences and a new class for handling GUI changes.
Added a new feature for editing style sheets and variable colors and see immediately the result.
Made Qwt plots (and items) stylable.
Added icons, improved styling possibilities of QMinimizePanel, fixed minor bugs in RicThemeColorEditorFeature.
2020-09-25 14:32:06 +02:00
Gaute Lindkvist
9afac51bca #6567 Remove use of GNU GSL 2020-09-24 08:05:25 +02:00
Gaute Lindkvist
12c264b2a6 Update some comments in PdmObjectMethod 2020-08-07 13:01:29 +02:00
Stein Inge Dale
edc4b39acb Color Legend : Added RAINBOW for better depth visualization (issue #6168)
- Included RAINBOW color legend
- RAINBOW set as default when creating a new contour plot
2020-08-06 11:20:17 +02:00
Ruben Manuel Thoms
40a4e57129 Qt 5.15 adjustments related to the change of location of QPainterPath 2020-08-04 14:01:38 +02:00
Gaute Lindkvist
00c02dbf16 Upgrade to Qwt 6.1.5 2020-08-04 11:57:54 +02:00
Kristian Bendiksen
817ae0290c #6029 Upgrade gtest to v1.10 for ApplicationCode/. 2020-06-03 22:06:29 +02:00
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Magne Sjaastad
ba65ba08c6 Update qwt submodule 2020-04-24 17:01:55 +02:00
Gaute Lindkvist
c801d768d3 Removed qwt from source code tree and added submodule 2020-04-24 15:12:43 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Magne Sjaastad
21361b7bc6 Revert back to required CMake 2.8.12 2020-04-23 13:32:16 +02:00
Gaute Lindkvist
5d469e6bef Change to use ampl/gsl rather than lindkvis/gsl 2020-04-22 17:07:56 +02:00
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +02:00
Magne Sjaastad
dbe782a9a0 LibEcl : Add missing include for latest VS2019 2020-04-18 09:20:40 +02:00
Gaute Lindkvist
60419f0985 Working Correlation Plot prototype 2020-04-17 13:54:21 +02:00
Magne Sjaastad
4e3a894464 #5370 Unity Build : Add config for AppFwk 2020-01-23 13:37:29 +01:00
Magne Sjaastad
89c306cb5a #5325 Summary Import : Avoid abort for incomplete summary data 2020-01-10 14:28:46 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Gaute Lindkvist
285433cbb8 #4927 Blind attempt at improving reliability of smspec import 2019-11-28 08:03:59 +01:00
Gaute Lindkvist
9b2c5c1382 Fix build issue in opm-flowdiagnostics for VS2019 2019-11-26 14:36:42 +01:00
Magne Sjaastad
157219e63d #5015 libecl : Make sure *.UNSMRY is closed properly after data is read
Earlier attempts to fix this caused major performance issues. Now closing the file stream when reading of vector data is completed, seems to work as expected.
2019-11-08 11:12:06 +01:00
Magne Sjaastad
4c9048cd6a Revert "#5015 libecl : Make sure *.UNSMRY is closed properly after data is read"
This reverts commit f1070cdb82.
2019-11-08 11:05:14 +01:00
Magne Sjaastad
f1070cdb82 #5015 libecl : Make sure *.UNSMRY is closed properly after data is read 2019-11-08 08:58:33 +01:00
Magne Sjaastad
18eee02bb1 #4966 tNav Crash on import : Guard null pointer access in flow diag library 2019-11-02 07:38:23 +01:00
Magne Sjaastad
32b5d7696d
System : Remove build warnings (#4963) 2019-11-01 10:00:07 +01:00
Gaute Lindkvist
7e5d358fa1 Simplified code following further review 2019-10-24 14:13:19 +02:00