Commit Graph

17535 Commits

Author SHA1 Message Date
Arash Partow
21f6cdbc1e Update ExprTk 2024-11-13 11:31:18 +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
2a2ff204be Bump version to 2024.09.3-dev.03 2024-11-04 17:37:23 +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
Magne Sjaastad
e6a58d7559
Fix spell check action 2024-10-31 15:39:52 +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
151128d829 Bump version to 2024.09.3-dev.02 2024-10-30 13:58:04 +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
924687b11e Remove qt5compat 2024-10-29 14:26:41 +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
bb047e82d3 #11827 Use FetchContent_MakeAvailable
FetchContent_Populate() is deprecated
2024-10-28 13:08:18 +01:00
Magne Sjaastad
3a6e7997f1 Merge remote-tracking branch 'origin/main' into dev 2024-10-25 09:49:13 +02:00
Magne Sjaastad
47413ede45 Add example for linux CMakeUserPresets 2024-10-25 08:39:50 +02:00
Magne Sjaastad
e49c82c4e0 Bump version to 2024.09.2 2024-10-24 19:46:35 +02:00
Magne Sjaastad
cf8d84e56a Bump version to RC-03 2024-10-24 19:46:35 +02:00
Magne Sjaastad
26ed0e50d7 #11812 Multi-segment RFT plot: Make sure reservoir Pressure is plotted 2024-10-24 19:46:35 +02:00
Magne Sjaastad
4e888ef624 Bump version 2024-10-24 19:46:35 +02:00
Magne Sjaastad
be759a6e7e Improve support for network vectors
Show all text if summary address contains multiple : for network addresses
Consolidate replace of tokens in summary address
2024-10-24 19:46:35 +02:00
Magne Sjaastad
cfb120ce2e Fix crash when curve data is missing 2024-10-24 19:46:35 +02:00
Magne Sjaastad
317c737a22 Improve performance when creating multiple plots 2024-10-24 19:46:35 +02:00
Magne Sjaastad
cf7f00880a Add support for increase of serial number when data is assigned to a SUMO case 2024-10-24 19:46:35 +02:00
Magne Sjaastad
275a8b7284 Align the search expression with sumo explorer 2024-10-24 19:46:35 +02:00
magnesj
c0532cb96c Fixes by clang-format 2024-10-24 19:46:35 +02:00
Magne Sjaastad
e476c1c0c5 Bump version 2024-10-24 19:46:35 +02:00
Magne Sjaastad
417acc9d05 Improve performance when computing interpolated values
Use OpenMP when computing interpolated values for a curve.
Use std::lower_bound to quickly find a relevant start index, avoids starting from 0 each time.
2024-10-24 19:46:35 +02:00