Commit Graph
2504 Commits
Author SHA1 Message Date
Kristian Bendiksen 8da0690096 Refactor: Decouple RivContourMapProjectionPartMgr and RimContourMapProjection 2024-11-20 14:52:27 +01:00
Kristian Bendiksen eb6467c599 Refactor: remove pass-through methods from Rim to Rig. 2024-11-20 14:52:27 +01:00
Magne Sjaastad 06fb3e1241 #11895 Always show Oil Saturation as available
If no SOIL is found on file, compute based on available SWAT and SGAS.
2024-11-19 13:08:04 +01:00
Kristian Bendiksen a305464748 Refactor: Split out triangle generation from contour map 2024-11-18 09:12:44 +01:00
Magne Sjaastad 9b6e441386 Make it possible to exclude partial delta curves
Make sure statistics curves are recomputed on flag change

When toggling "Discard Missing or Incomplete Realizations", make sure the statistics is recomputed and the ensemble plots updated.
2024-11-18 07:45:20 +01:00
jonjenssen dbea0e2593 OpenGL DPI scaling support (#11883)
Scale opengl width/height based on primary screen DPI scaling.
2024-11-15 12:12:59 +01:00
Magne Sjaastad f6109cab2b Bump to dev.05
* Disable logging text for timing of geometry surface creation
* Suppress text output from windeployqt
* Bump to 2024.09.3-dev.05
2024-11-15 11:36:52 +01:00
Magne Sjaastad 664b082c81 Use opm-common to read restart file from summary file
Testing identified performance issues related to reading restart file name from summary files.

Make sure the reading of timesteps is done only when required in new function getFileInfoAndTimeSteps.

Add reading of restart file name using opm-common when opm-common is active. The performance of this reader is much better than resdata.
2024-11-14 19:28:51 +01:00
Magne Sjaastad acbf0ef15a Fix crash when accessing an empty vector
If the UNSMRY data is missing, no timesteps are available. Make sure that we check if any timestep is available before accessing the vector.
2024-11-14 19:28:51 +01:00
Kristian Bendiksen 7148ccdc41 Contour Map: Fix crash when not filtering by visibility. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen 5588f8f0f9 Statistics contour map: Add UI for selection result aggregation type. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen 88ded4f7a0 Refactor: improve names of result aggregation enum options. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen c16bc11c03 Add configurable "relative sample spacing". 2024-11-13 15:36:44 +01:00
Kristian Bendiksen e2940e4eaf Contour Statistics Map: Compute results 2024-11-13 15:36:44 +01:00
Kristian Bendiksen c4dd4865f4 Add StatisticsContourMap pdm object, and menu item. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen c2ec023720 Add utility for finding min/max of vector. 2024-11-13 15:36:44 +01:00
Kristian Bendiksen 8e6d8ee317 Contour Map: Fix incorrect null guard. 2024-11-13 15:36:44 +01:00
Magne Sjaastad 8b221c26ab Discard display of delta curves if data is missing
Add a flag used to control if missing data from either of the ensembles will return no data, or use zero if data is missing.
2024-11-13 15:18:10 +01:00
Magne Sjaastad 7550b8702c Rename delta ensemble and case
Rename to RimDeltaSummaryCase and inherit RifSummaryReaderInterface
Rename to RimDeltaSummaryEnsemble

Remove obsolete RifDerivedEnsembleReader
2024-11-13 15:18:10 +01:00
Magne Sjaastad 11a3c66a0b Make sure the vector name is visible for delta ensemble curves 2024-11-13 15:18:10 +01:00
Magne Sjaastad b0344a1e72 Logging: Skip identical messages logged close in time
There can be situations where multiple identical log messages are computed in a short time interval. Default time interval is set to 1 second, if the message is reported after this interval, the message is added to the log.
2024-11-13 15:18:10 +01:00
Kristian Bendiksen f5437e6c72 Refactor: extract computation for contour map projection. 2024-11-07 13:13:20 +01:00
Magne Sjaastad d2cd425ad0 11867 Do not assume that the first reported time step is initial time step 2024-11-07 12:02:25 +01:00
Magne Sjaastad 94d6f81b0f Improve Quick Access
* Add css to checked menu items
* Improve icons
* Use group name for field if found
* Add quick access fields for IJK Filter
* Add tree selection for selection of multiple fields
2024-11-07 09:36:24 +01:00
Magne Sjaastad 67e6df28b5 #11857 Make sure the summary curve type is updated
Always compute curve type Rate or Accumulated based on address if Auto curve type is set.
2024-11-06 07:16:07 +01:00
Magne Sjaastad 1cbdbfa7df Remove waitUntilWorkIsDone as this can cause eternal loops 2024-11-06 07:16:07 +01:00
Jon Jenssen 8ff8264d11 Use window icons to show toggle state in windows menu 2024-11-05 15:34:07 +01:00
Magne Sjaastad 1a3cb1f241 Fix missing include and bump version 2024-11-04 18:31:18 +01:00
Magne Sjaastad 9ed4318470 Avoid redraw of 3D views during summary import 2024-11-04 17:34:49 +01:00
Magne Sjaastad 71b0ae1a16 Remove duplicated code in RiaPlotWindowRedrawScheduler 2024-11-04 17:34:49 +01:00
Magne Sjaastad 59df1a655e #11851 Initialize OpenGL when main window is created 2024-11-04 17:34:49 +01:00
Magne Sjaastad 275526a64a Remove unused includes
Remove unused includes, mostly AppEnum.h
2024-11-04 09:54:23 +01:00
Magne Sjaastad 7fe945e68d #11842 Fix drag/drop of VFP plot into multiplot
Remove the deprecated plot collection
Make sure the dropped plot is visible in the multi plot
2024-11-04 08:47:21 +01:00
Magne Sjaastad a05645e966 #11844 Quick Access adjustments
Show the Quick Access menu only for objects that implements RimFieldQuickAccessInterface
Show the fields made available by RimFieldQuickAccessInterface
2024-11-04 08:46:55 +01:00
Magne Sjaastad 4cf6a26083 Improve draw performance for active cell grid
* Show timing for geoBuilder.generateSurface()
* Check state of element vector result before geometry is created

* Improve performance for isFaceVisible
Avoid calling costly function cell() when possible
Remove check on fault geometry as this does not affect the visualization

* Performance: Avoid traversal of all cells when computing visibility
When we have an active cell grid, we can skip checking for inactive and invalid state.
Use the list of active grid cells when looping through cells.
2024-11-03 13:38:03 +01:00
Magne Sjaastad 9a1c54c7d6 Add debug timers to import of UNRST files 2024-10-31 19:05:10 +01:00
jonjenssen d7d1026841 Fix build issue 2024-10-31 15:08:59 +01:00
jonjenssen da683bed9e Move Rig well related things to subfolder and update include statements 2024-10-31 15:08:59 +01:00
Magne Sjaastad 7677466d29 Make sure plot create from Python is visible 2024-10-30 13:54:03 +01:00
Jon Jenssen 4468e89ded Ignore empty branches and invalid cells 2024-10-29 18:17:31 +01:00
Magne Sjaastad 2154c0ae3b Use updated API for total cell count 2024-10-29 18:17:31 +01:00
Jon Jenssen 8a2a1c218b Some performance updates 2024-10-29 18:17:31 +01:00
jonjenssen f7ecd38592 Add some friends to protect direct access to internal cell storage 2024-10-29 18:17:31 +01:00
jonjenssen f21d1545f8 Some cleanup 2024-10-29 18:17:31 +01:00
jonjenssen db66ec82de Some clean up and fixes 2024-10-29 18:17:31 +01:00
jonjenssen 78d82acb41 Add specialiced active cell subgrids 2024-10-29 18:17:31 +01:00
jonjenssen 88118ee4e1 Privatize grid cell array 2024-10-29 18:17:31 +01:00
jonjenssen 69878f54d3 Work in progress 2024-10-29 18:17:31 +01:00
Magne Sjaastad 95365ad5d0 Add timing support to logger 2024-10-29 14:33:48 +01:00
Magne Sjaastad 4f921b62b6 Remove misleading and confusing error message 2024-10-29 10:29:29 +01:00