Commit Graph

16035 Commits

Author SHA1 Message Date
jonjenssen
5af302ce01 Add a few more tiny scales. Allow user to input doubles in preferences. 2023-03-16 07:16:11 +01:00
jonjenssen
bb3053af79 Guard nullptr 2023-03-16 07:16:11 +01:00
Magne Sjaastad
9a714527a6 File - Import: Add "Import Pressure Depth Data"
* #9944 Add "Import Pressure Depth Data"  to import menu
Remove obsolete *InMenuFeatures and set all actions in menu to enabled when the signal aboutToShow() is triggered. This is useful for menus where no selection/context is available.
* Use RiaApplication::enableDevelopmentFeatures() to control visibility
2023-03-16 07:16:11 +01:00
Magne Sjaastad
68d80fdc56 #9913 Fix import of RFT pressure/depth 2023-03-16 07:16:11 +01:00
jonjenssen
77b93dbb54 Update default eclipse layout 2023-03-16 07:16:11 +01:00
Magne Sjaastad
a6da6f64bd Add option for word wrap in label and checkbox
* Add support for word wrap in checkbox label
* QLabelEditor: Add word wrap and support for wide label
Add support for one label widget spanning the area usually consumed by a label widget and an editor widget.
* Use word wrap in summary calculation dialog
2023-03-16 07:16:11 +01:00
Magne Sjaastad
625ed3410c Adjustments for release
* Make sure text for multiple wells in same grid cell is displayed correctly
* Improve selection of result in Advanced Snapshot Export
* Restore the main window that was on top when project was saved
* Trim string to make sure '/' is exported with no space in front
* #9872 RFT-plot: Make colors stable for curves in RFT plots
* Set version to RC_02
2023-03-16 07:16:11 +01:00
jonjenssen
44fb946136 Add missing depth columns in show plot data if multiple curves 2023-03-16 07:16:11 +01:00
jonjenssen
41b63f9e14 Make sure NaN values are in Y data, too, to keep good plot performance. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
e512f6a5c1 Several RFT plot adjustments
* #9923 Call loadDataAndUpdate() after visibility of curves is updated
This will ensure that all zoom ranges are recalculated based on visible curves.

* #9923 Put new segment plots in RFT Plot collection
* #9923 Add "Create Rft Sement Plot" to RFT plot collection
* #9923 Make sure the main window is displayed when required
Make sure the main window is opened and views updated when a grid model is opened from a summary case.

