Commit Graph

16201 Commits

Author SHA1 Message Date
Magne Sjaastad
24ccbf395d
Adjust dark theme
- Disable custom CSS for advanced docking system
- copy and adjust stylesheet into default/dark qss
- Use #999999 for fill color in svg images
2023-06-02 07:28:45 +02:00
Kristian Bendiksen
06d107c4e6 #10320 Ensemble Summary Import: wrong realization name when importing single realization 2023-06-01 08:49:26 +02:00
Magne Sjaastad
0e25f364f8 Fix build issues MSVC 17.6.2 2023-05-31 12:49:01 +02:00
Kristian Bendiksen
e1784bb37a #10322 Fix crash when creating tornado Plot crash on ensemble with single realization
Fixes #10322.
2023-05-30 15:58:48 +02:00
Kristian Bendiksen
9745b48643 Reveal Summary Data: Fix incorrect auto curve name.
RiuSummaryQuantityNameInfoProvider does not provide long names for Reveal
summary vectors. Use the vector name instead of the long name for these
cases.
2023-05-30 15:58:27 +02:00
Kristian Bendiksen
9719390130 Janitor: remove unecessary disabling of auto formatting 2023-05-30 15:58:27 +02:00
Magne Sjaastad
bd1fbcf45a
VFP-plot: Wrong X-axis label for Gas Injection Rate
* Use text "Gas/Liquid Flow Rate" 
* Use Sm3/day as unit for Flow rate
2023-05-30 15:57:29 +02:00
Magne Sjaastad
a9f412b1f6
Maintenance fixes
* Remove light mode from theme selection
The light mode is not working well, and was intended to be used when exporting to pdf from dark mode.

* Allow direct edit of summary case name
The name for a summary case can be automatically created. If the user starts to edit the name manually, set the name option to Custom. Make the descriptionField available as not read-only, then it is possible to edit the name directly in the project tree using F2 or double-click.

* Allow drag of ensembles
* Add support for drag/drop of well segments
* Add support for well segment number stepping in toolbar
2023-05-30 15:56:19 +02:00
Jørgen Herje
5975fe6765
Rename RimWellLogDiffCurve to RimWellLogCalculatedCurve and additional improvements
* Rename from DiffCurve to CalculatedCurve and add operators selection
* Add option to select depth source for resampling in CalculatedCurve

- Select source for depth values for resampling
- Depths from first curve, second curve or union of these
- Added unit tests for function creating union depth values and calculate value with selected operator.

* Guard divide by zero

* Adjust algorithm for union of depths

