Magne Sjaastad
d6a1db843f
Create the static scalar results once
...
addStaticScalarResult will clear already computed data, causing calculations to be triggered once more
2024-04-15 10:33:56 +02:00
Magne Sjaastad
caaba8b2af
Check if scalar result index is valid
2024-04-15 10:33:56 +02:00
Magne Sjaastad
65a2d9e7b9
Fix calculation for active cell values
...
Always allocate result data for active cells in destination case. Make sure that active cells is used for both population of expression variables and filtering of data. Improved naming to make it clear that we always work with active cell data.
2024-04-15 10:33:56 +02:00
Magne Sjaastad
4a0c2f2f4f
Merge pull request #11316 from OPM/dev
...
Release 2024.03
2024-03-25 10:32:37 +01:00
Magne Sjaastad
e069e13c86
Bump version to 2024.03.0
2024-03-25 10:21:31 +01:00
Magne Sjaastad
b57767d895
Add feature to set parent well
2024-03-25 10:19:31 +01:00
Magne Sjaastad
7e60a4185b
Merge pull request #11315 from OPM/main
...
Merge pull request #10940 from OPM/dev
2024-03-25 10:09:15 +01:00
Magne Sjaastad
cf4cf562b0
Bump version to 2024.03.0-RC_04
2024-03-22 08:46:28 +01:00
Magne Sjaastad
5d2ac1f84d
Add object and keywords for 2024.03
2024-03-22 08:46:28 +01:00
Magne Sjaastad
eaa96a042b
Fix detection of ROFF file type
2024-03-22 08:46:28 +01:00
Magne Sjaastad
61254ba1b2
Summary: Set default value true for display of sub nodes
...
Set display of summary nodes to true. This will ensure that the display of vectors in "Data Sources" for a single summary case will be updated when a calculated curve is added or removed.
2024-03-22 08:46:28 +01:00
Magne Sjaastad
78759feb15
Update GUI editor if a new summary vector is set created
...
Make sure the user interface is updated when summary data is set from Python using summary_case.set_summary_values
2024-03-22 08:46:28 +01:00
Magne Sjaastad
c1b44e0d51
Add license info for spdlog
2024-03-22 08:46:28 +01:00
Magne Sjaastad
c02f32d5d1
Bump version to 2024.03.0-RC_04
2024-03-21 09:32:09 +01:00
Magne Sjaastad
d95c4c780c
Fix regression causing hidden objects to be visible
...
Hide objects that by mistake was make visible in ce513be
2024-03-21 09:32:09 +01:00
Magne Sjaastad
672b7a2a65
Make sure all editors are updated after source stepping
2024-03-21 09:32:09 +01:00
Magne Sjaastad
7190d781d0
Grid Case Statistics: Show well data from first realization
2024-03-21 09:32:09 +01:00
Magne Sjaastad
2e456a6f9b
Add font size to text content frame
2024-03-21 07:11:21 +01:00
Magne Sjaastad
785871cae3
Add realization filtering based on text string
...
Add unit tests and support min max range specifications. Example string "-5, 5, 8-10, 12-"
2024-03-21 07:11:21 +01:00
Magne Sjaastad
691b73d7f4
Bump version to 2024.03.0-RC_03
2024-03-19 14:33:29 +01:00
Magne Sjaastad
84875bef4f
Fix source stepping on calculated vectors
...
Make sure the calculation ID is set when a calculated vector is selected in the toolbar
2024-03-19 14:33:29 +01:00
Magne Sjaastad
a248be13cc
Always rebuild meta data for summary cases
...
Rebuild the UI representation when needed
2024-03-19 14:33:29 +01:00
Magne Sjaastad
d4f97d8415
Avoid hardcoded requirements for headers of RFT pressure files
...
Parsing "PSIA FEET" did not work, as "BARSA METRES" was the only supported unit. Keep special handling of header and date, and skip all other lines containing text or comment.
2024-03-19 14:22:45 +01:00
Magne Sjaastad
d1d987f522
Bump version to 2024.03.0-RC_02
2024-03-18 17:58:45 +01:00
Magne Sjaastad
853d68df8b
Bump version to 2024.03.0-RC_01
2024-03-18 11:49:07 +01:00
Magne Sjaastad
a880a42752
Summary performance improvements
...
* Check flag before rebuilding summary address nodes
* Performance: Use vector instead of set and map locally in thread
* Performance: Skip looking for restart summary filenames for opm-common
* Move adding of case realization parameters to OpenMP loop
* Add unit test for file path operations
* Performance: Avoid using cdUp() function when splitting path into strings
2024-03-18 11:46:43 +01:00
Magne Sjaastad
63defd0f1a
GHA: Update to peter-evans/create-pull-request@v6
2024-03-17 11:06:19 +01:00
Magne Sjaastad
76df7e8631
Remove unused function
2024-03-13 08:51:30 +01:00
Magne Sjaastad
bfda6519db
Cleanup includes
...
Use new tools in Visual Studio to help cleaning up includes and remove redundant includes.
2024-03-07 19:45:43 +01:00
Magne Sjaastad
9f96cb9694
#11258 Grid Calculation: Unintended release of result data memory
...
Avoid release of memory when working on a single case
2024-03-05 12:40:15 +01:00
Magne Sjaastad
1217236d73
#11248 Remove caching of simulation well coordinates to avoid state handling bugs
2024-03-04 12:27:56 +01:00
Magne Sjaastad
3689cccae7
Add operations on polygon : Duplicate, exportCsv, exportPol and simplify
...
SimplfyPolygon applies an operation on polygon to reduce the number of points in a way that the shape of the polygon is conserved.
2024-03-04 11:24:42 +01:00
Magne Sjaastad
5217ab5c8b
Use signal to notify listeners when coordinates of a polygon changes
2024-03-04 11:24:42 +01:00
Magne Sjaastad
818c5c0f9c
Add polygon file readers and make sure UI items are in sync
...
* Add polygon reader for POL file format
* Add CSV import
* Add helper function to create tag with color and text
* Show polygon color as tag, allow color edit by clicking on tag
* Support optional header in csv file
* Add Reload on polygon file
* Show warning icon if no polygons
* Improve logging text
* Do not show file polygon in view if no polygons are imported
* Use appendMenuItems
* Set default polygon color to orange
* Enter edit state when creating a new polygon
* Fix missing UI text in menu builder
2024-03-01 14:59:14 +01:00
Magne Sjaastad
be1a274280
Use consistent scaling factor for gas rates in field units
...
Use fieldGasToOilEquivalent = 1000.0 / 5614.63;
2024-02-28 11:00:20 +01:00
Magne Sjaastad
a0ecdf47a5
Show git SHA for command line parameter --version
2024-02-27 12:10:19 +01:00
Magne Sjaastad
672fbe177b
Improve summary calculation performance
...
* Only reload calculation data
* Make sure performance is good when a calculated object is added or changed
- avoid recreation of summary file readers
- delete all nodes in address tree representing calculated curves
- build address nodes for calculated curves
2024-02-26 13:55:41 +01:00
Magne Sjaastad
28d281e1d6
Use polygon as data source for intersection
...
- Use polygon as data source for intersection
- Add padlock icon
- Show padlock icon on read only polygons
- Add Fwk function appendMenuItems() to make it possible to define context menu content in a PdmObject
- Context menu "Create Polygon Intersection"
- Updates to make visualization consistent with object and object collection enabled state
2024-02-25 09:21:48 +01:00
Magne Sjaastad
6fe997b3c9
Add and use caf::PdmUiPushButtonEditor::configureEditorLabelHidden
2024-02-23 08:47:52 +01:00
Magne Sjaastad
a3d520e26e
Use project polygons from polygon cell filter
...
* Use RimPolygonInView to edit locally defined polygon
* Add scaling to polygon in view
* Move polygon line visualization to RimGridView
* Rename to polygonInViewCollection
* Show appearance for local polygon
2024-02-22 15:13:29 +01:00
Magne Sjaastad
8fe82423ae
Display polygon project items if RiaApplication::enableDevelopmentFeatures() is defined
2024-02-16 15:51:19 +01:00
Magne Sjaastad
16896212d4
Cleanup obsolete code
2024-02-16 15:51:19 +01:00
Magne Sjaastad
5fdf30d124
Add polygon classes
2024-02-16 15:51:19 +01:00
Magne Sjaastad
573a8f78cf
Update bounding box of parts in polyline part manager
...
The part visualization was missing in some cases due to an invalid bounding box
2024-02-16 15:51:19 +01:00
Magne Sjaastad
dc1e675b37
Move findActiveTargetsAroundInsertionPoint to base class
2024-02-16 15:51:19 +01:00
Magne Sjaastad
d0a9b7cd0b
Modify the the background color of table using stylesheets
2024-02-16 15:51:19 +01:00
Magne Sjaastad
33dcd55561
#11206 Guard assert when picking in a zoomed scene
2024-02-16 12:12:17 +01:00
Magne Sjaastad
e94ac51568
Optionally install python modules defined in dev-requirements.txt
2024-02-15 09:47:20 +01:00
Magne Sjaastad
44617ae105
#11069 RFT segment topology
...
The segment symbol is displayed once per segment. Previous code used segment start as symbol location. Add support for selecting the location for the segment indicator, either start, mid or end.
When reading segment property values, always use segment end as the curve is plotted using step left.
2024-02-15 08:38:54 +01:00
Magne Sjaastad
8fe385adcf
Create binary artifacts for Linux
...
* Bundle Qt binaries and create artifacts on Linux
* Add qt.conf for Linux
* Remove install target for unit test
2024-02-13 09:06:38 +01:00
Magne Sjaastad
fa8d8e3d05
CMake adjustments after unit test refactoring
...
* TARGET_RUNTIME_DLLS requires CMake 3.21
* Hide compiiler warnings in Visual Studio
2024-02-12 14:33:46 +01:00
Magne Sjaastad
f494813210
Bump version to dev.18
2024-02-07 10:07:18 +01:00
Magne Sjaastad
4db04c76a2
Add missing include seen on VS 17.8.0
2024-02-07 10:07:18 +01:00
Magne Sjaastad
1703f33eb7
Set attribute to share OpenGL contexts
...
Setting this attribute will make sure OpenGL resources are alive when the parent widget is changed during layout changes like full screen view or changing docking configuration.
2024-02-07 10:07:18 +01:00
Magne Sjaastad
163d54fb24
Comparison View: Fix wrong horizontal location when dragging starts
...
Use localPos instead of windowPos
2024-02-07 10:07:18 +01:00
Magne Sjaastad
8e13d6c528
Use modern OpenGL Qt widget
...
Use cvfqt::OpenGLWidget and make required changes
- move code from paintEvent to paintGL to make grabFrambuffer work
- remove obsolete sharedWidget
- implement onWidgetOpenGLReady and initialize rendering in this function as OpenGL capabilities is required
- simplify snapshotImage to use grabFramebuffer
Fix missing include
2024-02-07 10:07:18 +01:00
Magne Sjaastad
6ce9af1148
Disconnect comparison view in destructor of RimEclipseResultCase
...
In debug build on Windows, a crash in the destructor of Rim3dView happens when the comparison view is set to null.
2024-02-07 10:07:18 +01:00
Magne Sjaastad
2250084176
Always link shader program if OglId is zero
...
The OpenGL resources can be invalidated at any time. Make sure that the shader program is linked if this happens.
2024-02-07 10:07:18 +01:00
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 Sjaastad and magnesj
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