Commit Graph

2584 Commits

Author SHA1 Message Date
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
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
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
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
jonjenssen
2bcdc62931
Enable value filter in statistics contourmap (#12078)
* Enable value filtering in stat contourmap and fix map redraw logic
* Make switching case in contourmap  work
2025-01-21 11:40:37 +01:00
jonjenssen
7acbc86a39 Build fix 2025-01-20 17:52:43 +01:00
Magne Sjaastad
a184af264b Add features to create polygons from visible contour map geometry 2025-01-19 16:19:55 +01:00
Magne Sjaastad
510a0f8b37 Assign color to new polygon 2025-01-19 16:19:55 +01:00
Magne Sjaastad
882e64f790 Add helper class for polygon and 2D binary image operations 2025-01-19 16:19:55 +01:00
Magne Sjaastad
62bb40c4f4 Add optional parameter 2025-01-19 16:19:55 +01:00
Magne Sjaastad
533885239d #12075 When activating an item, also select the item 2025-01-19 16:18:45 +01:00
jonjenssen
c13ce39b5e
Enable polygons in contourmaps (#12073)
* Enable polygons in ensemble statistics views and allow adding polygons in contour maps
2025-01-16 16:53:05 +01:00
Magne Sjaastad
d37bc104e4
Contour Map: Add optional value filtering
* #12071 Contour Map: Add optional value filtering 
* Move management of min/max values to common base class
2025-01-16 13:52:03 +01:00
jonjenssen
15428304be Change how sampling resolution is specified in statistics contourmap ui 2025-01-16 12:55:05 +01:00
jonjenssen
b999faf293
Statistics Contourmap UI updates (#12060)
* Enable time step selections and controls in view
* Support loading just what we need for statistics contour maps by using custom reader settings
* Close case once done with it unless there are active views.
* Add selection of user interface case (for result selection, display of wells, faults...)
* Avoid int overflow for nested progresses by using double
* Improve auto naming
* Misc. UI improvements
2025-01-14 21:52:54 +01:00
Magne Sjaastad
da69c1f049
Python: Enforce checking on script name to make sure conversion between camelCase and snake_case works correctly
* #12044 Python: Add Non-Darcy properties available in Python

* #12049 Python: Add checking for multiple consecutive upper case letters
The scripting keyword is transformed to snake_case for use in Python. When data in Python is sent back to ResInsight, the opposite operation happens. This concept works well for most variants of keywords, but there are some corner cases that is not working.

Add compile time checking to make sure that the scripting keywords are formatted correctly.

Fix keyword that has been formatted the wrong way and has never worked.

* Avoid running test if ResInsight executable path is not defined in env
* Make sure dash is allowed in enumeration text string
2025-01-10 18:25:46 +01:00
Magne Sjaastad
90a1642326
Minor adjustments related to well target workflow
* For a case with only static geometry, make sure it is possible to create a contour map
* Make sure the grid model is open before accessing data
* Make sure the picked polygon points are located above the grid model
2025-01-08 10:27:13 +01:00
Magne Sjaastad
0800580323 #12037 Quick Access: Fix display of integer category values for filter 2025-01-08 06:59:14 +01:00
Jon Jenssen
8b5448b5f0 Fix broken filters in contour maps 2025-01-08 06:13:34 +01:00
Jon Jenssen
dde369f568 Avoid crash if displacements are missing 2025-01-07 21:11:04 +01:00
Magne Sjaastad
1f7af45c05 #12020 Delay the call to updateConnectedEditors
Make sure the call to updateConnectedEditors happens after other slots have been processed. Also make sure that the call is done only once.
2025-01-06 09:10:46 +01:00
Magne Sjaastad
1251a2750e Replace RiaScheduler with caf:Scheduler
Remove ProgressState
Use caf::SchedulerCallable to communicate state for the progress dialog.
Use std::atomic to ensure thread safety
2025-01-06 09:10:46 +01:00
Magne Sjaastad
207294c446 Add scheduler to AppFwk
Add scheduler to AppFwk
Make it possible to do a delayed call to updateConnectedEditors
2025-01-06 09:10:46 +01:00
Magne Sjaastad
8a55b4cd20 #12021 Compute fault distance for active cells 2025-01-06 07:23:28 +01:00
Magne Sjaastad
46515b107f #12021 Wrong calculation of INDEX_IJK
INDEX_I INDEX_J INDEX_K are result properties computed by ResInsight. When using opm-common, only active cells are defined. In this situation, the computation fails.

Change the implementation to compute these values only for active cells. This will also improve performance and use less memory.
2025-01-06 07:23:28 +01:00
Magne Sjaastad
45c8916d0f Improve user interface
Add icon for well target generator
Improve uiOrdering for RimRegularGridCase
2025-01-02 08:06:50 +01:00
Magne Sjaastad
c4c4078e09 #12017 Add caching of well target result data
Write data to welltargetdata.GRDECL in a subfolder of the project. Import this data when project is load. The data in this cache is owerwritten when the project is saved.
2025-01-02 08:06:50 +01:00
Magne Sjaastad
1cdbffb2c7 Make sure cached data is computed
Without this, the bounding box of the case is undefined, causing the polygons lines not to be visible.
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1d552ea77d Add well target generator cases to RimProject::allCases. 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
d1aec2f1cb #12005 Well Target Candidates: Move ensemble grid under generator in Project Tree 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
ac985ade00 Janitor: select newly created well target candidates generator. 2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1abd0afe6e Well Target Candidates: misc improvements.
Improvements:
 * Well Target Candidates: Add filtering by binary result
 * Well Target Candidates: make result grid cell count configurable.
 * Well Target Candidates: Improve ui ordering.
 * Well Target Candidates: compute probability, and simplify vector names.
 * Optimization: Avoid expensive unintended duplication of data
2024-12-20 10:25:15 +01:00
Kristian Bendiksen
30d0b8e115 Grid calculator: add support for grid ensembles. 2024-12-20 10:25:15 +01:00
Magne Sjaastad
7877cdf62d #11994 GeoMech: Allow property filter to be linked to cell result 2024-12-20 07:37:33 +01:00
Magne Sjaastad
0ec9a36406 #11994 Allow property filter to be linked to cell result 2024-12-20 07:37:33 +01:00
Magne Sjaastad
997e14c90e #11993 Improve ensemble search dialog
Use tree view instead of list view. Add filtering based on text match using realization numbers. Clean up user interface. Rename several GUI items.
2024-12-19 14:55:37 +01:00
Kristian Bendiksen
fb90844901 Generate well target candidates statistics for ensembles. 2024-12-18 12:28:20 +01:00
Kristian Bendiksen
4f3b7d2675 Janitor: reduce scope of loop indexes. 2024-12-18 12:28:20 +01:00
jonjenssen
8423b17832 Rel perm plot legend adjustments 2024-12-14 13:15:43 +01:00
Magne Sjaastad
af7addd6b4 Add test for tab as delimiter 2024-12-12 16:24:14 +01:00