Commit Graph
100 Commits
Author SHA1 Message Date
Magne Sjaastad 5a56a285a0 Add field and keywords 2023-01-11 08:39:51 +01:00
Magne Sjaastad 8d82558904 Set version to 2023.1.0 2023-01-10 11:53:12 +01:00
Magne Sjaastad 8e161a5c89 Stabilization fixes related to regression testing
* Added fmtlib to LicenseInformation.txt
* Add license info for roffcpp
* Regression Tests: Guard use of invalid bounding box
* Regression Test: Check if file is present before opening
2023-01-10 11:45:37 +01:00
Magne Sjaastad 0740bccd75 Improve warning text 2023-01-10 07:32:08 +01:00
Magne Sjaastad a4123609d9 Bump version to RC_03 2023-01-09 15:48:36 +01:00
Magne Sjaastad 5de5926950 #9622: Find a fairly regular cell and compute face normal direction
In some models, the grid cells can be very twisted, distorted, or zero(low) volume. Improve the logic to find a reasonably regular cell and use this cell to compute the direction of the face normals in this cell.
2023-01-09 15:47:08 +01:00
Magne Sjaastad 62a13d3847 #9622: Exclude cells with very small volumes 2023-01-09 15:47:08 +01:00
Magne Sjaastad f46516ac85 #9630 Fix import of well data from SSIHUB 2023-01-06 14:56:41 +01:00
Magne Sjaastad fe181ed60e Guard use of pointers 2023-01-06 13:30:56 +01:00
Magne Sjaastad eeeb3c40c6 if createEnhancedSummaryDataFiles() is true, always create and use ESRMY
If h5 file is present if folder, the h5 file is used before the ESMRY is recreated
2023-01-05 15:59:10 +01:00
Magne Sjaastad 752363a4b8 #9624 Add alphabetical and by value sorting 2023-01-05 12:14:49 +01:00
Magne Sjaastad 28b3f16db1 #9614 Check last write time for ESMRY files and SMSPEC files 2023-01-05 09:29:19 +01:00
Magne Sjaastad 4c0e7b2979 #9611 Support up to three header lines for CSV import 2023-01-04 08:51:26 +01:00
Magne Sjaastad 09e05e9996 Fix summary issues
* Add missing time conversion for month
* #9606: FIx wrong usage of function when accessing data from summary file
The result values are aggregated into the destination vector in RimSummaryCaseCollection::computeMinMax(), so make sure the vector is recreated per case.
* #9602 : Make sure the plot is updated correctly for "Time since simulation start"
* Move roundToNumSignificantDigits() to RiaNumericalTools
* Make sure the time axis is consistent when individual time range differs
2023-01-02 10:22:44 +01:00
Magne Sjaastad 984557a46a RegressionTest: Match on full name 2022-12-29 08:45:56 +01:00
Magne Sjaastad 4b70572a04 Fix some type conversion issues 2022-12-22 19:24:14 +01:00
Magne Sjaastad 9db4d03a5f RegressionTests: Fix performance issues related to DockManager::restoreState
* Performance: Disable DockManager::restoreState when running regression tests
* Set parent to Qt widgets to avoid memory leak
* Change singleton pattern to avoid memory leak
2022-12-22 15:35:45 +01:00
Magne Sjaastad 5d072663f1 Set version to 2023.01.0-RC_01 and disable debug output of AABB tree 2022-12-22 09:49:34 +01:00
Magne Sjaastad c1aceb7134 Avoid random assignment of sub/lateral index to make regression test stable 2022-12-21 15:30:08 +01:00
Magne Sjaastad f27f47fad5 Ensemble: Disable auto name for old projects
Set auto name to false to be able to use the stored name in project files.
2022-12-21 13:59:20 +01:00
Magne Sjaastad f731153c22 Revert OpenMP for detection of faults
The use of OpenMP is not stable, and produce wrong geometry in some cases.
2022-12-21 11:12:56 +01:00
Magne Sjaastad e815a02758 Minor GUI adjustments
* Select view when MDI window is activated

* Update linked views when property filter is linked

* Do not ask for restore of cell filters if none are present

* Update tree view when linking of property filters is disabled

