Commit Graph
17704 Commits
Author SHA1 Message Date
jonjenssen efa3ef8f52 Plot panel updates (#12185)
* Support delayed updates for rel perm and pvt plots
* Support time step marker tracking view in result plot
2025-02-25 14:58:33 +01:00
Magne Sjaastad ae04096cf5 Avoid duplication of the same text in plot title
For calculated curves, the name vector name is often created using underscore. Check if the vector name already is present in the title.

Related to https://github.com/OPM/ResInsight/issues/12157
2025-02-25 09:44:43 +01:00
Magne Sjaastad bb18a269ed #12176 Remove assert when creating pipe geometry 2025-02-25 08:24:39 +01:00
Magne Sjaastad c944b522c9 GHA: Add check for main branch for publish to PyPi 2025-02-24 15:04:18 +01:00
Magne Sjaastad 85abd0c51b #12181 Grid Cell Curve: Allow stacking of grid cell curves in summary plot
* Add stacking to grid cell curves in summary plot
* Add spacing in label text "Cell I J K"
* Add padlock icons and do not delete locked curves
* Show padlock icons only when summary plot is automated
2025-02-24 14:20:13 +01:00
Magne Sjaastad f4c31e0b28 Create multiple polygons from a contour map
* Fix overwrite of value thresholds
* Fix performance issue with filtered values
* Add "Delete All Polygons" from the polygon collection
* Add area threshold where user can specify area cutoff
2025-02-24 10:06:06 +01:00
Magne Sjaastad bbd79cca6a #12168 Allow highlight of curves based on selection of realization object
Use the first available highlighted curve as basis for display of horizontal readout value. Fallback to single realization curves.
When selecting a realization in project tree, highlight all related curves
Make sure zoom rect works when readout annotations are active
2025-02-18 11:04:40 +01:00
Magne Sjaastad eac1c84ed4 Bump to dev.04 2025-02-17 18:43:42 +01:00
Magne Sjaastad cf2ae4ffb8 Python: Add support for manipulation of camera position
* Remove debug output in the views function
* Add scripting support for Mat4d
* Add scripting support to camera
* Separate updates for background color and font size
2025-02-17 18:27:16 +01:00
Magne Sjaastad bf5791105b #12166 Statistics Contour Map: Static results do not work 2025-02-17 18:26:11 +01:00
Magne Sjaastad ec823370d0 Add "Request New Authorization"
Add reauthenticate to general authenticate dialog
2025-02-17 09:13:50 +01:00
Magne Sjaastad 860588d755 #12008 Improve display of curves from selected cells in 3D view
* Remove obsolete base class
* Add conversion between one/zero-based IJK
* Move code to RiaTextStringTools
* Add automatic update of grid cell curves when clicking in 3D view
* Fix missing conversion to QString
2025-02-14 09:35:28 +01:00
Magne Sjaastad f743957b0a Notify fieldChanged on all curves 2025-02-13 15:12:24 +01:00
Magne Sjaastad b165488828 Remove settings settings from plot editor
Remove appearance and name settings
2025-02-13 15:12:24 +01:00
Magne Sjaastad 0604eea74b #12157 Always show vector name when underscore is present 2025-02-13 15:12:24 +01:00
Magne Sjaastad 04cd253fc6 Move files
Fix includes
2025-02-13 15:12:24 +01:00
jonjenssen ea9a1b7d85 Update to latest open-zgy (#12161) 2025-02-13 15:07:41 +01:00
Magne Sjaastad 865fbf0cba Summary connections and completions (#12156)
* Add category WELL_CONNECTION
* Throw exception if category string is invalid
* Make it possible to step connections
* Add definition of completion vectors
* Use WELL_CONNECTION for CPRL
* Convert "WGPRL__2:MY-WELL1-A5" to "WGPRL:MY-WELL1-A5:2"
Use the syntax for well completions in opm-common
* More tests for different variants of summary texts
2025-02-13 08:31:53 +01:00
Magne Sjaastad ad310714c2 GHA: Update runner images 2025-02-13 08:13:03 +01:00
Magne Sjaastad dcf18f7812 Bump to dev.03 2025-02-11 17:22:29 +01:00
jonjenssen 588ab0dc69 Support missing timesteps in statistics ensemble cases (#12155)
* Support missing timesteps in statistics ensemble cases
* Adjust resolution values
2025-02-11 17:20:55 +01:00
Magne Sjaastad e73cd624d1 Avoid warning when using buildcache on Windows 2025-02-11 07:40:27 +01:00
Magne Sjaastad d76f67f3fb Use subset of enums
Use setEnumSubset instead of calculateValueOptions
2025-02-10 17:22:25 +01:00
Magne Sjaastad 00c70a6da6 Make sure ensemble is checked when a realization is checked 2025-02-10 15:54:17 +01:00
Magne Sjaastad 488a5a192a Hide summary readout object in Project Tree 2025-02-10 12:41:05 +01:00
Magne Sjaastad 33c94abd21 Remove debug symbols for Windows vcpkg builds
The cache on GitHub is limited to 10 GB. Recent versions of vcpkg includes debug symbols in Windows release builds, and creates really huge binary libraries.

To make sure the binaries fit into the cache, the debug symbols are removed from both debug and release builds.
2025-02-09 18:41:07 +01:00
Magne Sjaastad 7e523e340a Add static function to define a subset of enums to be used for AppEnum
Add a static map between field keyword and a subset of enum values to be displayed in the GUI
If a subset is defined, automatically calculate value options for this subset, otherwise, use all enums
Improve the macro so it is possible to use the `EnumType` instead of `AppEnum<EnumType>` when defining the default value
2025-02-08 09:24:55 +01:00
Magne Sjaastad 72f898a589 The fmt library is managed using vcpkg
Remove the local copy in ThirdParty
2025-02-07 17:26:07 +01:00
jonjenssen 11131721f5 Fix include statement 2025-02-07 08:39:52 +01:00
jonjenssen 8567841b87 Add support for mobile oil/gas/hc columns (#12129)
* Add support for calculating mobile oil/gas/hc columns in contour maps
2025-02-07 07:24:54 +01:00
Magne Sjaastad 037102196e #12090 Add option to hide time labels on x axis 2025-02-06 07:42:03 +01:00
Magne Sjaastad 2021b286ab Show time annotation in all sub plots (#11906)
* Prepare for more customization of annotation objects
* Move files
* Add configuration of readout lines in sub plots. The location along the time axis is based on the current mouse cursor position. The location is distributed to all sub plots. Optional support for readout of values at the current time.
2025-02-05 17:19:01 +01:00
Magne Sjaastad 28d3050433 #11871 Remove simulation well fractures and completion export 2025-02-03 18:19:03 +01:00
Magne Sjaastad 0c8a056b0d #12121 Fix wrong display of fracture values in grid cross plot 2025-02-03 15:50:21 +01:00
jonjenssen 10afd3a7cd Reorganize contourmap files in project 2025-02-03 15:06:29 +01:00
Magne Sjaastad 938222f878 #12091 Show dialog with cancel button when requesting authorization tokens 2025-02-03 12:45:30 +01:00
jonjenssen 08c207e556 Use resolution enum in contourmaps (#12113)
* Use resolution enum in contourmaps
2025-01-31 14:43:34 +01:00
jonjenssen 19a2c8b63d Ui adjustments based on feedback (#12109)
* Ui adjustments for statistics contourmap based on feedback
2025-01-31 09:29:18 +01:00
magnesj e8d10c4dfa Python code linting changes detected by black 2025-01-30 08:33:17 +01:00
Magne Sjaastad a72f05af8e Bump to version 2024.12.3-dev.02 2025-01-29 10:39:08 +01:00
jonjenssen cbab1b256f Support filtering by formation/polygon when calculating statistics (#12086)
* Support loading formation names when importing an ensemble
* Enable support for formation filtering when calculating contour map
* Add option to limit calculation area to a selection of polygons
2025-01-29 01:36:29 +01:00
Magne Sjaastad 99c4d96977 Update opm-common
Remove _USE_MATH_DEFINES
2025-01-28 12:45:23 +01:00
Magne Sjaastad 86f8da37bc #11971 Add cell selection tool
Select cell in 3D by entering IJK
Select cell in 3D by entering coordinate E N Depth
2025-01-28 11:20:32 +01:00
Magne Sjaastad 41aed338ab #11799 Add support for user defined 3D View
From the View menu, add Store and Apply User Defined View
Show Apply User Defined View in the View toolbar

Rename Look Down -> Top View and Look Up -> Bottom View
Update keyboard shortcuts to new naming
2025-01-28 07:08:20 +01:00
Magne Sjaastad ca0179d118 Remove obsolete CMake statements
When using modern CMake and Qt6 we can remove obsolete source_group() and QT_MOC_HEADERS
2025-01-28 07:01:42 +01:00
jonjenssen 16e978cc8b Make sure filters are connected to geomech view on project reload 2025-01-27 11:17:02 +01:00
Magne Sjaastad 1627ada696 Bump minimum required CMake to 3.26
* Bump minimum required CMake to 3.26

Recently, dependencies using vcpkg was updated, including boost 1.86. When boost 1.86 is linked by ResInsight, the minimum required CMake version is 3.26.

It is possible to manage dependencies manually without using vcpkg. In this case, the ResInsight build might work with a lower CMake requirement. This scenario is not tested by the ResInsight team.

* Use minimum required version of CMake when building on GitHub Action
2025-01-27 11:16:32 +01:00
Magne Sjaastad 9b11539353 Add SSL version info to About dialog 2025-01-24 14:27:11 +01:00
Magne Sjaastad 3f08901379 Use updated opm-common
* Update opm-common submodule and use branch development https://github.com/CeetronSolutions/opm-common/tree/development

* Add cmake-format of ThirdParty/custom-opm-common/CMakeLists.txt

* Add boost-test

* Update generated files and simplify CMake configuration

Add -D_USE_MATH_DEFINES to CMake to avoid multiple local defines
Introduce flag CREATE_OPM_COMMON_KEYWORDS used to generate C++ files JSON files. This enables use also in MSVC. Remove obsolete direct include of source files.

* Update generated ESMRY test file

There was a invalid extra : postfix for some keywords like NEWTON and other N* keywords. When creating ESRMY using updated opm-common fix this issue.

* Update URL for custom-opm-common
2025-01-22 08:34:46 +01:00
Magne Sjaastad ed66ee9355 GHA: Disable install and use of grpc on GitHub Actions
* GHA: Disable install and use of grpc on GitHub Actions

The current grpc package installed as part of vcpkg is huge, and is rejected from the cache on GitHub Action. This causes a very long build time for Windows builds.

Temporarily disable build of grpc for Windows
2025-01-21 13:54:58 +01:00