Commit Graph
18687 Commits
Author SHA1 Message Date
Kristian Bendiksen cff710754b Bump version to dev.03 2026-01-13 10:44:55 +01:00
Kristian Bendiksen a71fb9ad19 #13398 Python: Add API for custom well path segments
Add Python GRPC interface support for creating and managing custom segment
intervals for multi-segment wells. This provides API parity with the existing
GUI functionality.

Changes:
- Add createInterval() method to RimCustomSegmentIntervalCollection
- Add GRPC method addCustomSegmentInterval to RimcWellPathCompletionSettings
- Add validation to prevent creating intervals with start_md >= end_md
- Add Python test test_custom_segment_intervals.py with validation test
- Add usage example to modeled_well_path.py

Follows the pattern established by diameter roughness intervals.

Fixes #13398.
2026-01-13 10:44:55 +01:00
Kristian Bendiksen e34d36ee99 Simulation Input: Support more well keywords. 2026-01-12 17:19:38 +01:00
Kristian Bendiksen 1c9c5a85ad #13333 Simulation Input: Add EDITNNC export functionality for sector models 2026-01-12 17:19:38 +01:00
Kristian Bendiksen e681b4603a Refactor: use RigBoundingBoxIjk in RigActiveCellInfo. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen 11dfdc2c21 Refactor: convert RigBoundingBoxIjk to template class. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen 15ef5e4701 Refactor: use bounding box more. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen a4ade9e595 Remove duplicated code. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen 2836885850 Refactor: avoid using VecIjk1 internally. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen b7d940a0a2 RigBoundingBox: add contains method with tests. 2026-01-12 09:58:55 +01:00
Kristian Bendiksen 816aef2f2c Grid: Add utility method for cell index from VecIjk0. 2026-01-12 09:58:55 +01:00
Magne Sjaastad 88c17224a0 Add Python example 2026-01-12 09:32:42 +01:00
Magne Sjaastad c6ed12be92 Adds MSW name grouping pattern functionality
Implements a new command to set the MSW grouping pattern, and ensures that the pattern is only updated if a new value is set.
2026-01-12 09:32:42 +01:00
Magne Sjaastad e79ff8e7a7 Add MSW grouping options to RimWellPathCollection
Introduce "MSW Grouping" feature to allow users to control how multi-segmented wells are grouped by name. Adds a new enum for grouping mode (use preferences, custom, disabled), new fields for grouping mode and pattern, and updates UI and logic to support these options. This provides greater flexibility and user control over well path grouping, especially for multi-lateral wells.
2026-01-12 09:32:42 +01:00
jonjenssen 3821434022 Support removing user specified keywords from output sector model. 2026-01-12 08:13:43 +01:00
Magne Sjaastad 1101d74b69 Use azure caching for clang-tidy job 2026-01-12 07:48:53 +01:00
Magne Sjaastad 1ae6f40a98 Rename Ubuntu 24.04 gcc-14 to Ubuntu 24.04 gcc 2026-01-12 07:27:40 +01:00
Magne Sjaastad cfd634e206 Updates PDM UI label positioning
Updates the way UI label positions are set for PDM fields.
2026-01-08 21:44:58 +01:00
Magne Sjaastad b9f09c41d7 Documents PDM UI editor attribute migration
Explains the migration from the old `defineEditorAttribute`
pattern to the new `setAttribute` pattern using type-safe
Keys structs in the PDM UI editor.

Highlights the benefits of the new pattern, including type
safety, IDE support, self-documentation, maintainability,
and validation.

Provides examples of common attribute usage for different
editor types. Clarifies backward compatibility, noting the
coexistence of both patterns during migration.
2026-01-08 21:44:58 +01:00
Magne Sjaastad 526a0f0b43 Replaces direct attribute access with map-based system
Migrates UI editor attribute definitions from direct member access in `defineEditorAttribute` to a map-based system using `setAttribute`.
2026-01-08 21:44:58 +01:00
Magne Sjaastad 6e23037bb8 Refactors PdmUiItemInfo and PdmOptionItemInfo
Refactors PdmUiItem and moves PdmUiItemInfo and PdmOptionItemInfo classes.

