Commit Graph

16245 Commits

Author SHA1 Message Date
Kristian Bendiksen
8386166d17 Thermal Fracture: Fix occasional mesh flipping. 2023-02-17 15:26:01 +01:00
Magne Sjaastad
345095185e #9859 PLT plot: Fix missing LAS data for regression test 2023-02-17 12:52:06 +01:00
Magne Sjaastad
320ece44dd Janitor: Skip undo/redo if field is marked as non-writable 2023-02-17 12:52:06 +01:00
Magne Sjaastad
ac9b9b2699
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-02-16 20:05:12 +01:00
Magne Sjaastad
edbeb4dfb1
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-02-16 13:04:16 +01:00
Magne Sjaastad
20439e1da9
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-02-15 15:25:38 +01:00
Magne Sjaastad
a7acbe2c86 Make sure a plot always is created when "Add Summary Plot" is triggered 2023-02-15 15:06:11 +01:00
Magne Sjaastad
1922a02fc3 #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-02-15 13:55:50 +01:00
Magne Sjaastad
70bb221162
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-02-15 07:56:17 +01:00
Magne Sjaastad
af7fe8f00e #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-02-14 19:11:14 +01:00
Magne Sjaastad
613f4642eb Fix broken build 2023-02-13 15:41:56 +01:00
Magne Sjaastad
d91e8ccb56 Avoid throwing exception when opening a file for export 2023-02-13 15:03:42 +01:00
Magne Sjaastad
6ad42817c6 Always use export folder if defined
Rename to m_customFileNameIncludingPath, and split into folder and file name for export object
2023-02-13 15:03:42 +01:00
Magne Sjaastad
947185bdcc Visual Studio: Enable support for Static Code Analysis 2023-02-13 14:44:01 +01:00
Magne Sjaastad
de118ddae2 #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-02-13 14:09:35 +01:00
Jørgen Herje
2e6268ff0a
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-02-13 09:59:29 +01:00
Magne Sjaastad
b3a56a9353
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-02-10 12:39:13 +01:00
Jon Jenssen
4615d0b524 Add tooltip to timestep slider 2023-02-07 18:06:21 +01:00
Jon Jenssen
62a455e35b Make sure we refresh tree when adding a curve. Add new curve to summary plot context menu, too. 2023-02-07 17:52:56 +01:00
Jørgen Herje
e19f3dad82
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-02-07 17:51:35 +01:00
jonjenssen
bbd732e84d
Create a new, empty summaryplot from empty MDI area (#9823)
* Enable context menu in empty MDI area to create a new, empty summaryplot
2023-02-07 17:47:49 +01:00
Jon Jenssen
f5ee8d269a Rearrange order of source stepping options 2023-02-07 17:46:08 +01:00
Jon Jenssen
657cb4e82d Remove progress things that causes hang in data loading when omp is used. No need for progress feedback in here anyways. 2023-02-07 17:45:44 +01:00
Magne Sjaastad
9ae00177bf
Well measurement improvements
* Update 3D view and plot when measurement data is added
* #8625 Make visibility of measurement follow well path visibility
2023-02-07 17:44:47 +01:00
Magne Sjaastad
8028444018
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-02-07 07:22:57 +01:00
jonjenssen
527be5f644 Add scaling factor 50 2023-02-06 16:50:37 +01:00
Magne Sjaastad
60abadb86e GHA: Add retry for apt commands 2023-02-06 16:42:03 +01:00
Jørgen Herje
7a2aebe8b9
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-02-06 14:33:09 +01:00
Jørgen Herje
b1e94adffd Change to point to point for Accumulated Flow Volume Percentage 2023-02-06 14:00:05 +01:00
Magne Sjaastad
eb8c0c1de7 Add missing include and update example 2023-02-05 10:24:44 +01:00
Magne Sjaastad
349c88bfeb Use ads forward declares in RiuMainWindowBase 2023-02-02 15:20:34 +01:00
Magne Sjaastad
cc21e2f3b4 #9147 Fix wrong curve name for summary group curves 2023-02-02 13:42:44 +01:00
Jon Jenssen
c45c835d39 Update docking submodule to latest version 2023-02-02 07:27:24 +01:00
Magne Sjaastad
ec611a9a3a #9780: Compare axis unit text case insensitive 2023-02-02 07:25:43 +01:00
Magne Sjaastad
b9f6662126 #9771: Guard nullpointer access 2023-02-01 13:44:06 +01:00
jonjenssen
21ccd733a8 Python code linting changes detected by black 2023-02-01 10:32:58 +01:00
jonjenssen
33e908dd94
Avoid progress window staying behind on Linux when loading summary data (#9774)
Adjust progress info usage in summary file loading
2023-02-01 08:46:22 +01:00
Magne Sjaastad
82b538719e Remove unused variable 2023-01-30 16:33:12 +01:00
Magne Sjaastad
f919ba6749
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-01-30 14:53:07 +01:00
Magne Sjaastad
234719aea3
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-01-30 11:12:26 +01:00
Magne Sjaastad
863925f980 Avoid debug info flag /Z7 flag for release build 2023-01-28 09:42:44 +01:00
Magne Sjaastad
073343ce9b
CMake: Improve setting of debug info flags for buildcache 2023-01-27 18:31:35 +01:00
jonjenssen
132fd41bf4 Show element ID, not element Index in mohrs plot legend 2023-01-27 18:00:20 +01:00
jonjenssen
919d867930 Remove FAULTMOB result fra ST 2023-01-27 16:48:05 +01:00
Bård Skaflestad
6eebd01bd4 Look Up Time Step Object Exactly Once
Using .contains() followed by .at() with the same argument will
perform the same map lookup twice.
2023-01-27 11:52:06 +01:00
Magne Sjaastad
62ce2b18e0
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-01-27 10:29:11 +01:00
Jørgen Herje
e3a347ccaa 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-01-27 07:14:40 +01:00
Jørgen Herje
3c296202c2 Fix bug in QwtPlotWidget highlight reset
QwtPlotShapeItem objects were not reset
2023-01-27 07:14:04 +01:00
Jon Jenssen
c916459a55 Fix broken test 2023-01-26 14:18:03 +01:00
Magne Sjaastad
26e7d5aad0 Cancel running process if new commit is pushed 2023-01-26 12:01:29 +01:00