Commit Graph

16901 Commits

Author SHA1 Message Date
Magne Sjaastad
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
jonjenssen
2c0ebfdbfe Add node set for fault zone boundary nodes 2024-01-27 00:38:48 +01:00
jonjenssen
2864ac7466 Extend reservoir element set to active cells in under/overburden
Fix fault extension if both sides start or end at same depth
2024-01-27 00:38:48 +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
magnesj
c6234483e6 Python code linting changes detected by black 2024-01-26 08:58:27 +01:00
magnesj
c0921a1fce Fixes by cmake-format 2024-01-26 08:58:27 +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
jonjenssen
cd0a56c924
Fault Reactivation: grid improvements (#11105)
Grid generator cleanup
2024-01-24 18:28:32 +01:00
Sigurd Pettersen
10a579fac5
Add support in VizFwk for using QOpenGLWidget derived view widget (#11091)
* Refactor to deprecate existing QGLWidget derived widget

Renamed cvfqt::OpenGLWidget to cvfqt::GLWidget_deprecated
Renamed cvfqt::CvfBoundQGLContext to cvfqt::CvfBoundQGLContext_deprecated
Renamed cvfqt::OpenGLContext to cvfqt::OpenGLContext_QGLContextAdapter_deprecated
Added cvf::OpenGLUtils

* Marked existing QtMinimal and QtMultiView as deprecated

* Additional deprecated renaming

* Added missing type

* Added missing include

* Fixes to get snippets up and running before introducing new OpenGL widgets

* Added class for OpenGLInfo

* Refactored cvf::OpenGLContext and cvf::OpenGLContextGroup, and added first cut impl of cvfqt::GLWidget and cvfqt::OpenGLWidget

* Removed unused TriggerTBBCopy.txt

* Initial support for compilation on Qt6

* Added QtMinimal and QtMinimal_GLWidget

* Refactored SnippetRunner to handle utilize cvfqt::OpenGLWidget

* Removed unused code

* Fixes and workarounds from compiling on linux

* Fixes by clang-format (#11056)

Co-authored-by: sigurdp <sigurdp@users.noreply.github.com>

* Added QTMultiView test app based on cvfqt::OpenGLWidget

* Removed includes of QOpenGLFunctions

* Modifications for compile with Qt6

* Added test bench for cvfqt::OpenGLWidget

* Minor fixes

* Force to use Qt5

* Fixes by cmake-format

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: sigurdp <sigurdp@users.noreply.github.com>
2024-01-23 08:48:05 +01:00
jonjenssen
576f15dd15 Bump to version dev-13 2024-01-22 20:39:07 +01:00
jonjenssen
8831a8dcc7 Update stress source selection
Clean up UI a bit
2024-01-22 20:39:07 +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
jonjenssen
210f03752f Make INP reader a bit more generic, do not require steps defined in file and allow multiple element types (all types must be 8 nodes) 2024-01-22 14:45:55 +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
magnesj
f864ab0ba1 Fixes by clang-tidy 2024-01-20 08:39:07 +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
jonjenssen
251952e6ef
Fault reactivation updates (#11079)
* Allow extending cell intersection lines outside cell
* Update default values, and clean up some things
* Populate fault zone element set
* Update to latest openzgy to fix typo
2024-01-19 08:39:10 +01:00
Kristian Bendiksen
a48faeb6d0 #11034 Use water density from model. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen
926a9ac850 Fault Reactivation: Export stress with negative sign.
Expected by Abaqus.
2024-01-18 09:56:23 +01:00
Kristian Bendiksen
bd085617e4 #11034 Fault Reactivation: integrate vertical stress from eclipse grid. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen
defde0f4e4 Fault Reactivation: Add 'None' as GeoMech model option. 2024-01-18 09:56:23 +01:00
Kristian Bendiksen
cb74bf2f1e Refactor: create stress accessor base class. 2024-01-18 09:56:23 +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
magnesj
caa42a89d3 Fixes by cmake-format 2024-01-15 09:13:31 +01:00
Magne Sjaastad
6eb8f75f17 Bump version to dev.09 2024-01-15 08:55:41 +01:00
magnesj
340c1383fc Fixes by clang-tidy 2024-01-13 16:57:44 +01:00