Adds attribute support as a replacement for defineEditorAttributes
2026-01-08 21:44:58 +01:00
Kristian Bendiksen 51b9508483 #11807 Update completion export reference for Clipper2
Updates the unified completion export reference data to match Clipper2's
output. The Clipper2 upgrade introduces small numerical precision improvements
(4th-6th decimal places) in fishbone/perforation calculations due to better
intersection algorithms and edge case handling.
2026-01-07 16:07:09 +01:00
Kristian BendiksenandMagne Sjaastad d80ada607f #11807 Upgrade to Clipper2
Replaces the deprecated Clipper library with the actively maintained Clipper2 library.

Removes the local copy of the Clipper library and uses vcpkg to manage the dependency.

Fixes #11807

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2026-01-07 16:07:09 +01:00
jonjenssen 1181799ec2 Fix crash when selecting a cell in 2d intersection view by adding null pointer guards. 2026-01-06 19:21:36 +01:00
Jon Jenssen 51b1bbda6c Update OpenVDS to latest version 3.4.9 2026-01-06 19:21:10 +01:00
Magne Sjaastad c11117ed41 Add libomp-19-dev to Clang 19 install in CI workflow
Added libomp-19-dev to the list of packages installed in ResInsightWithCache.yml to provide OpenMP support for Clang 19. Also adjusted package formatting for clarity. No changes to logic or verification steps.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 201a48da26 Update clang-19 install steps in CI workflow
Replaced llvm.sh with manual addition of the LLVM APT repository for Ubuntu Noble in ResInsightWithCache.yml. Now installs clang-19 and related tools directly via apt-get, verifies installation, and provides more control and reliability over the setup process.
2026-01-05 17:34:57 +01:00
Magne Sjaastad b383baa97f Add vcpkg secrets check to CI workflow
Added a step in ResInsightWithCache.yml to verify that the required AZURE_VCPKG_STORAGE_ACCOUNT and AZURE_VCPKG_SAS_TOKEN secrets are set before running the configure step. This ensures the workflow fails early with a clear error if these secrets are missing, improving reliability and debuggability.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 6d7151a5e2 Adds gcc-14 support to Ubuntu workflow
Adds support for gcc-14 to the Ubuntu 24.04 build workflow.
This ensures compatibility with projects requiring gcc-14 and allows testing with the latest compiler versions.

It installs gcc-14 and g++-14 if the configuration specifies 'gcc-14'.
2026-01-05 17:34:57 +01:00
Magne SjaastadandClaude Sonnet 4.5 1737217815 Fixes parquet API compatibility with vcpkg 2025.12.12
Updates parquet::arrow::OpenFile calls to use new API that returns
arrow::Result instead of taking an output parameter. Also updates
error message retrieval to use status().ToString() method.

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
2026-01-05 17:34:57 +01:00
Magne Sjaastad 006a316749 Configures Azure Blob Storage for vcpkg cache
Configures the vcpkg binary cache to use Azure Blob Storage, improving caching efficiency and reliability.

