Commit Graph

17697 Commits

Author SHA1 Message Date
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
Magne Sjaastad
d17ecc4345
Update vcpkg to 2024.02.14
* Update vcpkg to 2024.02.14 Release

A blank install of vcpkg did not work anymore due to changes in upstream repos. Had to update vcpkg.exe to latest to ensure download of libraries works as expected.

Had to update baseline to 2024.02.14 to be able to compile on VS 17.12. A bug related to naming of boost was fixed in boost 1.84

https://github.com/microsoft/vcpkg/issues/38980

* Bump to a more recent vcpkg due to a build error in arrow

https://github.com/apache/arrow/issues/42027

* Avoid fmt 11 due to a bug for MSVC

https://github.com/gabime/spdlog/issues/3251#issue-2648376977

* Remove obsolete GRPC config in top-level CMake
* Avoid pinning of Protobuf
2025-01-19 16:16:09 +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
ba1224c9de #12063 Update link for download of OpenVDS
Temporary fix for download of packages from OpenVDS
2025-01-14 16:14:08 +01:00
Magne Sjaastad
ac1061bd7d Bump to 2024.12.3-dev.01 2025-01-13 12:04:40 +01:00
Magne Sjaastad
ecd006decb Update examples for 2024.12.2 2025-01-13 10:54:00 +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
dffa24fa81 #12030 Fix isEqual for TextureImage
When comparing two TextureImages, create a std::vector representation and use the equality operator for std::vector.

Previous implementation did not test all values, and returned equality when the texture was not identical.
2025-01-08 10:26:32 +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
jonjenssen
039d9f0f6b Update to OpenVDS 3.4.5 2025-01-06 11:27:23 +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
Magne Sjaastad
707c5f4da1
Merge pull request #11998 from OPM/update-dev-after-release
Update to 2024.12.2
2024-12-16 09:44:13 +01:00
Magne Sjaastad
6fea38e95b Reset RIPS_DIST_VERSION to 1 2024-12-16 09:29:52 +01:00
Magne Sjaastad
c32e669e56 Bump to 2024.12.2-dev.01 2024-12-16 09:25:13 +01:00
Magne Sjaastad
73f69377b2 Merge remote-tracking branch 'origin/main' into dev 2024-12-16 09:24:22 +01:00
Magne Sjaastad
e746e6b637 Bump to 2024.12.1 2024-12-16 08:01:10 +01:00
jonjenssen
37de827327 Rel perm plot legend adjustments 2024-12-16 08:01:10 +01:00
Magne Sjaastad
a18728b6e7 #11989 Check indices before accessing two-dimensional vector 2024-12-16 08:01:10 +01:00
jonjenssen
8423b17832 Rel perm plot legend adjustments 2024-12-14 13:15:43 +01:00
Magne Sjaastad
61710537a9 Bump to dev.02 2024-12-12 16:25:25 +01:00
Magne Sjaastad
af7addd6b4 Add test for tab as delimiter 2024-12-12 16:24:14 +01:00
Magne Sjaastad
ca4a201c4e #11989 Check indices before accessing two-dimensional vector 2024-12-12 16:24:14 +01:00
Kristian Bendiksen
925403764e Add Statistics Contour Map for eclipse grid ensembles. 2024-12-10 15:28:26 +01:00
Magne Sjaastad
feba066b49 Bump version to 2024.12.1-dev.01 2024-12-08 11:42:55 +01:00
Magne Sjaastad
19ae259726 Prepare for release 2024.12 2024-12-06 14:48:41 +01:00
Magne Sjaastad
4eb2a2d000 Bump to 2024.12.0 2024-12-06 14:35:08 +01:00