Commit Graph

405 Commits

Author SHA1 Message Date
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
Gaute Lindkvist
7bbe505d39 #4762 Fix ecl_grid_reset_actnum in the libecl-team suggested way 2019-10-24 14:13:19 +02:00
Gaute Lindkvist
1255c877d7 Revert "#4762 Fix reset_actnum libecl crash on load"
We will check in a different fix on recommendation by libecl team

This reverts commit 047136e8b8.
2019-10-24 14:13:19 +02:00
Magne Sjaastad
5930478a90 #4914 Flow Diag : Improve robustness when reading PVT data
https://github.com/OPM/opm-flowdiagnostics-applications/pull/98
2019-10-23 13:24:47 +02:00
Gaute Lindkvist
047136e8b8 #4762 Fix reset_actnum libecl crash on load 2019-09-25 17:49:58 +02:00
Magne Sjaastad
528d4523bd System : Disable warnings 2019-09-16 21:23:11 +02:00
Magne Sjaastad
29184f4475 System : Disable warnings 2019-09-16 13:33:05 +02:00
Magne Sjaastad
ecf5a67074 System : Upgrade to Qwt 6.1.4
Avoid use of deprecated Qt functions like QString::null
2019-09-13 10:07:49 +02:00
Bård Skaflestad
99ce43ccdb Support Creating ECLGraph from "ecl_grid_type*"
This commit introduces a new static function

  ECLGraph::load(const ecl_grid_type*, const ECLInitFileData&)

This is in order to simplify constructing the backing graph from
ResInsight's .EGRID input--especially to have consistent view of
a model's active cells irrespective of which simulator created
the result set.
2019-06-17 19:31:48 +02:00
Magne Sjaastad
936fab3e32 libecl : Improve comment 2019-06-03 09:11:03 +02:00
Magne Sjaastad
dcf33d9289 #4453 Dual Porosity : Use ACTNUM value 3 when creating values from PORV 2019-05-31 14:53:36 +02:00
Gaute Lindkvist
6691dca4ca #4448 Clean up ResInsight Qt5-checks 2019-05-28 15:58:49 +02:00
Magne Sjaastad
1d574fd8c7 #4266 : opm-flowdiagnostics-applications : Update to f57942a8cdf57422fabf3a4423d02a3e46e0be4e 2019-05-09 10:09:06 +02:00
Magne Sjaastad
819744a03b #4266 : opm-flowdiagnostics : Update to 8bb60d6111063f2b7557502ecaa329a2d5c13b41 2019-05-09 10:06:27 +02:00
Magne Sjaastad
2af89b57de #4266 : libecl : Applied patch for geomech 2019-05-09 09:27:36 +02:00
Magne Sjaastad
e8c214a7e9 #4266 : libecl : Applied patch to avoid recompile at each commit 2019-05-09 09:26:31 +02:00
Magne Sjaastad
6f78404f92 #4266 : libecl : Applied patch related to install 2019-05-09 09:25:31 +02:00
Magne Sjaastad
a31d8cbea6 #4266 : libecl : Fix several crash issues 2019-05-09 08:41:06 +02:00
Magne Sjaastad
96a7f02abe #4266 : flow diagnostics: Update related to API changes 2019-05-09 08:41:02 +02:00