Removes the previous GitHub Actions cache implementation.
2026-01-05 17:34:57 +01:00
Magne Sjaastad 864078b9e4 Updates vcpkg baseline to 2025.12.12
https://github.com/microsoft/vcpkg/releases/tag/2025.12.12
2026-01-05 17:34:57 +01:00
Magne 1e0ddc2b03 Fixes crash reporting for empty lines that might happen if limited debug info is available. 2026-01-05 13:26:54 +01:00
Kristian Bendiksen d62a6017bf Refactor RimElasticPropertyScalingCollection. 2026-01-05 13:15:47 +01:00
Kristian Bendiksen 79984604cc Refactor RimValveTemplateCollection. 2026-01-05 13:15:47 +01:00
Kristian Bendiksen cd5926096f Refactor RimSummaryTableCollection. 2026-01-05 13:15:47 +01:00
Kristian Bendiksen 83d75de7d5 Refactor RimWellMeasurementCollection. 2026-01-05 13:15:47 +01:00
Kristian Bendiksen bd7e5ac1b9 Refactor: reduce duplicated code for collections 2026-01-05 13:15:47 +01:00
Kristian Bendiksen 633edd8bba #13313 Python: Add support for setting geometry on an existing case 2026-01-05 12:45:32 +01:00
Kristian Bendiksen 84dd61d4b5 #13347 Remove duplicate FAULTS keywords before adding to GRID section
Apply the same pattern used for ACTNUM keyword: remove all occurrences
of FAULTS before adding a single instance to the GRID section. This
handles deck files where FAULTS appears more than once.
2026-01-05 09:22:21 +01:00
Kristian Bendiksen a879452563 #12199 Python: Add validation error messages for set_summary_values()
The set_summary_values() Python API method now provides clear error
messages when validation fails instead of failing silently.

Changes:
- Add keyword length validation (8-character SMSPEC format limit)
- Add value vector size validation with informative messages
- Add test cases for both validation scenarios
- Update existing test to expect exceptions for invalid inputs

Fixes #12199.
2026-01-05 08:20:30 +01:00
dependabot[bot] f070303dc7 Bump celinekurpershoek/link-checker from 1.0.2 to 1.0.3
Bumps [celinekurpershoek/link-checker](https://github.com/celinekurpershoek/link-checker) from 1.0.2 to 1.0.3.
- [Release notes](https://github.com/celinekurpershoek/link-checker/releases)
- [Commits](https://github.com/celinekurpershoek/link-checker/compare/v1.0.2...v1.0.3)

---
updated-dependencies:
- dependency-name: celinekurpershoek/link-checker
  dependency-version: 1.0.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-12-29 13:05:51 +01:00
magnesj 937d9e0050 Fixes by clang-tidy 2025-12-23 08:19:11 +01:00
Magne Sjaastad 96eebdf8ef Enhances crash reporting for Application Insights
Refactors crash reporting to include structured stack trace data formatted as JSON for better integration with Application Insights.
2025-12-22 16:41:29 +01:00
Magne Sjaastad 4a842fb32c Adds telemetry for octave commands 2025-12-22 16:41:29 +01:00
Magne Sjaastad d3bc3c554e Adds telemetry for application startup 2025-12-22 16:41:29 +01:00
Magne Sjaastad 7f0ef8dbc4 Simplifies OpenTelemetry integration
Removes conditional compilation for OpenTelemetry, ensuring it is always included.

Reinitializes OpenTelemetry based on user preferences, ensuring that changes to telemetry settings are applied immediately.

Configures cloud services, including OpenTelemetry, after the logger is initialized, ensuring that telemetry data is properly captured and transmitted.

Retrieves system username for telemetry tracking.
2025-12-22 16:41:29 +01:00
Kristian Bendiksen 43755feb42 #13376 Well Target Table: Fix menu visibility.
Introduced in ae8446073b.

Fixes #13376.
2025-12-22 14:08:57 +01:00
Magne Sjaastad 405a32e2da Removes QIntValidator and uses setRange
Replaces the usage of `QIntValidator` with the `setRange` function available in the PDM framework for limiting integer input in UI fields.
This approach provides a more direct and maintainable way to specify value ranges for UI elements.

This change simplifies the code and reduces dependencies.
2025-12-22 10:17:00 +01:00
Magne Sjaastad 4488a7215d Replaces stylesheet-based validation styling with icon indicator
Uses QWidget::addAction() to show a warning icon for validation errors, similar to the information icon for optional fields. The error message appears in the icon's tooltip, avoiding stylesheet manipulation that was causing tooltip rendering issues.

- Adds warning icon to widgets with validation errors
- Preserves field tooltips (e.g., "Valid range: ...")
- Uses QPointer for automatic null-safety
- Works with QLineEdit and other widgets
2025-12-22 10:17:00 +01:00