Commit Graph

426 Commits

Author SHA1 Message Date
jonjenssen
5391179e16
Add separate target for unit tests for easier test access. Remove unit tests from ResInsight application. (#11184)
Clean up cmake configuration a bit, and pull down gtest when needed, no longer use a thirdparty subfolder
Add a ResInsight-tests target to run the unit tests
2024-02-11 20:04:04 +01:00
Magne Sjaastad
b1420da40e Update opm-common 2024-01-22 17:37:15 +01:00
Magne Sjaastad
80fdd1da74 Return pair of vectors and rename 2024-01-22 14:52:49 +01:00
Magne Sjaastad
502f7d4b2b Update opm-common 2024-01-22 08:42:23 +01:00
jonjenssen
251952e6ef
Fault reactivation updates (#11079)
* Allow extending cell intersection lines outside cell
* Update default values, and clean up some things
* Populate fault zone element set
* Update to latest openzgy to fix typo
2024-01-19 08:39:10 +01:00
Magne Sjaastad
5c096748c8
Optionally log messages to file (#11059)
* Add spdlog as submodule
* Add RiaFileLogger
* Control use of file logger from preferences
2024-01-15 17:51:03 +01:00
Magne Sjaastad
f907c6bdff #11024 Allow grid calculator expressions with no input cases
Will make it possible to use calc := 3
2024-01-12 16:06:32 +01:00
Magne Sjaastad
58815aebea Update opm-common 2024-01-12 12:51:22 +01:00
Magne Sjaastad
ca119af0ec Update openzgy 2024-01-12 08:16:50 +01:00
Magne Sjaastad
ff6472c6b7
Update to clang-16
Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
2024-01-05 15:13:50 +01:00
jonjenssen
411eda6b6c Update docking to latest version 2023-12-12 11:40:55 +01:00
jonjenssen
2523814fc2 Remove old ads 2023-12-12 11:40:55 +01:00
Kristian Bendiksen
fa7a56f1e2 #10861 Add import/export for grid calculations 2023-11-28 11:42:21 +01:00
Kristian Bendiksen
4fcba67506 Bump vcpkg to v2023.11.20 2023-11-27 16:16:32 +01:00
Kristian Bendiksen
852cd400b8 #10720 Summary Import: support upper/lower case mismatch between filename and extension.
Importing files with different casing in base name and extension would fail when
using libecl summary reader. E.g "norne_atw2013.SMSPEC" would fail since libecl
forces the extension to be lower case even though it is given the actual extension.

Removing the lowercasing allows more flexibility in the file naming.

The problem only occurs when the libecl summary reader is used, the opm-common
can already import these files.

Fixes #10720.
Fixes #10617.
2023-10-20 13:53:00 +02:00
Magne Sjaastad
81809efee9 Add support for grid import using opm-common
Add support for import of geometry and results for main grid. Currently no support for LGR.

Add selection in Preferences to either use libecl or opm-common for grid import.

If RESINSIGHT_DEVEL flag is set, display reader in an Eclipse case to make it possible to compare Eclipse and opm-common in same project.

Add more includes to custom-opm-common to be able to support this functionality. opm-common is unchanged.
2023-08-28 13:46:50 +02:00
Magne Sjaastad
7a6569066c
Update opm-common for summary network names
* Use updated opm-common for summary node vectors
* Update use of precompiled opm-common
2023-08-14 11:13:05 +02:00
Magne Sjaastad
0d8cf73677 #10493 Avoid crash during import of grid model from IX
The crash situation is caused by an invalid well state. Allowing the import to continue using the invalid well state seems to imported data correctly.
2023-08-11 21:30:27 +02:00
jonjenssen
2614cf3d62
Update docking to latest version (#10464) 2023-08-01 17:39:10 +02:00
jonjenssen
803b67506a
Add basic support for calculating and showing seismic difference (#10377)
* Add basic support for calculating and showing seismic difference
2023-06-12 11:56:48 +02:00
Kristian Bendiksen
d3c33ce169 Regression analysis: update submodule to fix wrong project name 2023-06-09 17:58:53 +02:00
Kristian Bendiksen
adbe080dcf Regression Analysis: fix polynominal -> polynomial typo 2023-06-09 10:56:56 +02:00
Kristian Bendiksen
ca4d05dec9 Regression Analysis: Add logarithmic, exponential and logistic regression. 2023-06-02 11:32:23 +02:00
jonjenssen
9a219ddcb2 Update docking framework to latest version and add fix to make redocking of floating windows work on WSL/wayland 2023-05-21 15:15:46 +02:00
Magne Sjaastad
bce8177033
Delete some unused variables and disable warnings 2023-05-21 15:15:09 +02:00
Kristian Bendiksen
dc3530ac0b Regression Analysis: Report R-squared (confidence of determination). 2023-05-19 20:00:12 +02:00
Magne Sjaastad
95e3435384
Update pull request actions 2023-05-18 21:21:33 +02:00
Magne Sjaastad
873ff95c13 Disable some warnings for MSVC 2023-05-16 15:53:05 +02:00
Kristian Bendiksen
5b5a302f21 Regression Analysis: Avoid fetching Eigen 2023-05-16 09:42:18 +02:00
Kristian Bendiksen
c23cdee17d #7206 Add regression analysis. 2023-05-16 09:42:18 +02:00
Magne Sjaastad
f70d2c4949
Add result type and create and use custom legend if possible
* Update submodule
* Use postfix functions and add custom color legend

* Add type to RigEclipseResultAddress
Read types from ROFF and create default legend based on type or custom created legend.

* Use caseId to connect legend configuration to result in a case
2023-05-09 11:41:56 +02:00
Magne Sjaastad
c9839fcf93 #10191 Return ECLIPSE_UNDEFINED without crashing 2023-05-01 18:56:51 +02:00
Magne Sjaastad
448e3dfcbc #10191 Read NNC data from INIT file for Intersect files 2023-04-28 11:38:23 +02:00
jonjenssen
33b19a8bb3 Use latest openzgy wrapper 2023-04-24 23:09:03 +02:00
jonjenssen
0e7cf49b17
OpenVDS seismic access (#10145)
Add OpenVDS support for reading seismic data from VDS files
2023-04-21 16:38:04 +02:00
jonjenssen
1299af401b
Add seismic result info in 3D view (#10032)
Add seismic result info in 3D view and selection in tree
2023-03-29 14:08:45 +02:00
jonjenssen
2e01f4a31d
Basic seismic support (#10010)
Add basic seismic section support to eclipse and geomech views.
2023-03-24 15:36:10 +01:00
Arash Partow
86d5220551 Update ExprTk 2023-02-27 11:29:03 +01:00
jonjenssen
40fe3d12ae Bring in detection of wayland to improve docking behaviour on Ubuntu 22 2023-02-20 07:24:57 +01:00
Magne Sjaastad
1922a02fc3 #9139 Avoid crash for dual porosity case with NNC
libecl supports only import of NNC data for matrix. Disable asserts to avoid crash in file reader. No NNC fracture data is imported.
2023-02-15 13:55:50 +01:00
Magne Sjaastad
af7fe8f00e #9844 Summary Restart: Add more guarding on empty strings
When trying to import a restart case, parsing of the restart path causes crash in some cases. Add more checking on NULL.
2023-02-14 19:11:14 +01:00
Magne Sjaastad
b3a56a9353
Add support for radial grids
* Update radial grid operations in submodule
* Optionally display cell center and cell corners when clicking on cell
* Add support for import of radial grids
* Modify node coordinates to match host cell
2023-02-10 12:39:13 +01:00
Jon Jenssen
c45c835d39 Update docking submodule to latest version 2023-02-02 07:27:24 +01:00
Magne Sjaastad
583c248cf9
Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-01-24 12:29:27 +01:00
Kristian Bendiksen
14e06ac4f9 #9656 ROFF: Avoid install of gtest when creating package for ResInsight 2023-01-12 10:07:55 +01:00
Kristian Bendiksen
7a79930ea6 Roff: add roff namespace. 2023-01-11 07:22:18 +01:00
Kristian Bendiksen
8d92e3f6b7 Update roffcpp submodule to support binary string arrays. 2023-01-06 14:57:17 +01:00
Kristian Bendiksen
ca5064e7da Roff: import properties from Roff grid files. 2022-12-22 19:24:14 +01:00
Kristian Bendiksen
8b51160ac4
Roff support with submodule
* Roff: Add initial roff support (with roffcpp as submodule).
* Roff: Create viewer when importing roff files.
* Roff: add timing for roff import.
* Roff: precompute active cell indexes.
* Roff: parallelize using OpenMP.
* Roff: Handle exceptions when importing.
* Roff: improvements from review.
* Invert ordering

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2022-12-19 15:28:26 +01:00
Magne Sjaastad
4e51516a96
Import of grid models: Support mix of lower and upper case letters in file name
* #9529 libecl: Allow mix of upper and lower case in file names
2022-12-16 07:00:45 +01:00