Commit Graph

16982 Commits

Author SHA1 Message Date
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
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
jonjenssen
8db29e0931
Add polyline filter support (#11048)
* Support selecting cells below polyline, both eclipse and geomech cases
* Add some polyline intersection helpers, with tests
2024-01-12 09:52:29 +01:00
Magne Sjaastad
ca119af0ec Update openzgy 2024-01-12 08:16:50 +01:00
Kristian Bendiksen
bd3c5bb883 Bump version to dev.08. 2024-01-10 10:55:15 +01:00
Kristian Bendiksen
d03477a0f8 Fault Reactivation: Use correct result variable when extracting temperature. 2024-01-10 10:55:15 +01:00
jonjenssen
6d225a9da3
Fault Reactivation: Add minimum cell height limit (#11036)
Fault Reactivation: Add minimum cell height limit
2024-01-10 08:14:37 +01:00
Sigurd Pettersen
ce9a65ee41
VizFwk housekeeping (#11026)
Housekeeping in VizFwk in preparation for introducing support for QOpenGLWidget and Qt6

* Adjusted unit tests to changes in source code
* Use Qt5 as default and removed copying of Qt DLLs
* Removed support for Qt4
* Removed the CVF_OPENGL_ES define. If we ever want to re-introduce support fro OpenGLES/Angle it should be handled differently.
*Added include of <locale.h>
* Added target for running Glsl2Include in order to build cvfShaderSourceStrings.h
* Removed all usage of CVF_USING_CMAKE
* Removed visual studio project files
2024-01-09 14:38:57 +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
Kristian Bendiksen
adf52ed301 #10827 Fault reactivation: extract temperatures using well log. 2024-01-08 18:05:48 +01:00
Kristian Bendiksen
f81dcbd2dc Minor refactor: extract method extracting values. 2024-01-08 18:05:48 +01:00