Commit Graph
100 Commits
Author SHA1 Message Date
Magne Sjaastad ce513be638 Remove all use of .uiCapability()->setUiTreeHidden( true ); 2024-02-05 10:15:36 +01:00
Magne Sjaastad 01a082f9fc #11161 Change default tree visibility state for childField and childArrayField 2024-02-05 10:15:36 +01:00
Magne Sjaastad c456e96b22 Bump version to dev.17 2024-02-02 10:27:20 +01:00
Magne Sjaastad e33d18cd26 Hide scrollbar if the visible range covers the complete available range 2024-02-02 10:27:20 +01:00
Magne Sjaastad 66df2faa43 Make sure cumulative plot has some spacing to the right 2024-02-02 10:27:20 +01:00
Magne Sjaastad 4ee9af96c3 Well Allocation: Show legend below pie chart 2024-02-02 10:27:20 +01:00
Magne Sjaastad 883622c71d #11148: Set default name to Accumulated Flow Chart 2024-02-02 10:27:20 +01:00
Magne Sjaastad 4dd43a14a0 #11147: Initialize well allocation plot with better data
If plot is empty, initialize well allocation plot with case, first producer and last available time step
Make sure that all flow diagnostics plots are visible at all times.
2024-02-02 10:27:20 +01:00
Magne Sjaastad e2e441c1a0 Add RigEclipseCaseDataTools 2024-02-02 10:27:20 +01:00
Magne Sjaastad 5c92cf1511 #11077 Create result values for formations only when required 2024-02-02 10:27:20 +01:00
Magne Sjaastad 57cb3c0a0b #11141 Improve curve and plot title for calculated summary curves
Remove obsolete special handling of calculated curves
2024-02-02 10:27:20 +01:00
Magne Sjaastad 06766b3650 Add option to Preferences to flush file loggers when a signal is triggered 2024-02-02 08:30:30 +01:00
Magne Sjaastad d661ed4758 Fix computation of bounding box main grid
Calculation of the bounding box for main grid used to be on demand. This was changed in a previous commit. The computation of bounding box is now done first.

