Commit Graph
17698 Commits
Author SHA1 Message Date
Magne e8ddef71af Janitor fixes detected by clang-19 2025-06-10 13:31:35 +02:00
Magne Sjaastad dcb21651c5 Set version 2025.4.2 v2025.04.2 2025-06-10 10:52:18 +02:00
Magne Sjaastad 452b00ed59 Update build workflow related to caching of vcpkg 2025-06-10 10:52:18 +02:00
Magne Sjaastad 47f5e004a7 Performance improvements ensemble curves
* Do not create ensemble in initAfterRead
* Check if filter is active before update
* Do not recompute statistics on every loadData
* Removes unnecessary resampling
* MSVC: Add support for dynamic deoptimalization
* Make sure RFT plots are initialized based on curves in project file
* Make sure the progress dialog is always on top
* Add more progress info when loading project file
* Make sure names in RFT plots are updated
2025-06-10 10:52:18 +02:00
Magne Sjaastad 4eccfc86b5 Make sure std::equal is executed on valid range of vectors
Previous solution did not check for equal length of these vectors, causing out of bounds compare. Detected by debug build using MSVC
2025-06-10 10:52:18 +02:00
Magne Sjaastad 1ee5a037ec #12542 Make sure case is open before accessing cell data
* Make sure case is open before accessing cell data
* Add Python example to compute average value for a set of cells
2025-06-10 10:52:18 +02:00
Magne Sjaastad 5f6b3ec44d #12535 Avoid use of caf::PdmPointer in async delete of objects
Remove the use of caf::PdmPointer in RifCalculatedSummaryCurveReader as these objects are only accessed and used only during the lifetime of the owning object.

Move caching of RimProject::current()->calculationCollection() to the constructor instead of the calling site.
2025-06-10 10:52:18 +02:00
jonjenssen 55a4bad0fb Add nullptr guards to avoid crash when trying to use well allocation plot with an ensemble 2025-06-10 10:52:18 +02:00
Magne Sjaastad d7d18ce9ab #12495 Refactors ensemble statistics handling
Removes the dedicated `SUMMARY_ENSEMBLE_STATISTICS` category and instead uses a `statisticsType` field within `RifEclipseSummaryAddress` to represent ensemble statistics.

This change simplifies the code and avoids potential confusion by representing statistics as attributes of existing summary types, rather than a separate category. It also improves code robustness.
2025-06-10 10:52:18 +02:00
Magne Sjaastad e66e40523a Avoid asserts to be able to open a misconfigured project 2025-06-10 10:52:18 +02:00
Magne Sjaastad c00e03bdd1 Bump to 2025.04.1 v2025.04.1 2025-05-09 08:32:04 +02:00
Magne Sjaastad 64ec98b6a4 #12472 Fix flaky calculation of contour map top value 2025-05-09 08:32:04 +02:00
Magne Sjaastad 18ba47c2ab #12470 Use value range slider instead of independent min and max value sliders
Make sure minimum value is always less than max and max value is always larger than min.
2025-05-09 08:32:04 +02:00
Magne Sjaastad 39aeef9fee Improve text for Append operations
Use "Append to Current Plot(s)" and "Append as New Plot(s)"
2025-05-09 08:32:04 +02:00
Magne Sjaastad 1d90a41395 Use NuGet packages as vcpkg cache
* Use NuGet packages as vcpkg cache
* Do not install additional python version
2025-05-09 08:32:04 +02:00
Jon Jenssen 94f5a45423 Make sure the clear all messages slot is defined as a slot. 2025-05-09 08:32:04 +02:00
Magne Sjaastad 321ff4ad90 Create a menu for each ensemble in the plot
Create a QVariant using caf::PdmPointer, and send this variant to the feature. The feature converts the QVariant to an ensemble curve set.

