Commit Graph

16015 Commits

Author SHA1 Message Date
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
Magne Sjaastad
a0d9eeabfa Avoid throwing exception when opening a file for export 2023-03-16 07:16:11 +01:00
Magne Sjaastad
7652fec895 Always use export folder if defined
Rename to m_customFileNameIncludingPath, and split into folder and file name for export object
2023-03-16 07:16:11 +01:00
Magne Sjaastad
98fbbc49f3 Visual Studio: Enable support for Static Code Analysis 2023-03-16 07:16:11 +01:00
Magne Sjaastad
bb9ec50e18 #9833: Add extra check based on value/cells count
Some models do not have the dual porosity flag set correctly. Add additional check to set the dual porosity flag if the number of active cells is the double of main grid cell count.
2023-03-16 07:16:11 +01:00
Jørgen Herje
07d1a3c669 Improve Grid Statistics Plot UI (#9831)
- Set default frequency enum to relative frequency [%]
- Set current view selected in filter by 3D view visibility by default
- Add labels for statistics data
- Add UI to change number of bins in histogram
- Add control of font size of axis values and axis titles
2023-03-16 07:16:11 +01:00
Magne Sjaastad
2f6b2e57f5 Add support for radial grids
* Update radial grid operations in submodule
* Optionally display cell center and cell corners when clicking on cell
* Add support for import of radial grids
* Modify node coordinates to match host cell
2023-03-16 07:16:11 +01:00
Jon Jenssen
09c0bc756e Add tooltip to timestep slider 2023-03-16 07:16:11 +01:00
Jon Jenssen
e7c81929d2 Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too. 2023-03-16 07:16:11 +01:00
Jørgen Herje
1d1b90e4ae Adjustment of creating depth adjusted LAS files
* Make source well LAS files selectable in combobox
Detect all las files for source well and make selectable in combobox

* Add source well info to file name and as comment in file
Add info of source well in file name and as comment in LAS file for created depth adjusted las files
2023-03-16 07:16:11 +01:00
jonjenssen
c61d492a2b Create a new, empty summaryplot from empty MDI area (#9823)
* Enable context menu in empty MDI area to create a new, empty summaryplot
2023-03-16 07:16:11 +01:00
Jon Jenssen
718577e203 Rearrange order of source stepping options 2023-03-16 07:16:11 +01:00
Jon Jenssen
bf8502d09c Remove progress things that causes hang in data loading when omp is used. No need for progress feedback in here anyways. 2023-03-16 07:16:11 +01:00
Magne Sjaastad
8c91d81854 Well measurement improvements
* Update 3D view and plot when measurement data is added
* #8625 Make visibility of measurement follow well path visibility
2023-03-16 07:16:11 +01:00
Magne Sjaastad
c4993b6869 GitHub Actions: Add apt mirror to make package download more robust
- Download of Ubuntu packages from Azure is unstable. Add mirror sites to improve reliability.
- Improve use of clang-format and include source code changes
2023-03-16 07:16:11 +01:00
jonjenssen
63bc352a2b Add scaling factor 50 2023-03-16 07:16:11 +01:00
Magne Sjaastad
47dd934670 GHA: Add retry for apt commands 2023-03-16 07:16:11 +01:00
Jørgen Herje
d2369b7bb5 Fix active cell not resetting when clicking on cells (#9804)
- Refactor PlotShapeItems highlighting in QwtPlotWdiget - s.t. highlighting is not dependent on plotDefinition RimPlot object and its isCurveHighlightSupported flag.
- Remove plot definition assert and utilize guards to allow nullptr/undefined plotDefinition
2023-03-16 07:16:11 +01:00
Jørgen Herje
043397b378 Change to point to point for Accumulated Flow Volume Percentage 2023-03-16 07:16:11 +01:00
Magne Sjaastad
c158faf5e3 Add missing include and update example 2023-03-16 07:16:11 +01:00
Magne Sjaastad
2615b16bae Use ads forward declares in RiuMainWindowBase 2023-03-16 07:16:11 +01:00