* #9923 Make sure fieldChanged is triggered when required
Exclude field having the target state. If these fields are included, the one and only call to setValueWithFieldChanged() can contain a field with the target state value. When setting a value to a field with the same value, nothing happens and the UI will get an inconsistent state (some curves toggled off are still visible in a plot).
2023-03-16 07:16:11 +01:00
Magne Sjaastad
eb273aeb5e Improve how wells are connected during import
When importing new wells, consider all wells when connecting multi segment wells
Make sure that import of individual well paths will give the same ordering as importing all wells in a single operation.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
daf30b4ee1 #9879 Add icon for calculated summary vectors 2023-03-16 07:16:11 +01:00
Magne Sjaastad
262563a58c Set version to RC_01 2023-03-16 07:16:11 +01:00
Magne Sjaastad
0f55306d9d Guard null pointer access 2023-03-16 07:16:11 +01:00
Magne Sjaastad
415a119f41 RFT segment plot adjustments (#9912)
* Delete RFT plot when associated case is deleted
* Rename
* Hide track/curves with no data
2023-03-16 07:16:11 +01:00
Magne Sjaastad
e2a5e2e476 #9914 Fix import of single case already present in ensemble 2023-03-16 07:16:11 +01:00
Magne Sjaastad
040ce06f3c #9915 Fix crash when using Plot Editor 2023-03-16 07:16:11 +01:00
Magne Sjaastad
90918b1f0d Convert file path to native separators for clipboard 2023-03-16 07:16:11 +01:00
Magne Sjaastad
a178971835 Add Copy to Clipboard button for file paths 2023-03-16 07:16:11 +01:00
Magne Sjaastad
015890841f Remove special summary case connected to a grid model
* Remove use of RimGridSummaryCase
* Remove unused summary plot filter text
* Delete unused files
2023-03-16 07:16:11 +01:00
jonjenssen
98caeba776 Depth plot as docking widget (#9909)
* Add docked depth result plot for eclipse data
* Update dock layout defaults
2023-03-16 07:16:11 +01:00
Magne Sjaastad
b4f492e2fe #9742 Set default value 1* for KH 2023-03-16 07:16:11 +01:00
Magne Sjaastad
d35147618e Add valve visualization to MSW wells
* Refactor geo generator
* Add valve visualization to segments that are connected to a valve
2023-03-16 07:16:11 +01:00
Kristian Bendiksen
261d16953a #9887 Roff: fix freeze due combining omp and progress info. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
a2cd4b0bfb Improved simulation well visualization
* Move members to private in RigWellResultPoint
* Create simulation well path geometry using well topology
* Add separate MSW well pipe centerline computations
* Review comments

---------

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-03-16 07:16:11 +01:00
Jon Jenssen
f085bc90e5 Enable filter when picking is done. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
5315c423f8 Add missing include 2023-03-16 07:16:11 +01:00
Arash Partow
5b743635e0 Update ExprTk 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
ef1dfd4a47 Summary calculation data sources fixes
* File Summary Case: set up multiple readers correctly for multithreaded configuration.
* Summary Data Sources: fix sorting of vectors.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
42b901ec28 clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2bf3a511fe #9671 summary calculations for summary items
* Summary Calculation: use shorter name in title
* Sort summary addresses to group calculated results last.
* Summary Calculation: add option to distribute calculation to other items.
* Add support for summary calculation for RimGridSummaryCase.
* Use short name for calculations in plot titles.
* Update ensembles in Data Sources when calculation is added.
* Summary Calculation: allow drag-and-drop of ensembles
* Summary Plot: fix axis range aggregation for calculated ensemble addresses.

---------

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2023-03-16 07:16:11 +01:00
Kristian Bendiksen
62038c0fc9 Simplify RifSummaryReaderInterface timeSteps. 2023-03-16 07:16:11 +01:00
Jørgen Herje
ed3539a418 Realization in Ensemble RFT-plot hover info + refactoring of point tracker functionality
* Add realization number to mouse over text for Ensemble RFT

* Refactor Curve Info Text Provider functionality

- Refactor provider implementation, to separate RiuWellLogTrack from the point tracker and text provider.
- Move creating of point tracker outside of RiuWellLogTrack.
- Makes it possible to override/write new CurveInfoTextProvider implementation when needed.

* Add guards for nullptr
2023-03-16 07:16:11 +01:00
Jørgen Herje
52b60d8be5 Prevent update of show statistics selection in source stepping
- Refactor code into two functions
- Do not update selection when performing source stepping
2023-03-16 07:16:11 +01:00
Jørgen Herje
808a5f7cbc Add open plot editor to menus
- Add to summary plot node in project tree
- Add to empty space in plot window (mdi area)
2023-03-16 07:16:11 +01:00
Jørgen Herje
e1d7eea5df Fix grouping of properties for date tickmarks 2023-03-16 07:16:11 +01:00
Jørgen Herje
ad43c27550 Add custom tickmark configuration for Summary Plot (#9867)
- Added custom tickmark configuration in time axis properties for `Time Mode = Date` 
- Refactor code to separate handling of time axis properties and regular axis properties in RimSummaryPlot
- Add method for setting major ticks by use of list for RiuPlotWidget interface.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
1654fe8c9c Minor issues related to release
* Add shortcut for Plot Editor, and modify how command features are triggered
Use Ctrl-E to launch the Plot Editor.

* Add optional use of NOECHO and ECHO keywords in GRDECL files
* Add ECHO keywords to sector model export
* Add Help button to Preferences
2023-03-16 07:16:11 +01:00
jonjenssen
f761f1e816 Bring in detection of wayland to improve docking behaviour on Ubuntu 22 2023-03-16 07:16:11 +01:00
Kristian Bendiksen
e426d14550 Thermal Fracture: Fix occasional mesh flipping. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
314a62f902 #9859 PLT plot: Fix missing LAS data for regression test 2023-03-16 07:16:11 +01:00
Magne Sjaastad
8877c00c58 Janitor: Skip undo/redo if field is marked as non-writable 2023-03-16 07:16:11 +01:00
Magne Sjaastad
648d56261e Fix regression test issues
* Fix eternal loop causing the application to hang
* Revert changes related to file well path introduced in 70bb22
* Use some iterations to find representative cells for computation of cell sizes
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5bbee69038 Fix invalid parsing of line with keyword end tag and comment
* Add error text when size differs
* #9845: Remove invalid parsing of data in comment line
The line '/ -- 123 123' was parsed incorrectly, and values 123 123 was added to the list of valid values for the keyword.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
ae3af4ec80 Export Completion: Fix missing segments and connections for LGR grids
* Compute characteristic cell size based on active cells
* Compute cell face normal based on a suitable active cells
Using all cells as basis for face normal is fragile. Some models have highly distorted/twisted cells, but all active cells should be geometrically more stable.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
889382f367 Make sure a plot always is created when "Add Summary Plot" is triggered 2023-03-16 07:16:11 +01:00
Magne Sjaastad
7de2d70c06 #9139 Avoid crash for dual porosity case with NNC
libecl supports only import of NNC data for matrix. Disable asserts to avoid crash in file reader. No NNC fracture data is imported.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
48469f33f6 Janitor issues
* Remove obsolete code
* Fix path modification of a relative folder
Replace start token '.' with file path to the project file to make sure that the path './wells/a-1h.dev' can be imported correctly.
* Add more logging when keywords are missing from import
2023-03-16 07:16:11 +01:00
Magne Sjaastad
9099919bbc #9844 Summary Restart: Add more guarding on empty strings
When trying to import a restart case, parsing of the restart path causes crash in some cases. Add more checking on NULL.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c9e5e5aaba Fix broken build 2023-03-16 07:16:11 +01:00