The regression was introduced in 5151717743
2024-02-01 11:51:27 +01:00
Magne Sjaastad 661840f425 Always compute bounding box of main grid and use OpenMP 2024-01-31 14:10:15 +01:00
Magne Sjaastad 5151717743 #11088 Use non-optimized version for old projects to compute active cells BB
The performance to compute geometry BB for active cells has improved. The original code also set displayModelOffset based on the BB of active cells. To make sure that existing project files produce identically the the same, the non-optimized version is used in this case.
2024-01-31 12:43:55 +01:00
Magne Sjaastad 111eeb64b7 #11144 Make sure multi select of wells and a calculated curve works as expected 2024-01-30 17:13:16 +01:00
Magne Sjaastad 2e7afeb58b #11094 Make sure no window is maximized before tiling 2024-01-30 14:34:33 +01:00
Magne Sjaastad d10254933c #11140 Fix filtering based on text in tree selection editor 2024-01-30 14:34:33 +01:00
Magne Sjaastad d0b5c8d9cb #11134 Export completions: Call ensureReservoirCaseIsOpen before export
This change will enable export without any open views.
2024-01-30 14:34:33 +01:00
Magne Sjaastad 91fdd7efe1 #11132 Guard crash when accessing simulation well data 2024-01-30 14:34:33 +01:00
Magne Sjaastad 0ff5365406 Move run_Glsl2Include into VizFwk folder on Windows 2024-01-30 08:34:23 +01:00
Magne Sjaastad e83b2e92f3 Add and use clang-tidy for GrpcInterface 2024-01-29 15:00:55 +01:00
Magne Sjaastad bd644da236 Bump version to dev.14 2024-01-29 08:57:29 +01:00
Magne Sjaastad 6805c95962 #10948 Make sure variants of GLIT is put in correct category
Add explicit handling of FGLIT, WGLIT and GGLIT
2024-01-29 08:57:29 +01:00
Magne Sjaastadandmagnesj 9738e69f8d Add delete of object from Python
* Move several methods to protected
* Add delete() to Python rips objects
* Move functions to RiaGrpcHelper

Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2024-01-29 08:46:45 +01:00
Magne Sjaastad ad34bbf125 Use latest version of actions
* Update checkout action
* Update setup-python
* Update get-current-time
* Update cache
* Update upload-artifact
2024-01-26 12:45:25 +01:00
Magne Sjaastad 7d601ac067 #11109 Improve visualization of MSW with valve branches
Increase default segment threshold to 4
Add an optional setting to override the default value
Use this threshold to merge short branches into parent branch
2024-01-26 09:32:42 +01:00
Magne Sjaastad 85672f5ef5 #10136 Reset zoom by double-click in 3D view 2024-01-26 09:32:42 +01:00
Magne Sjaastad de58f3dd54 Support RESINSIGHT_INSTALL_RPATH as CMake build parameter 2024-01-26 08:37:41 +01:00
Magne Sjaastad 6922ba22b0 Improve reload and replace of cases
* Move code to from features to helper classes
* Ask user if replace case should also happen for the associated grid or summary file
2024-01-25 10:41:57 +01:00
Magne Sjaastad 3388f60aa3 Bump to dev.12 2024-01-22 17:37:15 +01:00
Magne Sjaastad 8a3a3aef7e Fix crash when using grid case group 2024-01-22 17:37:15 +01:00
Magne Sjaastad b1420da40e Update opm-common 2024-01-22 17:37:15 +01:00
Magne Sjaastad 1290aacf39 Set correct version number to 2023.12.1-dev.11 2024-01-22 15:43:21 +01:00
Magne Sjaastad 4f2d13f14d Bump to version dev.13 2024-01-22 14:52:49 +01:00
Magne Sjaastad a090992f5a Refactor use of grid dimensions 2024-01-22 14:52:49 +01:00
Magne Sjaastad 833a0e8584 Performance: Cellcount functions are used in many loops, and must be as fast as possible
cellCountIJK was computed based on the value of griPointDimensions. These converstion turned up during profiling. Change implementation to have cellcount as a member variable instead of being computed every time.
2024-01-22 14:52:49 +01:00
Magne Sjaastad 663c3f31b9 Use the top and bottom layer of active cells to compute the geometry bounding box 2024-01-22 14:52:49 +01:00
Magne Sjaastad 80fdd1da74 Return pair of vectors and rename 2024-01-22 14:52:49 +01:00
Magne Sjaastad 62609953a0 #11092 Fix import of time since simulation start 2024-01-22 12:51:16 +01:00
Magne Sjaastad e2e861ed95 Select none, all cases or a grid case group to apply a calculation
This will enable the use of expressions var_a = sum(x) on a grid case group
2024-01-22 08:42:23 +01:00
Magne Sjaastad d61838940a Grid calculations: Free memory after data has been read
When data has been read for a variable, free the related data to make sure the memory footprint is as low as possible.
2024-01-22 08:42:23 +01:00
Magne Sjaastad e1007ca957 Performance: Clear file reader cache after data is read 2024-01-22 08:42:23 +01:00
Magne Sjaastad 018e911736 Read date information directly from restart file 2024-01-22 08:42:23 +01:00
Magne Sjaastad 502f7d4b2b Update opm-common 2024-01-22 08:42:23 +01:00
Magne Sjaastad 50ef5d916e Import surfaces with xyz as extension
*.dat and *.xyz can be imported using the same code
2024-01-19 11:53:06 +01:00
Magne Sjaastad 12ca418ef0 Add fixes to handle missing data correctly 2024-01-19 11:53:06 +01:00
Magne Sjaastad 33f18a7c8f Show numbers with space as thousand separator 2024-01-19 11:00:28 +01:00
Magne Sjaastad df083a870a Add Memory Report dialog
Compute how much memory is used for result/case/total. Show as text in dialog.
2024-01-19 11:00:28 +01:00
Magne Sjaastad 0c7a8ad2de Fix regression introduced in a9598f
Wrong naming of variables caused wrong refactoring
2024-01-19 11:00:28 +01:00
Magne Sjaastad 14faf607f4 Improve error message for ResInsight exe and rips version mismatch 2024-01-18 08:54:56 +01:00
Magne Sjaastad 028567d21a Bump version 2024-01-17 08:53:40 +01:00
Magne Sjaastad a9598fbe0e Define result address for to be used for non visible cells
Display a data source selection dialog to specify the result address to be used for cell values outside the visible cells.
2024-01-17 08:29:41 +01:00
Magne Sjaastad 35cc2127f2 Log error message instead of displaying a dialog
The error message is displayed once for each time step, and appears as eternal loop if you have many time steps.
2024-01-17 08:29:41 +01:00
Magne Sjaastad 5c096748c8 Optionally log messages to file (#11059)
* Add spdlog as submodule
* Add RiaFileLogger
* Control use of file logger from preferences
2024-01-15 17:51:03 +01:00
Magne Sjaastad 6eb8f75f17 Bump version to dev.09 2024-01-15 08:55:41 +01:00
Magne Sjaastad 9dfe155c5a octave: Revert use of auto for octave version before 7 2024-01-12 16:43:19 +01:00
Magne Sjaastad cfff6ac024 #11053 Limit number of time step to 1 for static result
This will also improve performance, as less memory is consumed
2024-01-12 16:06:32 +01:00
Magne Sjaastad 3f3ced5af0 #11042 octave: Adjustments for updated API in version 7
Minor adjustments in data access for octave version 7. Previously used and verified version is octave 4.
2024-01-12 16:06:32 +01:00
Magne Sjaastad d065c8e1e0 #11042 octave: Remove deprecated error_state object 2024-01-12 16:06:32 +01:00
Magne Sjaastad f907c6bdff #11024 Allow grid calculator expressions with no input cases
Will make it possible to use calc := 3
2024-01-12 16:06:32 +01:00
Magne Sjaastad fa94aa0bf9 opm-common: Simplify import of time step data
Avoid using restart state object for import of year, month, ...
2024-01-12 12:51:22 +01:00
Magne Sjaastad 58815aebea Update opm-common 2024-01-12 12:51:22 +01:00
Magne Sjaastad ca119af0ec Update openzgy 2024-01-12 08:16:50 +01:00
Magne Sjaastad edf44cb4c0 Prepare CMake to support both Qt5 andf Qt6
CEE_USE_QT6 controls if Qt6 is used.
Improved install and package for Qt6, target version Qt 6.5.3
Added Qt6 to github action for AppFwkUnitTest
2024-01-09 11:02:41 +01:00
Magne Sjaastad 8424c77167 Remove norwegian characters
On Qt6, text with norwegian characters causes build failure.
2024-01-09 11:02:41 +01:00
Magne Sjaastad d1b3445bef gcc10: add missing include 2024-01-09 11:02:41 +01:00
Magne Sjaastad 118d88b973 Create singleton before displaying window 2024-01-09 11:02:41 +01:00
Magne Sjaastad f6be434b85 Remove Qt version checking for old Qt version 2024-01-07 18:28:36 +01:00
Magne Sjaastad b5616561c2 Support use of of std::pair<T, QString> 2024-01-07 18:28:36 +01:00
Magne Sjaastad d38ebf68f4 Check for Qt5 when using removed class QDesktopWidget 2024-01-07 18:28:36 +01:00
Magne Sjaastad 870bcf0a46 Test for Qt5 when using obsolete OpenGL functions 2024-01-07 18:28:36 +01:00
Magne Sjaastad 2c02d61846 Use QRegularExpression instead of QRegExp 2024-01-07 18:28:36 +01:00
Magne Sjaastad e23560d9a0 Use setContentsMargins instead of setMargin 2024-01-07 18:28:36 +01:00
Magne Sjaastad 50234f0ea8 Add missing includes 2024-01-07 18:28:36 +01:00
Magne Sjaastad ff6472c6b7 Update to clang-16
Use runner Ubuntu 22.04 for clang-16
Remove unused code detected by clang-16
2024-01-05 15:13:50 +01:00
Magne Sjaastad 31d11f56f5 #10986 Set non-visible cells to zero for aggregated expressions
For aggregated expressions, set cells outside filter to 0.0. Do nothing for normal expressions.
2024-01-03 10:28:34 +01:00
Magne Sjaastad 9b36fe440d Make result name string match more robust 2023-12-20 19:05:45 +01:00
Magne Sjaastad f677d6d600 Performance: Compute depth related results in parallell 2023-12-20 19:05:45 +01:00
Magne Sjaastad df392e3faf Compute and show resistivity values 2023-12-20 19:05:45 +01:00
Magne Sjaastad 894bbbe06b Add reservoir case for EM data
- read geometry definition from h5grid files
- import cell results from h5grid files
- create and import case using drag/drop of h5grid file into ResInsight
2023-12-20 19:05:45 +01:00
Magne Sjaastad 054302ad62 Extract geometry and cell creation to reservoir builder 2023-12-20 19:05:45 +01:00
Magne Sjaastad e583c3a994 GCC: Fix warning related to memory alignment seen on gcc11 2023-12-20 19:05:45 +01:00
Magne Sjaastad e67f09a4ff Add completions settings to example 2023-12-16 17:40:11 +01:00
Magne Sjaastad 958587e76c Disable unity build for OdbReader
Unity build was recently broken, hard to find source to the broken build. Few files in this library, no unity build is required.
2023-12-16 16:09:37 +01:00
Magne Sjaastad 84dfb0f9c5 Update dev after release 2023-12-11 15:19:54 +01:00
Magne Sjaastad 776ea1052c Merge remote-tracking branch 'refs/remotes/origin/main'
Conflicts:
	ResInsightVersion.cmake
2023-12-11 14:02:27 +01:00
Magne Sjaastad 445cd95186 Set version to 2023.12 2023-12-11 13:56:04 +01:00
Magne Sjaastad 34d2ff7373 Add field and object keywords 2023-12-11 13:56:04 +01:00
Magne Sjaastad b34c6b9499 Bump version to RC_03 2023-12-11 12:32:19 +01:00
Magne Sjaastad f00553d399 Avoid crash for summary file with no time steps
Do not try to create ESMRY file if there are no time steps in the summary data
Do not try to read "TIME" record if no time steps are present
2023-12-11 12:32:19 +01:00
Magne Sjaastad 681acfb0e0 Create Intersection: Crash for Intersection along Simulation well
Check if any geometry is present before accessing geometry data
2023-12-11 12:32:19 +01:00
Magne Sjaastad 47e9046785 Always use category result when creating legend for formations 2023-12-11 12:32:19 +01:00
Magne Sjaastad cf9a9d4bad Add copy/paste of cell filters 2023-12-11 12:32:19 +01:00
Magne Sjaastad f421c43450 Make sure single curves from individual realizations are displayed on top 2023-12-11 12:32:19 +01:00
Magne Sjaastad b3865d2d4a OpenVds: Update path to latest 3.2
Previous OpenVds version was removed from server, update to latest available 3.2 version
2023-12-11 10:30:21 +01:00
Magne Sjaastad 7fb8de2204 Use a separate target to copy files to build folder
Several operations was attached to the POST_BUILD custom command of the ResInsight target. The number of characters in this command exceeded the limit on Windows, and error message "line too long" was displayed on GitHub actions.

Suggested solution to copy files into build folder
- add new target ResInsightDummyTarget used to find full path to build folder
- add new target PreBuildFileCopy for file copy
- add all copy operations as a list of cmake commands on PreBuildFileCopy
2023-12-11 10:30:21 +01:00
Magne Sjaastad fd0e1afe07 Bump version to RC_02 2023-12-07 08:33:32 +01:00
Magne Sjaastad acc4477764 Mark riNncCess as integer result 2023-12-07 08:33:32 +01:00
Magne Sjaastad 81ab903151 #10916 Create derived result used to identify NNC cells 2023-12-07 07:57:40 +01:00