Make sure the right-click menu in the summary plot shows the Create from filtered cases independent to the selection in project tree.
2025-05-09 08:32:04 +02:00
Magne Sjaastad c57eace568 #12455 Date format string and precision
Use date format string from preferences when date is displayed. Use default number of decimals.
2025-05-09 08:32:04 +02:00
Magne Sjaastad fa61fbb78b #12457 Move management of time axis annotations
Use RimTimeAxisAnnotationUpdater for management of annotation objects.
2025-05-09 08:32:04 +02:00
Magne Sjaastad 14294e400e Show time selection in curve filter object 2025-05-09 08:32:04 +02:00
Magne Sjaastad a744474657 Make sure the time fields are added only once 2025-05-09 08:32:04 +02:00
Magne Sjaastad b5731f5104 #12448 Recompute statistical curves in RFT plots on replace 2025-05-09 08:32:04 +02:00
Magne Sjaastad 24553c1e16 #12454 Do not create option items that are not available in valueOptions
Do not create option items if the list is empty and the field contains a selection. This is different to other editors, but can cause a crash situation.
2025-05-09 08:32:04 +02:00
Kristian Bendiksen 291ab218cd #12438 Fix crash on incomplete category result.
Fixes #12438.
2025-05-09 08:32:04 +02:00
Magne Sjaastad fae4623477 #12419 Avoid assert during load of simulation case
Validate incoming parameters before use
2025-05-09 08:32:04 +02:00
Magne Sjaastad 5c2869d75f #12427 Support both single and double underscore as keyword divider 2025-05-09 08:32:04 +02:00
Magne Sjaastad d2d50a4866 #12436 Read and display date for summary restart files 2025-05-09 08:32:04 +02:00
Magne Sjaastad 90eaf5b130 #12434 Use subscript for permability unit 2025-05-09 08:32:04 +02:00
Magne Sjaastad ec191f32e3 #12425 Use Qt file operations to establish absolute path to restart case 2025-05-09 08:32:04 +02:00
Magne Sjaastad d0375378da Show all files for grouping mode None 2025-05-09 08:32:04 +02:00
Magne Sjaastad fce1b89eb5 Do not change input focus when typing ensemble file path 2025-05-09 08:32:04 +02:00
Magne Sjaastad a4595167c2 Show selected realizations using X-cross symbol 2025-05-09 08:32:04 +02:00
Magne Sjaastad df38406f17 #12363 Correlation Parameter Filter: Make sure realizations are detected correctly 2025-05-09 08:32:04 +02:00
Magne Sjaastad f96374a6b4 2025.04.0 Merge dev into main v2025.04 2025-04-07 12:21:57 +02:00
Magne Sjaastad e9ec8cb718 Prepare for 2024.12.2 v2024.12.2 2025-01-13 09:06:54 +01:00
Magne Sjaastad 77145fc69f 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-13 09:06:54 +01:00
Magne Sjaastad 453f1c2a29 #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-13 09:06:54 +01:00
Magne Sjaastad 0f65762d57 #12037 Quick Access: Fix display of integer category values for filter 2025-01-13 09:06:54 +01:00
Jon Jenssen 479470b133 Fix broken filters in contour maps 2025-01-13 09:06:54 +01:00
Magne Sjaastad 84d9b1d4a0 Bump version to 2024.12.2-RV_01 2025-01-13 09:06:54 +01:00
jonjenssen d38eece053 Update to OpenVDS 3.4.5 2025-01-13 09:06:54 +01:00
Magne Sjaastad ab3b4ca063 #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-13 09:06:54 +01:00
Magne Sjaastad 66b98a14f6 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-13 09:06:54 +01:00
Magne Sjaastad 59c7c84b8d Add scheduler to AppFwk
Add scheduler to AppFwk
Make it possible to do a delayed call to updateConnectedEditors
2025-01-13 09:06:54 +01:00
Magne Sjaastad c695ab086f #12021 Compute fault distance for active cells 2025-01-13 09:06:54 +01:00
Magne Sjaastad eebb8feea6 #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-13 09:06:54 +01:00
Magne Sjaastad e746e6b637 Bump to 2024.12.1 v2024.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
Magne Sjaastad 19ae259726 Prepare for release 2024.12 v2024.12 2024-12-06 14:48:41 +01:00