* Add check box for multiple results in Result Info box
2022-12-21 10:50:26 +01:00
Magne Sjaastad de29b3b0ed OpenMP: Use default AABB tree construction for one cell per BB
Do not use buildCellSearchTreeOptimized() when when cellCountPerBB is 1, as the performance in this case is best using buildCellSearchTree()
2022-12-20 13:39:29 +01:00
Magne Sjaastad 38bfa9ef1f #9588 Accumulate N cells for AABB tree 2022-12-19 15:24:53 +01:00
Magne Sjaastad a423ecf95f Several OpenMP improvements
Several optimizations based on profiling of 20M grid model. These fixes will improve the largest performance issues, but there are still more operations that can be refactored.

* OpenMP: Use in fault geometry generator
* OpenMP: Use when computing statistics for result values
* OpenMP: Use multithreading on fault detection
* Add RiaOpenMPTools
* VizFwk: Use openMP for texture generation
2022-12-19 13:49:03 +01:00
Magne Sjaastad befab37588 Add debug output of AABB tree 2022-12-16 15:36:48 +01:00
Magne Sjaastad 529c9af9a4 Guard recursive updates if NNC data import is disabled
Import of NNC data can be turned off in Preferences. If this is off, loading of projects using NNC data can enter a recursive update loop.
2022-12-16 15:29:50 +01:00
Magne Sjaastad 4e51516a96 Import of grid models: Support mix of lower and upper case letters in file name
* #9529 libecl: Allow mix of upper and lower case in file names
2022-12-16 07:00:45 +01:00
Magne Sjaastad 16239cd80c #9522 Contour Map: Ensure correct update of grid calculator maps 2022-12-16 06:57:31 +01:00
Magne Sjaastad 500b4d2922 #9549 RFT plotting: Improve visibility for topology curves
- set row span to 2
- adjust default min/max for zoom
- make symbols a bit smaller
2022-12-16 06:57:31 +01:00
Magne Sjaastad 296718fd29 Fix location of ICV for MSW wells
* Show warning if no wells are visible
* #9461 MSW: Start export of a lateral at the tie in location on parent well
Previous implementation used the full well path for the lateral, including the part of the parent well up to sea level.
2022-12-14 08:59:24 +01:00
Magne Sjaastad e4c0b45b15 Improve the help for a calculation
Add help text and plus AND example


Improve help pages for calculator
2022-12-14 08:57:08 +01:00
Magne Sjaastad bfae28b4b4 Avoid crash when exit from python is called when UI is running 2022-12-14 08:57:08 +01:00
Magne Sjaastad 595806079a Fix typo 2022-12-11 10:15:26 +01:00
Magne Sjaastad cfa9d07d8e #9563 Reorganize how and when objects are deleted when shutting down GRPC 2022-12-11 10:15:26 +01:00
Magne Sjaastad 7cb6c587c1 Adjustments to UI
* #9551: Guard nullpointer if no RFT data is present
* Hide RFT in tree view if no RFT file is found
* Avoid display of 3d main window when importing a summary case
* Use specific grid import feature instead of general file import feature
2022-12-09 08:47:40 +01:00
Magne Sjaastad 5ec32f8613 Update text for curve names and plot titles when source data changes
* Update titles after dropping vectors into plot
* Do not replace _Name variables
* Make sure signals are wired when opening a project file
* Add auto name field and set default on
* Remove includes from header files
2022-12-09 08:46:36 +01:00
Magne Sjaastad 3d594257dd Add name variable for path in project file
Add support for user defined variables in the path section of the project file
2022-12-08 07:08:22 +01:00
Magne Sjaastad 1eb44e519e RFT plot: Fix stepping on well
* Rft: Store segment and connection count per well
* Update the segment branch index combo box when well changes
* Bump version number
2022-12-05 18:36:21 +01:00
Magne Sjaastad d3a5355141 #9534 Make sure indexIJK values are computed only once (#9537) 2022-12-02 14:36:32 +01:00
Magne Sjaastad e8f5806e55 Guard use of nullpointer 2022-12-02 07:51:43 +01:00
Magne Sjaastad 2ee228c120 Add more error checking when opening RFT files 2022-12-02 07:51:43 +01:00
Magne Sjaastad 14db528c98 Append property filter to field instead of returned array 2022-11-29 13:46:29 +01:00
Magne Sjaastad 9995af07a1 Support copy of property filters to linked views
* Copy and overwrite property filters when linked
When linking property filters between different cases, the property filter settings are copied and the property filter is evaluated per case. The previous implementation worked only for a single case.

