Commit Graph
16184 Commits
Author SHA1 Message Date
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 SjaastadandJørgen Herje 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
Magne Sjaastad 1c0649db77 Move caf.h/cpp to UiCore 2023-05-10 11:02:35 +02:00
Magne Sjaastad 3208abad19 Show category text in legend
Create empty string for standard legends. Show category text if present.
2023-05-09 15:07:52 +02:00
Magne Sjaastad f70d2c4949 Add result type and create and use custom legend if possible
* Update submodule
* Use postfix functions and add custom color legend

* Add type to RigEclipseResultAddress
Read types from ROFF and create default legend based on type or custom created legend.

* Use caseId to connect legend configuration to result in a case
2023-05-09 11:41:56 +02:00
jonjenssen 8c91f1b1ac Fix typo in field name 2023-05-08 19:07:23 +02:00
jonjenssen 00e533ab10 Skip bounding box check when drawing seismic outline, as it could go far above reservoir 2023-05-08 17:30:24 +02:00
jonjenssen 54e901b79b Set default depth filter type to "between" 2023-05-08 07:38:11 +02:00
Kristian Bendiksen c8b402651d Add "Decline Curves" functionality.
Adapted from formulas here:
https://petrowiki.spe.org/Production_forecasting_decline_curve_analysis
2023-05-05 15:30:48 +02:00
Magne Sjaastad bc718db7df Regression Test: Fix parsing of string lists from command file
* Regression Test: Fix parsing of string lists from command file
The strings in a string list in a command file are quoted
2023-05-05 09:18:17 +02:00
Magne Sjaastad c55d46c080 GHA: Use precompiled opm-common
* GHA: Use precompiled opm-common
* Fix cmake logic
2023-05-02 12:32:09 +02:00
Jørgen HerjeandMagne Sjaastad 342f191288 Add filtering/exclude of rows in SummaryTable (#10193)
- Add selector for excluding rows in table
- Row selection is based on category, vector, threshold
- Move data containers to utils class
- TreeSelectionEditor: Add context menu to invert selection
- Improved naming of menu items
- Guard plotDefinition before connect signal/slots

---------

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-05-02 11:18:45 +02:00
Magne Sjaastad c9839fcf93 #10191 Return ECLIPSE_UNDEFINED without crashing 2023-05-01 18:56:51 +02:00
Magne Sjaastad bb0ae9e381 Add optional download of binaries in build
* #10202 Download and use binaries as part of a build
2023-05-01 18:44:05 +02:00
magnesj 3c1f0862e4 Fixes by cmake-format 2023-05-01 18:35:59 +02:00
Magne Sjaastad b447ff86bb Add optional support for download of geomech dependencies 2023-05-01 18:35:59 +02:00
Magne Sjaastad 3bca1507b2 Fix launch of unit tests 2023-04-28 15:20:02 +02:00
Jørgen Herje 6205418dde Fix warning for conversion from std::vector to QStringList 2023-04-28 15:09:31 +02:00
Magne Sjaastad 448e3dfcbc #10191 Read NNC data from INIT file for Intersect files 2023-04-28 11:38:23 +02:00