Magne Sjaastad
8a55b4cd20
#12021 Compute fault distance for active cells
2025-01-06 07:23:28 +01:00
Magne Sjaastad
46515b107f
#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-06 07:23:28 +01:00
Magne Sjaastad
45c8916d0f
Improve user interface
...
Add icon for well target generator
Improve uiOrdering for RimRegularGridCase
2025-01-02 08:06:50 +01:00
Magne Sjaastad
c4c4078e09
#12017 Add caching of well target result data
...
Write data to welltargetdata.GRDECL in a subfolder of the project. Import this data when project is load. The data in this cache is owerwritten when the project is saved.
2025-01-02 08:06:50 +01:00
Magne Sjaastad
1cdbffb2c7
Make sure cached data is computed
...
Without this, the bounding box of the case is undefined, causing the polygons lines not to be visible.
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1d552ea77d
Add well target generator cases to RimProject::allCases.
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
d1aec2f1cb
#12005 Well Target Candidates: Move ensemble grid under generator in Project Tree
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
ac985ade00
Janitor: select newly created well target candidates generator.
2024-12-23 10:02:19 +01:00
Kristian Bendiksen
1abd0afe6e
Well Target Candidates: misc improvements.
...
Improvements:
* Well Target Candidates: Add filtering by binary result
* Well Target Candidates: make result grid cell count configurable.
* Well Target Candidates: Improve ui ordering.
* Well Target Candidates: compute probability, and simplify vector names.
* Optimization: Avoid expensive unintended duplication of data
2024-12-20 10:25:15 +01:00
Kristian Bendiksen
30d0b8e115
Grid calculator: add support for grid ensembles.
2024-12-20 10:25:15 +01:00
Magne Sjaastad
7877cdf62d
#11994 GeoMech: Allow property filter to be linked to cell result
2024-12-20 07:37:33 +01:00
Magne Sjaastad
0ec9a36406
#11994 Allow property filter to be linked to cell result
2024-12-20 07:37:33 +01:00
Magne Sjaastad
997e14c90e
#11993 Improve ensemble search dialog
...
Use tree view instead of list view. Add filtering based on text match using realization numbers. Clean up user interface. Rename several GUI items.
2024-12-19 14:55:37 +01:00
Kristian Bendiksen
fb90844901
Generate well target candidates statistics for ensembles.
2024-12-18 12:28:20 +01:00
Kristian Bendiksen
4f3b7d2675
Janitor: reduce scope of loop indexes.
2024-12-18 12:28:20 +01:00
jonjenssen
8423b17832
Rel perm plot legend adjustments
2024-12-14 13:15:43 +01:00
Magne Sjaastad
af7addd6b4
Add test for tab as delimiter
2024-12-12 16:24:14 +01:00
Magne Sjaastad
ca4a201c4e
#11989 Check indices before accessing two-dimensional vector
2024-12-12 16:24:14 +01:00
Kristian Bendiksen
925403764e
Add Statistics Contour Map for eclipse grid ensembles.
2024-12-10 15:28:26 +01:00
jonjenssen
711cb267fd
Polygon UI updates ( #11975 )
...
* Polygon UI updates
2024-12-06 14:26:30 +01:00
Magne Sjaastad
9da244d253
Add keywords for 2024.12
2024-12-05 11:29:12 +01:00
Magne Sjaastad
996a10f781
Fix curve highlight for non-ensemble curves
2024-12-05 08:18:43 +01:00
Magne Sjaastad
39d19c9826
#11966 Fix visibility control of curve legends
2024-12-04 19:38:15 +01:00
Magne Sjaastad
586aefe0b6
Mark SUMO features with BETA
2024-12-04 18:47:07 +01:00
Magne Sjaastad
b48b58ca14
#11386 Summary plot: TCPU and ELAPSED are cumulative vectors
2024-12-04 18:47:07 +01:00
Magne Sjaastad
1ce2f9651c
#11954 Improve the curve merger algorithm
...
* Add flag to indicate identical X values when curves are merged
* Detect if x values are monotonically increasing
2024-12-03 16:53:11 +01:00
Jon Jenssen
d90dd91e29
Hide grid mesh lines in contour map view
2024-12-03 15:33:53 +01:00
jonjenssen
eee6f36a0e
Merge pull request #11952 from OPM/polygon_updates
...
Polygon command updates
2024-12-03 13:50:55 +01:00
Arne Morten Kvarving
6d4824b204
fixed: build against QT 6.8
2024-12-03 12:40:26 +01:00
jonjenssen
8644ca1ea5
Code fixes
2024-12-02 13:04:10 +01:00
Kristian Bendiksen
bd3ef3f775
#11943 Contour Map: regenerate grid and projection on sampling factor change.
2024-12-02 09:38:52 +01:00
jonjenssen
9ec83836ed
Better command support for multi-select of polygons
2024-11-29 23:43:03 +01:00
Magne Sjaastad
041e2f2e13
#11938 Cloud Config: Show the full path to config file for cloud services
2024-11-29 06:28:02 +01:00
jonjenssen
bb19ba75a4
Add support for deleting OSDU and SUMO user token files ( #11935 )
...
* Add support for deleting OSDU and SUMO user token files
2024-11-28 19:40:17 +01:00
Jon Jenssen
4975f260ca
Support showing both scaled and unscaled curves in relperm plot
2024-11-27 16:31:57 +01:00
Magne Sjaastad
26a30ffa50
Make sure fault geometry always is visible
...
The check for fault was removed in 4cf6a26083
This causes wrong visualization when a range filter is active and a fault is present along the filter.
There is some performance issues seen when profiling this code, needs more investigation.
2024-11-27 12:29:12 +01:00
Magne Sjaastad
e54c4f3c1e
Make sure all scheduled redraws are done
...
Snapshot image from the regression test
TestCase_Flow was wrong for well allocation plots, the well log part was not updated correctly.
2024-11-27 12:29:12 +01:00
Magne Sjaastad
24fc63ab6d
VFP: Make sure table number is included for INJ plots
2024-11-27 12:29:12 +01:00
Kristian Bendiksen
1199d761ee
Contour map geomech: fix bug with visibility map
2024-11-26 17:35:05 +01:00
Magne Sjaastad
ddefd39fc2
Python: Make more well completion parameters available
...
Add access to all MSW parameters in Python : "msw_settings = well_path.msw_settings()"
Make all parameters of the well completion object available in Python.
2024-11-25 09:38:23 +01:00
Magne Sjaastad
6894149f8e
#11859 Summary Plot: Missing legend curve name for Excel data
...
Remove virtual from RimPlotCurve::setTitle()
Set curve name for an Ascii curve to custom
Make the curve title obsolete
2024-11-25 07:18:44 +01:00
jonjenssen
036ed8b70e
Make sure we only loop over active grids local cells when calculating visibility
2024-11-22 11:46:00 +01:00
Magne Sjaastad
db20065e1e
#11896 Make sure the Fractures folder in view is visible when required
...
The Fractures folder in a 3D view becomes visible when the first fracture is added. Make sure that the Project Tree is recreated correctly.
2024-11-21 14:46:39 +01:00
Magne Sjaastad
3cc2958384
Summary Table: Add user option to set time range on x-axis
...
* Make sure all evenly distributed labels are drawn
* Add start and end data
2024-11-21 14:38:59 +01:00
jonjenssen
5fa572266f
Fix missing size check.
2024-11-21 12:57:50 +01:00
jonjenssen
f716b4e964
Support multiple timesteps per day using opm_common reader ( #11908 )
...
* Fix progress window hiding time step filter dlg
* Clean up reader preferences
2024-11-21 12:42:13 +01:00
Magne Sjaastad
065528ffba
#11909 Add null pointer guards when detecting unit system
2024-11-21 12:01:46 +01:00
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
Magne Sjaastad
2814b92055
Qt6: Adjustments ( #11804 )
...
* Qt6: Avoid insertWidget, use addWidget
In Qt6, the insertWidget function checks if the index parameter is valid based on current widgets present in the layout. This is error prone, and use addWidget to avoid manual counting of index.
* Disable use of Qt keyword foreach
* Replace use of QRegExp with QRegularExpression
Replace use of QRegExp with QRegularExpression
Remove dependency on qt5compat module
Simplify an expression based on review
* Remove Qt5 ifdefs
* Guard access out of bounds seen in debug build
* Avoid reuse of string variable
* Disconnect all signals from the QOpenGLContext
The call stack when this assert happens indicates that there are more signals to be disconnected from the object. Crash is fixed by disconnecting all signals.
Assert seen in debug build:
ASSERT failure in caf::Viewer: "Called object is not of the correct type (class destructor may have already run)", file C:\Qt\6.6.3\msvc2019_64\include\QtCore/qobjectdefs_impl.h, line 130
* Fix issue related to delete of a linked view
Guard null pointer use in view linker. Remove complicated cleanup in destructor in Rim3dVew.
2024-10-28 13:09:18 +01:00
Magne Sjaastad
1f2b180ab7
#11812 Multi-segment RFT plot: Make sure reservoir Pressure is plotted
2024-10-24 12:18:35 +02:00
Magne Sjaastad
a9ea615bf0
Add support for increase of serial number when data is assigned to a SUMO case
2024-10-24 08:50:26 +02:00