* Move field to private
2022-11-28 14:34:26 +01:00
Magne Sjaastad 86af2b4dfc Export Sector Model: Add file path
* Export Sector Model: Add file path
* Avoid abort if a file cannot be opened
* Add missing return
2022-11-28 11:57:00 +01:00
Magne Sjaastad 2ba3191539 Fix typo 2022-11-28 11:25:44 +01:00
Magne Sjaastad dfa1bc2cd0 Some fixes for new gcc/clang
Minor fixes for newer gcc/clang. These issues were seen when using ubuntu-latest (Ubuntu 22.04) on Github Actions.
2022-11-25 08:59:10 +01:00
Magne Sjaastad 51443d7aa3 #9383 Not able to press resample checkbox
For some unknown reason, the checkbox in a group was not responding to mouse click. Keyboard interaction was possible. Remove the group and reorganize the UI.
2022-11-25 07:40:27 +01:00
Magne Sjaastad 6c7e1423a2 #9489 Make sure well measurements is visible in geo mech view 2022-11-25 07:40:27 +01:00
Magne Sjaastad 82968ca1a9 Support linking of 2D intersection views
* Major refactor from RimGridView to Rim3dView
* Move view linker/controller functions to Rim3dView
* Add bitmask to define the content of a 3D view
* Link views based on matching content
* Enable bit mask operators at global scope
* Make it possible to use 2d intersection views as comparison views
* Fix crash when a view used as comparison view is deleted
* Move unlinking to Rim3dView

* Add options to snapshot only 3D views/plots as part of regression testing
* WBS plot: Improve default name, hide axis for some tracks
2022-11-24 10:46:54 +01:00
Magne Sjaastad a74b168e03 Improve property linking
* Allow linking of property filters across cases with same IJK size
* Recalculate when grid is replaced
Find dependencies between calculations and order them accordingly
2022-11-22 10:22:17 +01:00
Magne Sjaastad 6a859e0860 Fix update issues related to fracture calculations
* Make sure property filter is updated when completion type is cleared
* Clear geometry cache in views to make sure geometry is recreated
* Calculate required input parameters to completion type calculations
* Recompute values when depth changes
2022-11-18 12:50:04 +01:00
Magne Sjaastad e7c864c6d8 Improve grid cell calculator
* Use full name for grid case view
* FIx signed / unsigned issue
* Support drag/drop of file names into Main Window
* Add function to check if two grid cases are of equal size
* Result Info: Show cell result text for all linked views
* Improve how to specify cells to be included in calculation

- move view filter to calculation
- improve how to assign values to non-visible cells
- avoid computation between grids of different size

Closes #9482
2022-11-17 15:51:01 +01:00
Magne Sjaastad 0e5d121993 Forward wellLogTrack::zoomAll to depth track plot 2022-11-16 07:05:52 +01:00
Magne Sjaastad ba8587d6ae Fix depth range for tracks with no data, bump version 2022-11-14 19:11:11 +01:00
Magne Sjaastad 3b67719972 Fix tiling issues for plot window
* Fix tiling for plot windows

Remove activation history restore related to a bug that was fixed in 5.12
https://bugreports.qt.io/browse/QTBUG-51761
2022-11-14 18:50:07 +01:00
Magne Sjaastad 647e248e04 Bump version number 2022-11-14 10:56:17 +01:00
Magne Sjaastad d36ab7e2d7 Fix RFT segment plot issues
* RFT curves: Disable auto color by default
* RFT curves: Fix wiggling legend caused by too many plot updates
* RFT Curves: Search multiple layers for CONFAC data
* Move plot orientation to Depth Axis, Advanced group
2022-11-14 10:55:08 +01:00
Magne Sjaastad 46b364d0b0 RFT file improvements
* Guard null pointer access
* Delay open of RFT files until data is requested
When opening ensemble summary cases, the opening of RFT files can take some time. Avoid this by delaying the file open operation.

