Commit Graph

15986 Commits

Author SHA1 Message Date
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
Magne Sjaastad
cc722c1cfd #9147 Fix wrong curve name for summary group curves 2023-03-16 07:16:11 +01:00
Jon Jenssen
e9a085db99 Update docking submodule to latest version 2023-03-16 07:16:11 +01:00
Magne Sjaastad
38a093456f #9780: Compare axis unit text case insensitive 2023-03-16 07:16:11 +01:00
Magne Sjaastad
79820edcc8 #9771: Guard nullpointer access 2023-03-16 07:16:11 +01:00
jonjenssen
d7125f7812 Python code linting changes detected by black 2023-03-16 07:16:11 +01:00
jonjenssen
0c70a92f16 Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
2023-03-16 07:16:11 +01:00
Magne Sjaastad
5118ed36e5 Remove unused variable 2023-03-16 07:16:11 +01:00
Magne Sjaastad
66c0797378 Use <=> operator for RifEclipseSummaryAddress
* Use spaceship operator for RifEclipseSummaryAddress
* Set gcc-10 as compiler for Ubuntu 20.04
* Reorder declaration of members to get wanted sorting
2023-03-16 07:16:11 +01:00
Magne Sjaastad
b8eb00b7e4 Improve RftPlt data source objects (#9769)
Move AppEnum init to RifDataSourceForRftPlt
Simplify constructors for RifDataSourceForRftPlt
Rename enum names in RifDataSourceForRftPlt::SourceType
Add missing pressureDepthData in RimDataSourceForRftPlt
2023-03-16 07:16:11 +01:00
Magne Sjaastad
bd534b0e8b Avoid debug info flag /Z7 flag for release build 2023-03-16 07:16:11 +01:00
Magne Sjaastad
649375ae17 CMake: Improve setting of debug info flags for buildcache 2023-03-16 07:16:11 +01:00
jonjenssen
8df866f4f9 Show element ID, not element Index in mohrs plot legend 2023-03-16 07:16:11 +01:00
jonjenssen
9a51842dd3 Remove FAULTMOB result fra ST 2023-03-16 07:16:11 +01:00
Bård Skaflestad
5826c97f84 Look Up Time Step Object Exactly Once
Using .contains() followed by .at() with the same argument will
perform the same map lookup twice.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
93fe8d7a85 RFT improvements
* Avoid accessing nullptr
* remove unused function
* Allow RFT data from single summary case to be used in RFT plots
* #9736 Support horizontal plotting of LAS curves
2023-03-16 07:16:11 +01:00
Jørgen Herje
4159e599f3 Invert default isCurveHighlightSupported flag for RimPlot
- Make default flag = false, thus highlighting must be activated
- To prevent unwanted logic for new RimPlot objects
- Activate highlighting for RimSummaryPlot, RimVfpPlot and RimCorrelationMatrixPlot
2023-03-16 07:16:11 +01:00
Jørgen Herje
02b1c971e8 Fix bug in QwtPlotWidget highlight reset
QwtPlotShapeItem objects were not reset
2023-03-16 07:16:11 +01:00
Jon Jenssen
057bb73a27 Fix broken test 2023-03-16 07:16:11 +01:00
Magne Sjaastad
2e9ba5a60c Cancel running process if new commit is pushed 2023-03-16 07:16:11 +01:00
Jørgen Herje
6f34a730a0 Well Allocation over time adjustements (#9738)
- Add font size settings
- Move legend to right side of plot
- Set default selected time steps to time step count = 10
- When excluding time steps, duplicates rates from next valid time step onto excluded time steps
- Allow time step selection "Show all time steps" or "Time step count" for subset of time steps
- Allow excluding on the active set, i.e. all or subset, of time steps
2023-03-16 07:16:11 +01:00
Jon Jenssen
0fcbf0f821 Fix missing Pazi/Pinc 2023-03-16 07:16:11 +01:00
Jon Jenssen
c70ad2f9a8 Fix geomech reload issues 2023-03-16 07:16:11 +01:00
Magne Sjaastad
38897249a6 Regression Test: If only one frame is present, skip adding postfix 2023-03-16 07:16:11 +01:00
github-actions[bot]
6610230ae8 Fixes by cmake-format (#9725)
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2023-03-16 07:16:11 +01:00
Magne Sjaastad
391fa822bd Make sure qoffscreen.dll is included in distribution
Headless plot export requires qoffscreen.dll, make sure this file is included in installer.
2023-03-16 07:16:11 +01:00
jonjenssen
09248011ef Support loading only last geomech frame (#9727)
Support option for loading only the last frame for each geomech timestep. Turn it default on for old projects.
2023-03-16 07:16:11 +01:00
Magne Sjaastad
565be8716a #9722 Grid Group Statistics: Guard accessing empty data structures 2023-03-16 07:16:11 +01:00
Magne Sjaastad
c3c0a6f4ba Janitor issues
* Use horizontalAdvance
* Remove unused code
* Hide some warnings from Qt code
* Remove message for _SILENCE_TR1_NAMESPACE_DEPRECATION_WARNING
* Use CMP0077 NEW
* Move roff libraries to folder Thirdparty
* avoid operator()==
* Remove cmake_minimum_required and set version to 3.15
2023-03-16 07:16:11 +01:00
Magne Sjaastad
70554b8051 Trim spaces and avoid spaces in generated address text
* Trim spaces and avoid spaces in generated address text
* Fix unit test
2023-03-16 07:16:11 +01:00