Commit Graph

17609 Commits

Author SHA1 Message Date
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
Magne Sjaastad
d10cce4ead Use hash of input do control if calculation is required
Add hash functions
Add serial number to SummaryReaderInterface
Add hash for RimSummaryCase

Use hash based on input parameters to control caching of data in RimEnsembleStatisticsCase::calculate  and RimEnsembleCurveSet::appendOptionItemsForSummaryAddresses
2024-10-24 19:46:35 +02:00
Magne Sjaastad
4f8619d38c #11798 Use type definition from ClipperLib to avoid overflow
When converting a cvf::Vec3d to an integer vector, the platform int type was used as an intermediate variable. This caused overflow for large double values.
2024-10-24 19:46:35 +02: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
Magne Sjaastad
c795eccf0b Align the search expression with sumo explorer 2024-10-24 08:50:26 +02:00
Kristian Bendiksen
293e19d820 Refactor: make contour map calculation easier to reuse. 2024-10-23 14:46:52 +02:00
Magne Sjaastad
2cdb388a0d Bump to dev.07 2024-10-23 12:38:22 +02:00
Magne Sjaastad
fd0ebd989b 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-23 12:38:22 +02:00
Magne Sjaastad
581b268928 Use hash of input do control if calculation is required
Add hash functions
Add serial number to SummaryReaderInterface
Add hash for RimSummaryCase

Use hash based on input parameters to control caching of data in RimEnsembleStatisticsCase::calculate  and RimEnsembleCurveSet::appendOptionItemsForSummaryAddresses
2024-10-23 12:38:22 +02:00
Magne Sjaastad
ac96150875 Bump to dev.06 2024-10-22 18:02:36 +02:00
Magne Sjaastad
da4d4c66b1 #11798 Use type definition from ClipperLib to avoid overflow
When converting a cvf::Vec3d to an integer vector, the platform int type was used as an intermediate variable. This caused overflow for large double values.
2024-10-22 10:39:04 +02:00
Magne Sjaastad
df091336e0 Move summary tools into separate folder 2024-10-22 07:28:43 +02:00
Magne Sjaastad
95b2f2bbd1 Add icons 2024-10-21 14:11:22 +02:00
Magne Sjaastad
eee00ee508 Update default dock state for Quick Access 2024-10-21 14:11:22 +02:00
Magne Sjaastad
2befcf6417 Create quick access objects when opening project and some objects
Create quick access for Eclipse view, IJK slice filters and property filters
Create quick access objects for existing projects automatically
2024-10-21 14:11:22 +02:00
Magne Sjaastad
2e305bd762 Add quick access dock widget 2024-10-21 14:11:22 +02:00
Magne Sjaastad
4ff5aaf381 Add quick access data model objects 2024-10-21 14:11:22 +02:00
Magne Sjaastad
b0d967ff40
Preparations for quick access features
* Add tool button editor with callback support
* Guard null pointer usage
* Allow proxy field with no getter
* Remove duplicated code
2024-10-21 14:08:15 +02:00
Magne Sjaastad
5ffd7f3f61 Move Show Disks from Visibility group into Disk group 2024-10-21 12:52:42 +02:00
Magne Sjaastad
c3d60869bd 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-21 09:38:33 +02:00
Magne Sjaastad
2aaea1e6db Fix crash when curve data is missing 2024-10-21 09:38:33 +02:00
Magne Sjaastad
77c789a179 Improve performance when creating multiple plots 2024-10-21 09:38:33 +02:00
Magne Sjaastad
04799e044e Fix missing prefix seen in unity builds 2024-10-20 16:35:39 +02:00
Magne Sjaastad
205b29de3c Bump to dev.05 2024-10-18 13:17:09 +02:00
Kristian Bendiksen
ebc805ab65 Refactor: Extractor contour polygon tools. 2024-10-17 13:45:18 +02:00
Kristian Bendiksen
c636a80fe2 Refactor: simplify conditionals. 2024-10-17 08:23:22 +02:00