* Fix infinite update loop for RFT plots
* Avoid moving the tracker line when clicking in the plot
2022-11-11 10:07:27 +01:00
Magne Sjaastad daa8d7305b #9455 libecl: Fix summary restart absolute path issues
Test for absolute path before other logic during extraction of summary restart file path.
2022-11-10 11:08:30 +01:00
Magne Sjaastad 4fea00afbf Fix some signed/unsigned compare issues 2022-11-10 08:37:20 +01:00
Magne Sjaastad 3a99c039be Result Info: Add support for multiple properties when clicking on a cell
* Result Info: Use monospace font
* #9447 Result Info: Add support for multiple properties when clicking on a cell
* Improve alignment in generated text
2022-11-10 07:21:41 +01:00
Magne Sjaastad b1b0fd9d35 libecl: Fix for more data in summary restart path
Allocate 17 words of 8 characters each, add 1 for zero terminated string.
2022-11-09 17:11:21 +01:00
Magne Sjaastad f44eb6324e Bump to version 2022.06.2-dev.03 2022-11-08 09:17:56 +01:00
Magne Sjaastad 95813f510e Summary Plot adjustments
* #9435 Do not auto update curve appearance during source stepping
* Update toolbar after vector is dropped into empty plot
* Use summary vector text in RiaSummaryDefines
* Fix missing update of curve color when curve is highlighted
2022-11-08 08:18:31 +01:00
Magne Sjaastad 8dfaae512f Do not block sub window activation by default
If blocking is set on by default, clicking on MDI windows does not select the corresponding item in project tree.
2022-11-04 15:53:54 +01:00
Magne Sjaastad d4086ee371 Allow linking of contour map views
* Place copy of contour map in correct collection
* Allow linking of contour maps
* Improve handling of contour views and 3D views
* Guard nullptr
* Guard assert seen on Linux
* Zoom all on contour map when unlinked to reset zoom
If a contour map is linked to a 3D view, the view can get distorted. Call ZoomAll to reset to sensible defaults.

* Remove default rainbow legend
2022-11-04 15:48:25 +01:00
Magne Sjaastad f77b3673b0 Well path import improvements
* #9432 Clean file cache when all wells are deleted
* Key Events: Avoid eating Delete key events 
Do not use a key short cut on menu actions that are always enabled. Will eat events from other actions.

