Commit Graph
4381 Commits
Author SHA1 Message Date
magnesj 0d9985ddcc Fixes by clang-tidy 2026-10-31 07:53:41 +01:00
JJ 7579569578 Batch Scheduler support update (#15077)
* Add batch job monitoring service, to be shared between monitor view and running jobs to minimize cluster polling traffic
* Add support for monitoring job status using batch monitor service
2026-10-30 19:08:35 +01:00
Kristian Bendiksen 8baad6f878 Workflow UI: Support collect flattening
Allow list and dict outputs, including mapped task outputs, to be
collected into list inputs, and dicts to be merged into dict inputs,
matching taskmaestro's collect flattening. Label flattened members in
the graph and document the rules.
2026-10-30 16:17:03 +01:00
Kristian Bendiksen bb0acbed56 Workflow UI: Support conditional branches
Support taskmaestro conditional branches in the workflow editor:
- Read and write `when` guards and `first_of` alternatives in workflow definitions
- Validate guards, switch branch coverage and alternative types
- Draw switch tasks as diamonds, guards as control edges and skipped tasks greyed out
- Edit guards with Run When..., add alternatives when dropping on a connected input
- Report skipped tasks from the run helper
2026-10-30 16:17:03 +01:00
Magne Sjaastad d9f74dfbab Skip area weighted fracture statistics when file has no width data
Avoids a misleading 'Did not find unit for conductivity on file' error when loading StimPlan files without a WIDTH property.
2026-10-30 15:53:36 +01:00
Magne Sjaastad 0e75179c48 #15078: Include cell I/J/K in well allocation plot data 2026-10-30 15:45:41 +01:00
Magne Sjaastad 93b85f9e52 #15078: Add I/J/K connection labels to well allocation plot
Add option to label connections by connection number, cell I/J/K, or both, and an option to show a tick label for every connection. Ticks on the connection number axis are placed at integer values only.
2026-10-30 15:45:41 +01:00
Magne Sjaastad ec9d022b50 Make summary table row ordering deterministic
Rows with equal first and last time step kept the incoming address order, which depends on string pool indices and varies between sessions. Break ties on category name.
2026-10-29 15:40:41 +01:00
Magne Sjaastad 1b2c8ca757 Guard missing view and case in box intersection cell bounding box
Avoid asserting when the box intersection has no owning 3D view or the view has no case.
2026-10-29 15:40:41 +01:00
Magne Sjaastad 67427bb559 Show flow diagnostics plots in plot window after project load
Flow plots derive from RimViewWindow, not RimPlotWindow, and were missing from RiuPlotMainWindow::viewWindows(). Applying the default dock layout on project open therefore did not re-add their dock widgets. 3D views docked in the plot window are now listed by the plot main window only, and are still activated as the active 3D view so the 3D main window toolbars (e.g. time step animation) are refreshed.
2026-10-29 15:40:26 +01:00
Magne Sjaastad d8a63a5468 Hide Curve Appearance UI behind experimental feature flag 2026-10-28 18:05:11 +01:00
Magne Sjaastad a2719ae8f5 Use depth type and unit from source plot when creating RFT correlation report 2026-10-28 18:05:11 +01:00
Magne Sjaastad b88ab7d71d Use simulated vectors instead of history vectors in correlation report plots 2026-10-28 18:05:11 +01:00
Magne Sjaastad 419ffbce64 #15061: Update well log data sources, file classes and depth track plot naming 2026-10-28 15:26:39 +01:00
Magne Sjaastad 4f05b6d92c #15061: Do not report air gap in plot name variables when zero 2026-10-28 15:26:39 +01:00
Magne Sjaastad be03f23b61 #15061: Add new ensemble well log plot command and default to EGRID in create dialog 2026-10-28 15:26:39 +01:00
Magne Sjaastad a4dfebff58 #15061: Add summary, context menus and plot title fixes for ensemble well logs 2026-10-28 15:26:39 +01:00
Magne Sjaastad 07fa3a8326 #15061: Share filename outlier detection between import dialogs and add tests 2026-10-28 15:26:39 +01:00
Magne Sjaastad 95a960d5ff #15061: Check array sizes when computing ensemble well log index depth offsets 2026-10-28 15:26:39 +01:00
Magne Sjaastad f9553c2dbe #15061: Guard invalid K index values and fix top TVD averaging in ensemble well log statistics 2026-10-28 15:26:39 +01:00
Magne Sjaastad 1393563dd6 #15061: Improve well log import dialog with filename outlier handling 2026-10-28 15:26:39 +01:00
Magne Sjaastad ca70c57d04 #15063: Histogram: Restore filter and axis scale of pasted curve
Re-run initAfterRead() after resolving references of a pasted curve, and set the axis scale of the destination plot from the binning mode.
2026-10-28 14:36:44 +01:00
Magne Sjaastad 442854cddd #15063: Histogram: Zoom all when data is filtered by 3D view visibility
Zoom all when the cell filter view is changed or when the visibility in the 3D view is updated, as the visible cells can have a very different value range than the full grid.
2026-10-28 14:36:44 +01:00
Magne Sjaastad e8846e35b2 #15066: Recreate polygon in view targets when reading project file 2026-10-28 14:20:05 +01:00
Magne Sjaastad 67863dd893 #15066: Move all polyline targets when Ctrl is pressed 2026-10-28 14:20:05 +01:00
Magne Sjaastad 26dd9cbb33 #15066: Add Polygon Intersection and remove Polyline Intersection
Polygon Intersection creates an open project polygon named Polyline, attaches a polygon intersection to it and activates 3D editing of the polygon. Available from the 3D view context menu and the context menu of Intersections.
2026-10-28 14:20:05 +01:00
Magne Sjaastad a58a06c084 #15050: Make use common legend scriptable and add Python tests
Test common legend splitting across case, vector, well, group and region dimension combinations.
2026-10-28 14:07:00 +01:00
Magne Sjaastad 4e3a539e4c #15050: Split multi plot common legend into color and symbol legends
Show the color and symbol legends as two widgets below the page title, also when exporting the page. Falls back to the merged legend otherwise.
2026-10-28 14:07:00 +01:00
Magne Sjaastad ef4d1d8081 #15050: Add color and symbol legend data for summary curves
When the curve color is given by one summary dimension (case, vector or object such as well, group or region) and the curve symbol by another, create one color legend and one symbol legend instead of one entry per color/symbol combination.
2026-10-28 14:07:00 +01:00
Magne Sjaastad cf0d2426c6 #15050: Extract curve legend icon helper and fix oversized legend symbols
Pin the icon bounding rect to the full icon size, so symbols drawn smaller than the icon are not rescaled to fill the icon slot.
2026-10-28 14:07:00 +01:00
Magne Sjaastad 50a4cd9879 #14809: Hide element property file names field in GeoMech case UI 2026-10-28 08:36:12 +01:00
Magne Sjaastad 0f18b60444 #15054: Show history value line in parameter result cross plot 2026-10-27 15:26:26 +01:00
Magne Sjaastad 70e6759e01 #15054: Show history curve and time/value readout in correlation report summary plot 2026-10-27 15:26:26 +01:00
Magne Sjaastad d58212ec32 #15054: Plot ensemble history vectors from first realization only
History vectors are identical in all realizations. Plot only the first realization in the ensemble curve set, skip statistics, use a configurable line thickness, and keep the curve on top and non-selectable.
2026-10-27 14:38:59 +01:00
Magne Sjaastad 32b319eb86 #15049: Global curve appearance for summary multi plots 2026-10-27 14:13:13 +01:00
Magne Sjaastad 0e6e85e4c7 #15049: Update summary address collection and appearance calculator 2026-10-27 14:13:13 +01:00
Magne Sjaastad d1a47b8fdc #15049: Rework curve style rules and saved curve appearance 2026-10-27 14:13:13 +01:00
Magne Sjaastad 6cc691ea6f #15049: Extend color legend collection and plot curve appearance 2026-10-27 14:13:13 +01:00
Magne Sjaastad 5e4496a1c7 Fix unity build name clashes in unit tests
Unity builds compile several test files in one translation unit, so
helpers with the same name in anonymous namespaces collided. Give the
helpers file-specific names:
- RimWorkflowDefinition-Test: taskByName -> definitionTaskByName
- RimSummaryCalculationCollection-Test: createFieldCalculation ->
  createCollectionFieldCalculation
- RigPorvSoilSgasResultCalculator-Test: MockCase/createMockCase ->
  PorvMockCase/createPorvMockCase
2026-10-27 10:05:02 +01:00
Magne Sjaastad d345599f2f #14912: Define well event State AppEnum setUp next to the shared enum
RimWellEventPerf::State and RimWellEventValve::State are aliases for
RimWellEventEnums::State, but the AppEnum setUp() specialization was
declared in both class headers and defined in RimWellEventPerf.cpp.
The Linux unity build failed to link with an undefined reference to
caf::AppEnum<RimWellEventEnums::State>::setUp().

Declare the specialization in RimWellEventEnums.h and define it in the
new RimWellEventEnums.cpp, so all users see a single declaration and
there is a single definition.
2026-10-27 10:05:02 +01:00
Magne Sjaastad ddf26d61e2 #15057: Ignore unchecked curves in summary plot readout value 2026-10-27 08:11:07 +01:00
Magne Sjaastad 4d5e6e0d70 #15035: Guard crash handler against re-entry, add crash watchdog and Qt messages in crash reports 2026-10-26 14:20:13 +01:00
Magne Sjaastad 0d77e77188 #15047: Do not unit convert observed FMU RFT depth data 2026-10-26 13:53:52 +01:00
Magne SjaastadandClaude Opus 5.5 648c20ca68 #15033 Telemetry: Add graphics environment to events
Most Linux crash reports are aborts inside the GL driver during a widget
repaint, and the reports carry no information about the driver or display
setup. Attach GL vendor/renderer/version, Qt platform, display server and
remote display server (e.g. HP RGS) to crash and regular events, and report
the OpenGL driver once per session in app.opengl_initialized.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 06:48:44 +01:00
Magne Sjaastad a6c2b1b911 #15021: Add unit tests for completion export and non-Darcy D-factor 2026-10-24 20:30:43 +02:00
Magne Sjaastad 1e380d0a03 #15021: Document units of well diameter, radius and width 2026-10-24 20:30:43 +02:00
Magne Sjaastad 97bbf65a57 #15021: Fix field unit errors in fracture reports 2026-10-24 20:30:43 +02:00
Magne Sjaastad e128e6dd3e #15021: Fix D-factor unit mismatch for field units
Use well radius and ellipse width in feet for fractures and perforations when computing the D-factor, as the field alpha expects feet.
2026-10-24 20:30:43 +02:00
Magne Sjaastad ce9ae46a91 #15021: Move completion data export helpers to RicCompletionDataExportTools
Move the COMPDAT/COMPLUMP export and combine helpers, including completionNumberForCell, out of RicWellPathExportCompletionDataFeatureImpl. Remove an unreachable HUGE_VAL branch, fix the combined D-factor divisor and a zero-transmissibility division, and drop unused includes.
2026-10-24 20:30:43 +02:00
Magne Sjaastad 44a865af94 #14893: Show recently used folders when selecting a folder
On Windows, use the Qt folder dialog and show the 10 most recently selected folders in the Look in dropdown. The native Windows folder dialog does not support a folder history. Linux behavior is unchanged.
2026-10-24 20:23:32 +02:00