- Prevent duplicated depth values (no need for enter/exist of k-layer when resampling)
- Add threshold for depth distance
- Update unit tests
2023-05-27 10:30:03 +02:00
Kristian Bendiksen
a3efc16615 StimPlan Model: Provide default value for facies 2023-05-26 12:32:43 +02:00
Magne Sjaastad
cca852ef1f
Adjustments related to user course
* #10285 Grid Cross Plot: Fix group highlighting
* #9329 Make Show plot data more robust
* Do not show the curve color tag for grid cross plot curves
* #10310 Add tab to show plot data for well log curves
2023-05-26 11:47:26 +02:00
Magne Sjaastad
b7420ebc70
Use rock type colors when "Facies" is imported 2023-05-26 11:26:22 +02:00
jonjenssen
f17c02ce86
Add step support to range text format (#10311)
* Add step support to range text format
* Add step support to integer selection filter
2023-05-26 08:59:13 +02:00
jonjenssen
6a137f5ca9 Do some additional assert cleanup 2023-05-25 14:56:26 +02:00
jonjenssen
1063d7f3d3
Add support for K filter to polyline intersections (#10302)
* Add support for K filter to polyline intersections
2023-05-25 08:14:43 +02:00
Jørgen Herje
fe5c24ef5d
Fix bug and refactor createResampledValuesAndDepts in RigWellLogCurveData (#10301)
- Fix bug for resampling, prevent index increment.
- Refactor functions into static functions.
- Fix issue in interpolateSegment not using correct indices for depthType != resamplingDepthType
- Add unit tests
2023-05-24 15:07:43 +02:00
Magne Sjaastad
473f1bebcd #10281 Make sure missing data is marked with NULL
If an ensemble do not have data for some realizations, Show Plot Data reported wrong data when resampling was activated. Display of data for No Resampling was correct.
2023-05-24 15:01:59 +02:00
Magne Sjaastad
fc8235aeca #10035 Make sure segment summary is present in plot editor 2023-05-23 19:45:45 +02:00
Magne Sjaastad
2776012bce #7134 Create modelled well path from well path
From an existing well path, find some coordinates along the geometry and create a new modelled well path based on these coordinates.
2023-05-23 12:13:53 +02:00
Kristian Bendiksen
94f7bd3c1a
10214 ensemble appearance
* Regression Analysis: Use only positive values for Power Fit regression.

* Add visible tag short cut for changning curve color.
* #10214 Ensemble Curve Set: Fix color mode text.
* #10214 Ensemble: Switch P10 and P90 symbols to point towards mean.
* Cache hit rects for tree item tags.
* #10214 Ensemble curve set: allow reordering with tree view tag
* #10214 Keep curve legend text when ensemble curves are hidden
2023-05-23 08:10:35 +02:00
magnesj
329a199863 Fixes by clang-tidy 2023-05-23 02:07:04 +00:00
Magne Sjaastad
40080a99de
9978 Improve UI for long drop-down lists, use tree selection more
* Improve tree selection editor
- always call defineEditorAttributes
- use heightHint in editor attributes 
- use tree selection editor as default editor for std::vector

* Use tree selection editor instead of list selection editor
List selection editor must be used when editing std::vector<cvf::vec3d> and similar. Replace other use of list selection editor with tree selection editor.

* Set checked state based on text string for integer only models
For models with only integer values, use text string to define the items to be selected. The full list will always be visible, and the checked state will be updated when editing the filter text.

Example: "1, 5-7" will set items 1, 5, 6, 7 checked and all other items unchecked

* Minor fixes
- Set placeholder text after content is added (to ensure correct data type)
- Fix check of integers. `canConvert<int>()`returns true for both QString and int. Thus convert to string and then check for int conversion.

* Activate filtering when unchecking all items in list with only integers
- Reactivate filtering when uncheck of all items for a list with only integer values (to keep consistency between filter and list)
- Update function name for clarity

---------

Co-authored-by: Jørgen Herje <jorgen.herje@ceetronsolutions.com>
2023-05-22 15:44:37 +02:00
Jørgen Herje
2247dced58 Update naming and imports
- Correct naming
- Update includes
2023-05-22 15:42:24 +02:00
Magne Sjaastad
ee724633b5
Category legend improvements
* Show text after value in category legend
* Use integer slider for category results
* Do not allow min larger than max and max lower than min
2023-05-22 15:41:48 +02:00
Jørgen Herje
b83fe73395
Displacement curves fault faces (#10243) 2023-05-22 11:37:57 +02:00
jonjenssen
9a219ddcb2 Update docking framework to latest version and add fix to make redocking of floating windows work on WSL/wayland 2023-05-21 15:15:46 +02:00
Magne Sjaastad
bce8177033
Delete some unused variables and disable warnings 2023-05-21 15:15:09 +02:00
Kristian Bendiksen
eb0f2207b5 #10268 Regression Analysis: Improve text generation code. 2023-05-19 20:00:12 +02:00
Kristian Bendiksen
dc3530ac0b Regression Analysis: Report R-squared (confidence of determination). 2023-05-19 20:00:12 +02:00
Kristian Bendiksen
6a56149d84 #10268 Regression Analysis: add copyable expression text 2023-05-19 20:00:12 +02:00
Kristian Bendiksen
b965153ab0 #10268 Fix show plot data names for decline and regression curves 2023-05-19 20:00:12 +02:00
Kristian Bendiksen
a3090c5ead #10268 Regression Analysis: improve default look of curve 2023-05-19 20:00:12 +02:00
Magne Sjaastad
f4dd1d363d
Add prefix to cmake options
Add missing RESINSIGHT_ prefix to cmake options
GHA: Fix warnings
2023-05-19 15:03:04 +02:00
Magne Sjaastad
95e3435384
Update pull request actions 2023-05-18 21:21:33 +02:00
Magne Sjaastad
873ff95c13 Disable some warnings for MSVC 2023-05-16 15:53:05 +02:00
Magne Sjaastad
451254bc84 #10273 Set default value for "Immport Advanced MSW Data" to true 2023-05-16 13:12:57 +02:00
Kristian Bendiksen
6b333c1dd9 #10209 Plot: fix html axis title
Qwt uses Qt::mightBeRichText to determine if the axis title is rich text or not.
Qt::mightBeRichText is a simple heuristic which checks whether there is something
that looks like a tag before the first line break. See:
https://doc.qt.io/qt-6/qt-sub-qtgui.html#mightBeRichText

Fixed bug by using html br tag to have at least some html before breaking the line.

Fixes #10209.
2023-05-16 11:22:12 +02:00
Kristian Bendiksen
5b5a302f21 Regression Analysis: Avoid fetching Eigen 2023-05-16 09:42:18 +02:00
Kristian Bendiksen
c23cdee17d #7206 Add regression analysis. 2023-05-16 09:42:18 +02:00
jonjenssen
26275f7924
Fix polygon cell filter crash for geomech case with mulitple parts (#10267)
* Fix polygon cell filter crash for geomech case with mulitple parts
2023-05-16 02:05:59 +02:00
jonjenssen
7451adb85b Enable intersection depth filter for geomech cases, too 2023-05-16 01:21:27 +02:00
Magne Sjaastad
54f0a832de
Janitor: Remove unused includes 2023-05-15 15:43:01 +02:00
jonjenssen
bab0a83856 Disable depth filter for GeoMech cases. 2023-05-15 14:48:49 +02:00
Arne Morten Kvarving
2a22cbe610 fixed: do not compare index 2 twice 2023-05-15 13:28:02 +02:00
Magne Sjaastad
0c90f67dcc
Change API for PdmObjectHandle and PdmFieldHandle
* Refactor interface to PdmObjectHandle and PdmFieldHandle
Return objects instead of passing in structures as parameters

* Add nodiscard to several functions
* Remove redundant this->
* Rename to ptrReferencedObjectsByType
2023-05-12 21:41:34 +02:00
Magne Sjaastad
37e29a0f68 Display all data if multiple fractures crosses a cell
- add the operator<=> for QString
- add operator<=> to fracture report item
2023-05-12 16:23:01 +02:00
Magne Sjaastad
2b0906c2ab Regression Test: Fix wrong flow diagnostics result
Fix regression introduced in 5ee764af48
2023-05-12 16:22:44 +02:00
jonjenssen
1d43e1a948
Specify part id for well extraction from geomech data (#10240)
* Specify part id for well extraction from geomech data
* Make sure we clear curve data if there isn't any valid input data
2023-05-12 08:13:56 +02:00
Magne Sjaastad
5ee764af48
Refactor result definition 2023-05-11 08:37:58 +02:00
Kristian Bendiksen
02ec71955b StimPlan Model: Improve logging for facies value/name mismatch. 2023-05-10 15:22:55 +02:00