* #9433 Well Path Import: Keep prefix when trying to match existing well path
2022-11-04 10:11:08 +01:00
Magne Sjaastad 68c72c85cf Curve legend: Use widget size to determine the column count 2022-11-02 18:06:30 +01:00
Magne Sjaastad e29b310566 Summary improvements
* #9424 Show vector name in curve names when history vector is present
* #9426 Curve Legend disappears when curve is unchecked
* Remove duplicate call to visibilityChanged
* Remove unused code
2022-11-01 08:00:51 +01:00
Magne Sjaastad a577545212 Allow well target list to consume available space 2022-10-31 18:52:45 +01:00
Magne Sjaastad 4d5ceb0441 Skip duplicate well target locations to avoid numerical issues in curve generator 2022-10-31 18:52:45 +01:00
Magne Sjaastad bbd0c5c67e #4890 Window tiling 2022-10-31 13:26:26 +01:00
Magne Sjaastad 9b61ebcac2 Maintenance october
* Hide contour plot collection when empty
* Update the project tree when a linked view is removed
* Make sure the window title is in sync with link state
* Do not use link state to find window tile ordering
2022-10-31 10:41:50 +01:00
Magne Sjaastad ed8fa08b13 Bump version number after RFT project 2022-10-28 15:42:40 +02:00
Magne Sjaastad 0d3347d4d7 RFT plot improvements
* Make curve selection optional to avoid flickering in depth plots
* Replace undefined with zero for some curves
* Add spacing factor for min and max depth
2022-10-28 15:37:45 +02:00
Magne Sjaastad 4c3e1c3fe8 RFT Curves: Add more segment curves
- add CONGRAT
- add pressure track
- add CONFAC
- fix some plot layout issues
- Fix bug for first segment MD location
- Add default scale factor 1e-3 for gas curves
- Avoid inf values in some curves, seen in PRESSURE and CONFAC
- Use assignment in statements instead of std::get
2022-10-27 12:43:46 +02:00
Magne Sjaastad f6bde92d81 Remove unused space caused by bottom margin 2022-10-27 12:43:46 +02:00
Magne Sjaastad a33f651bcc Depth Track Plots: Optionally show a line in all tracks
* #9378 Depth Track Plots: Optionally show a line in all tracks
* Use RiaDefines::Orientation
2022-10-24 16:24:51 +02:00
Magne Sjaastad fa83d17818 GHA: Fix timestamp 2022-10-24 10:42:57 +02:00
Magne Sjaastad 0fa001fc70 Opm Parser: Include PATHS when importing WSEGLINK
* Opm Parser: Include PATHS when importing WSEGLINK
Add PATHS to supported keywords to be able to use include files with alias in file path.
* Move opm-parser-tests into OPM solution folder
2022-10-21 07:47:27 +02:00
Magne Sjaastad 493531626f Rft segment plot adjustments
* #9371 RFT Curves: Add scaling factor
* Make sure isUsingAutoName is guarded by project file date
* Rearrange font and legend group in property editor
2022-10-19 15:13:15 +02:00
Magne Sjaastad 0b7700024f GHA: Use GITHUB_OUTPUT 2022-10-19 14:30:47 +02:00
Magne Sjaastad a52c8c9342 Install: Avoid installing QtAdvancedDocking as part of Resinsight install 2022-10-19 11:26:14 +02:00
Magne Sjaastad c46bd16064 Fix error related to static_cast 2022-10-18 10:13:02 +02:00
Magne Sjaastad 760bfaeec2 #9369 Curve Probing: Show data from other curves in tooltip text
Optionally show data from other curves in tooltip text when hoovering over a curve point
2022-10-18 07:22:56 +02:00
Magne Sjaastad 7c2941aedd #9366 RFT: Show all results with supported item count 2022-10-18 07:22:56 +02:00
Magne Sjaastad c8d6e29447 #9364 Well Log Plot and Track: Activate and improve Show Plot Data 2022-10-18 07:22:56 +02:00
Magne Sjaastad 905b2abe53 Update clang-tidy.yml 2022-10-14 08:50:00 +02:00
Magne Sjaastad 2cd7576413 Update files 2022-10-13 20:09:08 +02:00
Magne Sjaastad 1d23e8f5c9 Show packer in RFT topology track
* Show packers in topology track
* Support optional display of property axis values
* Add legend item clickable option to RimPlotWindow
2022-10-13 13:03:55 +02:00
Magne Sjaastad 8c03fb1b36 Merge branch 'main' into dev 2022-10-13 10:56:29 +02:00
Magne Sjaastad 7591b480a3 #9357 StimPlanModelPlot: Plot visibility and logic updates
- update project tree after plot is generated
- set default text tracker orientation to vertical
- call base class fieldChangedByUi to handle hiding of Stimplan plot
2022-10-13 09:03:56 +02:00
Magne Sjaastad e7a486c802 Improve curve naming for plot and use in RFT segment plots
* Improve plot naming for depth track plots
* Move template text replace to string tools
* More data available for object template text
* Set plot visible and define default object name template text
2022-10-12 12:41:08 +02:00
Magne Sjaastad 5e184df670 Improve curve naming
* Add curve name template and handling of string variables
* Mark autoName as obsolete field
* Use key-value map to populate variable values
* Add curve naming methods Auto, Custom and Template
2022-10-11 14:02:46 +02:00
Magne Sjaastad 05d7eac52c Add Multi Phase Rft Segment Plot action 2022-10-10 15:58:05 +02:00
Magne Sjaastad 3f9f337e64 #9347 Well Log Plot : Add possibility to show depth axis in all tracks 2022-10-10 15:58:05 +02:00
Magne Sjaastad 6d5e303361 Add topology curves and show in additional track
* Add topology curves and default plot
* Improve visual appearance
* Update sub module opm-common
* Add support for INCLUDE keyword to allow parsing of include files recursively
* Search for *.DATA with fallback to *.SCH to automatically import WESEGLINK data
* Find annulus branch based on MD diff on segment start
* Stop growing device branch if segment starts at a lower MD than previous
2022-10-07 12:37:23 +02:00
Magne Sjaastad f155da0179 #9312 Return line edit instead of placeholder widget if auto value is not supported 2022-10-06 10:32:44 +02:00
Magne Sjaastad 89d7dd4561 Show branch ID range in addition to branch index 2022-10-06 10:32:44 +02:00