Commit Graph
33 Commits
Author SHA1 Message Date
Kristian Bendiksen 0eba9e8ef7 #14752 Well Target Mapping: use view-independent data filters 2026-09-18 12:36:43 +02:00
Magne Sjaastad cda9551dbb #14222 Well target mapping: Avoid clamp crash with invalid min/max bounds
std::clamp() invokes undefined behavior when the low bound is greater
than the high bound. In resetMinimumCellValuesToDefault(), the
minimum/maximum bounds for saturation, pressure, permeability and
transmissibility are derived from case data and can end up inverted
when no data is available, which crashed or produced garbage values.
2026-08-31 12:20:48 +02:00
JJ 75ebd7f20b Well target updates (#14619)
Support well target mapping calculations for ensembles.
2026-08-28 13:36:02 +02:00
Magne Sjaastad 1c4c304064 #14476 ApplicationLibCode: Remove unused cvf includes
Remove 95 cvf include lines that the including file does not use. Found by
extracting the symbols declared by every VizFwk header, including symbols they
re-export, and flagging includes where none of those symbols appear anywhere in
the file. Each removal is verified by a full build.

Most of them are cvfVector3.h and cvfObject.h, left behind as the files they
were once needed by changed.

pch.h is left untouched. It includes cvfObject.h and cvfVector3.h on purpose, so
that the files using the precompiled header do not have to.

Note that a clean build after removing an include does not prove the include was
unnecessary, only that the declarations still arrive some other way. That path
can differ between platforms and with RESINSIGHT_ENABLE_UNITY_BUILD, so this
needs a CI round on Linux as well.
2026-08-07 15:05:57 +02:00
Magne Sjaastad 2f8ec77851 #14061 Reorder user interface for summary/grid ensemble import
* Agent docs: Recommend cmake --build over ninja when sharing build/ with Visual Studio
* Disable Create Well Target Mapping for grid ensembles with individual grids
* Move RimSummaryCaseMainCollection context menu items into appendMenuItems override
* Reorganize import menus: split per-window, group submenus, rename actions, add Import/Export icons
* Show icons on "New Statistics Case" and "New Grid Case Group" menu actions
* Rename grid/summary import submenus to "More" and use the import icon
2026-05-28 16:06:39 +02:00
Magne Sjaastad 9f30c981bc Remove unused cafPdmUiPushButtonEditor.h includes
Follow-up cleanup after switching from bool PdmField push buttons to cafPdmUiButton.
2026-03-04 09:52:17 +01:00
Magne Sjaastad f5234f0e06 RigWellTargetMapping: Extract private implementation into RigWellTargetMappingTools
Move private methods, DataContainer, and ClusterStatistics from
RigWellTargetMapping into a new RigWellTargetMappingTools class to reduce
header complexity. Change generateEnsembleCandidates to accept
std::vector<RimEclipseCase*> instead of RimEclipseCaseEnsemble.
2026-03-04 07:37:19 +01:00
Magne Sjaastad aa3372efce Add support for Reservoir Grid Ensembles
Introduce RimReservoirGridEnsemble and RimReservoirGridEnsembleBase to manage ensembles of grid-only Eclipse cases. Enable detection of identical grids for shared operations and statistics. Integrate grid ensembles into project structure, UI, and menu system. Refactor statistics and view handling to support both case groups and grid ensembles via a common interface. Add deferred grid loading, robust case referencing, and migration for well data source fields. New features and menu items allow creation and management of grid ensembles from file sets, enabling new workflows for grid-only ensemble analysis.
2026-02-13 14:35:52 +01:00
Magne Sjaastad 5be1a4feb7 Replaces push buttons with addNewButton
Removes the explicit usage of PdmUiPushButtonEditor and associated fields.

Replaces these with the more flexible addNewButton function in PdmUiOrdering.
This provides a more streamlined way to add buttons to the UI.
2026-01-27 13:37:37 +01:00
Magne Sjaastad 7768e8c9c9 Do not change time step when reading project file 2025-12-17 15:55:32 +01:00
JJ 09b8602213 Well Target Mapping improvements (#13324)
* Add single case well target results into correct time step
* Speed up unique value calculations by providing unique values directly to statistics cache
* Switch to selected time step in view
2025-12-13 09:35:27 +01:00
Kristian Bendiksen a81229bad8 Introduce type-safe cell index for active reservoir cell index. 2025-10-13 16:17:03 +02:00
Magne Sjaastad 403c864dd1 #12434 Use subscript for permability unit 2025-04-29 16:29:22 +02:00
Magne Sjaastad fdb5d5605e Adds default property filter on well target creation
Adds a default property filter to the eclipse view when a well target is created. This ensures that cells with undefined values are hidden.

Also generates results on project load, so results are visible on startup.
2025-04-07 09:25:46 +02:00
Magne Sjaastad dfd89ae8c0 Rename kH to Kh 2025-04-04 13:37:53 +02:00
Kristian Bendiksen cfcbc03794 #12305 Well Target Mapping: add filter by view
Fixes #12305.
2025-04-02 17:19:57 +02:00
Kristian Bendiksen 712253624a Well Target Mapping: Use horizontal permeability for filtering. 2025-04-02 17:19:57 +02:00
Kristian Bendiksen 9a7c23eb02 Well Target Mapping: produce more results, and fix crashes when SGAS is missing. 2025-04-02 17:19:57 +02:00
Kristian Bendiksen a244fafc87 #12320 Well Target Mapping: add saturation filter. 2025-04-02 17:19:57 +02:00
Kristian Bendiksen 3bfe0c1f63 #12304 Well Target Mapping: Add support for mobile volume results. 2025-03-31 14:20:43 +02:00
Kristian Bendiksen fba8abbc9f #12302 Well Target Mapping: use P90 as default + "Reset to P90"-button 2025-03-27 13:28:10 +01:00
Kristian Bendiksen 516c06bfd2 #12303 Well Target Mapping: Add "Surface Volumes" option for FIPOIL/FIPGAS. 2025-03-26 15:26:14 +01:00
Kristian Bendiksen 60bf1f12b8 #12303 Well Target Mapping: Hide "Cluster Filter". 2025-03-26 15:26:14 +01:00
Kristian Bendiksen 134751c954 #12303 Well Target Mapping: Rename group to "Minimum cell values" 2025-03-26 15:26:14 +01:00
Kristian Bendiksen 7f8aead2c6 #12303 Well Target Mapping: Rename result vector to "WELL_TARGET_NUM". 2025-03-26 15:26:14 +01:00
Kristian Bendiksen 11a7bdaa90 #12303 Well Target Mapping: Rename "Max Cluster" to "Maximum number of targets" 2025-03-26 15:26:14 +01:00
Kristian Bendiksen 39eb7070dc #12303 Well Target Mapping: remove cell volume filter. 2025-03-26 15:26:14 +01:00
Kristian Bendiksen e9645d5261 #12281 Well Target Mapping: show only available volumes types. 2025-03-26 12:43:27 +01:00
Kristian Bendiksen 1d46af79fe #12281 Well Target Mapping: use last time step by default. 2025-03-26 12:43:27 +01:00
Kristian Bendiksen b2d2a1f0c2 #12281 Well Target Mapping: hide max iterations option. 2025-03-26 12:43:27 +01:00
Kristian Bendiksen 52a43a89ba #12281 Well Target Mapping: show resulting clusters in view. 2025-03-26 12:43:27 +01:00
Kristian Bendiksen e635ffac23 #12281 Well Target Mapping: hide advanced configuration. 2025-03-26 12:43:27 +01:00
Kristian Bendiksen e2feb46641 #12281 Rename Well Target Generator to Well Target Mapping. 2025-03-26 12:43:27 +01:00