Magne Sjaastad
c759a11888
Cmake cleanup and selected Qt6 adjustments
...
- Avoid warning using newer CMake by removing obsolete cmake requirements in sub projects
- Several adjustments preparing for Qt6
2024-04-17 15:06:51 +02:00
Kristian Bendiksen
174123f8b5
Refactor: rename confusing push_back method on view collections.
2024-04-17 14:34:36 +02:00
Kristian Bendiksen
ade044adbf
Grid Ensemble: add methods to add view
2024-04-17 14:34:36 +02:00
Kristian Bendiksen
b84362dfc0
Grid Ensemble: add menu item for importing grid ensemble.
2024-04-17 14:34:36 +02:00
Kristian Bendiksen
acb06b1f53
Grid Ensemble: add pdm object.
2024-04-17 14:34:36 +02:00
jonjenssen
5b4da82844
Fix eclipse case contour map left click ( #11378 )
...
* Make sure we operate in the correct domain when picking points in the contour map
2024-04-17 11:53:29 +02:00
Magne Sjaastad
85136fb343
Make sure project tree is updated when view is deleted
2024-04-16 15:23:53 +02:00
Kristian Bendiksen
2d688b1c8b
Eclipse case: avoid invalidating vector while iterating over it.
2024-04-16 15:23:53 +02:00
Kristian Bendiksen
abf61090cc
Fix intersection view regression.
2024-04-16 15:23:53 +02:00
Magne Sjaastad
030688cff6
Several adjustments related to Qt6
...
* Avoid ambiguous definition during unity build on Windows
* Add missing include
* Add Qt6 to expressionparser
* Add Qt6 to nightcharts
* Replace forward define of QStringList with include <QStringList>
* Use toMSecsSinceEpoch
* Use setContentsMargins
2024-04-16 14:22:15 +02:00
Kristian Bendiksen
39b9a25faa
Fix update of grid nodes.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
ce6199289f
Show case option when not in the tree.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
21041c476d
Show case option in contour map view.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
9c0f601ba6
Fix crash when creating contour map from 3d view.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
4f8c081669
Support global and local views.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
b5666c333a
Refactor connection between cases and views.
...
Eclipse grid views and contour maps are not longer a child of the case.
The views are not separate collections (one for grid and one for contour maps)
on root level.
2024-04-15 16:10:43 +02:00
Kristian Bendiksen
b181c55db8
WBS Plot: use PP (from any source) for shale for SFG.
2024-04-15 13:26:08 +02:00
Kristian Bendiksen
9dc5e99be0
#11354 Fix FG_MK_MIN/FG_MK_EXP calculations
...
Was not using Kirsch at all due to misunderstanding.
Fixes #11354 .
2024-04-15 13:26:08 +02:00
Kristian Bendiksen
eeecc41ad1
Fix typo.
2024-04-10 13:34:41 +02:00
Kristian Bendiksen
c402142e58
Refactor: extract duplicated code.
2024-04-10 13:34:41 +02:00
Kristian Bendiksen
eb02e9e0a5
#11332 2D Intersection Views: Improve automatic depth resolution.
2024-04-10 13:34:41 +02:00
Kristian Bendiksen
7836181ad1
Refactor: use lambda instead of define.
2024-04-10 13:34:41 +02:00
Kristian Bendiksen
67a9e14417
CSV Well Log: change sampling rate from 1.0 meter to 0.1 meter.
2024-04-10 13:05:34 +02:00
jonjenssen
25361ad796
Allow polygon line filter with only one point ( #11345 )
...
Allow polygon line filter with only one point, for both eclipse and geomech
2024-04-10 10:47:06 +02:00
jonjenssen
bbc279d587
Improve cell filter collection menu
2024-04-10 10:43:49 +02:00
Magne Sjaastad
8b1b9acd84
#11337 Summary import: Make sure ESMRY includes restart history
2024-04-08 15:57:10 +02:00
Kristian Bendiksen
3f3b5a621d
#11334 Fix cvf::Viewport assert triggered for small contour map/2d intersection
...
Size of the overlay is could become negative, and would overflow for small views.
Fixes #11334 .
2024-04-08 14:41:46 +02:00
Kristian Bendiksen
85b6ea397a
Interpolation: Add check for array size for extrapolation.
2024-04-05 14:39:46 +02:00
Kristian Bendiksen
efe37bb063
Well Log CSV: fix interpolation of CSV data.
...
The TVD measurements from the well path were used to interpolate the CSV data.
The typically well path is too coarsely sampled which would lead unwanted
smoothing of the data.
Fixed by resampling the well path to a one meter sampling interval.
2024-04-05 14:39:46 +02:00
Kristian Bendiksen
bebf59c309
Interpolation: Fix "trend" extrapolation for value outside of range on high end.
2024-04-05 14:39:46 +02:00
Kristian Bendiksen
c074033dc2
Refactor: Fix misspelling of "synchronize".
2024-04-05 13:55:09 +02:00
Kristian Bendiksen
873282b339
Refactor: avoid local variable only used in range-based for loops
2024-04-04 10:24:21 +02:00
Kristian Bendiksen
e862bd259f
Refactor: modernize for loops.
2024-04-04 10:24:21 +02:00
Kristian Bendiksen
be3d06c549
Refactor: improve api for views and oil fields.
2024-04-04 10:24:21 +02:00
Magne Sjaastad
ef637e3053
Move stream operator from AppEnum header
...
This PR will reduce the compile time of code using AppEnum.
* AppEnum: Move QTextStream operator to avoid include of QTextStream
* Avoid use of iostream in cafAssert
rator to avoid include of QTextStream
Include file profiling shows that include of QTextStream is a performance issue. Create a non-templated base class for AppEnum. Implement the QTextStream operator for this interface.
2024-03-25 15:14:04 +01:00
Magne Sjaastad
b57767d895
Add feature to set parent well
2024-03-25 10:19:31 +01:00
Magne Sjaastad
5d2ac1f84d
Add object and keywords for 2024.03
2024-03-22 08:46:28 +01:00
Magne Sjaastad
eaa96a042b
Fix detection of ROFF file type
2024-03-22 08:46:28 +01:00
Magne Sjaastad
61254ba1b2
Summary: Set default value true for display of sub nodes
...
Set display of summary nodes to true. This will ensure that the display of vectors in "Data Sources" for a single summary case will be updated when a calculated curve is added or removed.
2024-03-22 08:46:28 +01:00
Magne Sjaastad
78759feb15
Update GUI editor if a new summary vector is set created
...
Make sure the user interface is updated when summary data is set from Python using summary_case.set_summary_values
2024-03-22 08:46:28 +01:00
Magne Sjaastad
c1b44e0d51
Add license info for spdlog
2024-03-22 08:46:28 +01:00
Magne Sjaastad
d95c4c780c
Fix regression causing hidden objects to be visible
...
Hide objects that by mistake was make visible in ce513be
2024-03-21 09:32:09 +01:00
Magne Sjaastad
672b7a2a65
Make sure all editors are updated after source stepping
2024-03-21 09:32:09 +01:00
Magne Sjaastad
7190d781d0
Grid Case Statistics: Show well data from first realization
2024-03-21 09:32:09 +01:00
Magne Sjaastad
2e456a6f9b
Add font size to text content frame
2024-03-21 07:11:21 +01:00
Magne Sjaastad
785871cae3
Add realization filtering based on text string
...
Add unit tests and support min max range specifications. Example string "-5, 5, 8-10, 12-"
2024-03-21 07:11:21 +01:00
Magne Sjaastad
84875bef4f
Fix source stepping on calculated vectors
...
Make sure the calculation ID is set when a calculated vector is selected in the toolbar
2024-03-19 14:33:29 +01:00
Magne Sjaastad
a248be13cc
Always rebuild meta data for summary cases
...
Rebuild the UI representation when needed
2024-03-19 14:33:29 +01:00
Magne Sjaastad
d4f97d8415
Avoid hardcoded requirements for headers of RFT pressure files
...
Parsing "PSIA FEET" did not work, as "BARSA METRES" was the only supported unit. Keep special handling of header and date, and skip all other lines containing text or comment.
2024-03-19 14:22:45 +01:00
jonjenssen
1a21d2e5de
Fix incorrect position for data nodes.
2024-03-18 17:42:03 +01:00