Commit Graph

15568 Commits

Author SHA1 Message Date
Kristian Bendiksen
1aa41968a5 #8787 Summary Multiplot: Fix inversion of axis with axis aggregation. 2022-05-24 07:26:49 +02:00
Magne Sjaastad
01e670a3d8
Add copy/paste of Summary Multi Plot (#8942)
* Guard use of back() on empty vector
* Add "Show Data Sources" to ensemble realizations
* Update summary plot as summary curve collection is not visible in tree view
* Set selection manager root in RiaApplication
* Always close both main windows if present
* Add copy/paste of summary multi plot
* Add test for RiuMainWindow::instance() before use
* Remove duplicated code
* Multiple Tree Views : Use getTreeViewWithItem() to find correct tree view
* Minor UI adjustments
2022-05-23 14:25:53 +02:00
Jon Jenssen
329e1e8b69 Fix crash in ensemble plot duplicate 2022-05-23 13:32:18 +02:00
Kristian Bendiksen
039ec05ab8 #8794 Multi Axes: Highlight relevant axes 2022-05-23 13:23:55 +02:00
Jon Jenssen
05ce13b533 Fix crash if 3d window is not there when importing summary data 2022-05-23 11:03:32 +02:00
Magne Sjaastad
26f1387bc6 Improve plot manager behavior
Create plots for vectors with no grouping identifier
Do not invalidate GUI on selection changed
Use same name as in project tree
2022-05-22 21:49:34 +02:00
Magne Sjaastad
ccfc0e25bc #7778 Check for valid pointer to main window before use 2022-05-22 11:35:40 +02:00
jonjenssen
886f5e3295 Move duplicate button to the right of the multiplot toolbar 2022-05-20 16:47:44 +02:00
jonjenssen
7c25677d18 Add support for appending curves for summary case and ensemble by stepping 2022-05-20 16:29:26 +02:00
Kristian Bendiksen
954b697e6b #8817 Summary Multiplot: Add filter to control plot visibility 2022-05-20 15:56:43 +02:00
Kristian Bendiksen
c3dfd9ed26 Summary tools: fix crash in when destructing RimStimPlanModel 2022-05-20 14:51:26 +02:00
Kristian Bendiksen
e80343b4db #8877 StimPlan model: Fix formation dip in export of Asymmetric.FRK
Fixes #8877.
2022-05-20 14:51:26 +02:00
Kristian Bendiksen
9678b80feb #7778 MainWindow: fix crash when reopening grid case 2022-05-20 14:51:01 +02:00
Kristian Bendiksen
837a0f208c #8846 StimPlan model plot: Correct perforation interval for longitudinal fracture
Fixes #8846.
2022-05-20 14:07:29 +02:00
Magne Sjaastad
402f738abd Regression Test: Make sure all text is redirected to standard out
Call RiaApplication::initialize() to recreate project and preferences. Do not call virtual method initialize(), as RiaGuiApplication::initialize() creates a new logger causing console text to disappear.
2022-05-19 13:58:01 +02:00
Magne Sjaastad
f3cfa0ab94 Bump version number 2022-05-19 12:50:47 +02:00
Magne Sjaastad
fa8ad53981 Regression Test : Add memory usage to regression test logging 2022-05-19 12:48:54 +02:00
Magne Sjaastad
89d42fec88
Regression Test: Fix null pointer access (#8922)
* #8921 : Guard null pointer access

* #8921 Fix memory leak

Fix similar memory leak as reported in #8918
2022-05-19 11:51:52 +02:00
Magne Sjaastad
119367783b
Fix memory leak for data source ensemble summary (#8919)
* Do not create summary case group twice

* Fix memory leak of objects contained in childArrayFields
Use deleteAllChildObjects to delete objects instead of clear()
Rename collection function clear() -> deleteAllChildObjects

* Early exit for empty path

* Reduce redundant calls to refreshMetaData
2022-05-19 11:51:22 +02:00
Magne Sjaastad
558d675d44
Merge pull request #8920 remove mac build 2022-05-19 11:47:41 +02:00
jonjenssen
3b927e1c09
Split summary plot into multiple plots (#8910)
* Support splitting a summary plot with multiple curves into a new multiplot with one plot per curve
* Make sure the correct plot is deleted if using the plot context menu.
2022-05-13 16:36:30 +02:00
jonjenssen
6f26f8e462
Speed up summary case close/delete for ensembles (#8907)
* Speed up summary case close/delete for ensembles
2022-05-12 22:51:15 +02:00
jonjenssen
4f31f5c76e
Add support for deleting plot templates (#8908) 2022-05-12 21:46:35 +02:00
Kristian Bendiksen
35d91130d3 #8571 Python: generate proper method docs for boolean parameters.
Fixes #8571.
2022-05-11 20:53:01 +02:00
Kristian Bendiksen
b27f59cecb #8274 Python: assign default values
Fixes #8274.
2022-05-11 20:53:01 +02:00
jonjenssen
828e8ec440
Show templates as separate project explorer tab. (#8902)
Add templates as separate project explorer tab.
Add support for renaming and editing templates
2022-05-11 19:46:17 +02:00
Kristian Bendiksen
daf02571c2
Mainwindow datasources (#8883)
* Main Window: add three dock widgets for splitting project tree

* Main Window: move scripts to separate tree widget

* Add eclipse result addresses to data source project tree.

* Grid Calculator: drag-and-drop for calculation variables.

* Grid Calculator: rename to 'Grid Property Calculator'.
2022-05-11 19:17:46 +02:00
jonjenssen
65827f9c1c
Improve summary case import performance (#8897)
* Improve summary case import performance
2022-05-11 10:47:12 +02:00
Magne Sjaastad
7d440a9c2f Performance: Avoid calling allSummaryCases
allSummaryCases() is potentially a heavy CPU call for large ensembles. Always show the curve calculator button.
2022-05-10 10:24:52 +02:00
Magne Sjaastad
f52acd9a64 #8893 Rename quantity name -> vector name 2022-05-10 08:17:41 +02:00
Magne Sjaastad
6f1819ba96 MultiPlot: Reorder top level UI
Set Auto Adjust Appearance to default value true
2022-05-10 08:17:41 +02:00
Magne Sjaastad
df1bb06f09 Support delete of multiple sub plots in one operation 2022-05-10 08:17:41 +02:00
Kristian Bendiksen
85cd07c373 Grid Calculator: Improvements after review. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
8ea4e933aa Grid Calculator: compute results for all time steps 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
144138904d Avoid index-based iterator. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
b761bb42af Grid Calculator: Fix view updates when calculation is changed or removed. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
fdefb214d8 Grid Calculator: Minor tweaks to UI. 2022-05-09 15:36:27 +02:00
Kristian Bendiksen
4304bbbc48 Grid Calculator: refactor summary curve calculator and add grid calculator. 2022-05-09 15:36:27 +02:00
Magne Sjaastad
621100f0cf Bump version 2022-05-06 16:38:41 +02:00
Magne Sjaastad
74ace7ea44
Summary Multi Plot : Improve default behaviour (#8885)
* Summary Multi Plot : Improve default behaviour

- Perform zoom when stepping to next item
- Set defaults for range aggregation and source stepping dimension based on content when creating a multi summary plot

* Plot Axis Appearance : Do not use bold for text configuration

* Improve how scale factor for legend values are computed

* Improve defaults for range aggregation and step dimension

* Reorder Capability : Get UI item before reordering is issued

Get UI item before reordering is issued, as this operation will invalidate the tree model
2022-05-06 12:09:55 +02:00
Magne Sjaastad
74075cc9ab
Merge pull request #8888 from OPM/8887-fix-reorder-capability
Fix reorder capability
2022-05-06 10:52:08 +02:00
magnesj
64c4adf5f0 Fixes by clang-tidy 2022-05-06 06:39:08 +02:00
Magne Sjaastad
cc397efe3e Performance : Simplify use of update schedulers
Extract code to RiaScheduler
Add PlotCollectionScheduler
2022-05-05 14:15:45 +02:00
Magne Sjaastad
8daf25ffb3 Performance : Cache result of some string manipulation functions
These functions get called quite often, and popped up based on profiling.
2022-05-05 14:15:45 +02:00
Magne Sjaastad
e426364fd5 Toggle Action Performance : Send fieldChanged() only once
fieldChanged() can potentially do much work. When toggling objects in the project tree, make sure that fieldChanged is called only once for a toggle operation. This will make sure that we have the best possible performance in all use cases.
2022-05-05 14:15:45 +02:00
jonjenssen
296ddbde42
Merge pull request #8882 from OPM/append_curves
Summary Multiplot: Source Stepping append curves with performance fixes
2022-05-04 13:11:04 +02:00
Magne Sjaastad
bb6ca0848d #8859 Add drop target for calculation variables 2022-05-04 09:10:32 +02:00
Magne Sjaastad
feb1c417c5 #8859 AppFwk : Enable TableView as optional drop target
A TableView can receive drag/drop data. The drop operations finds the PdmObject for a row, and delegates handling of the drop operation to this object.
2022-05-04 09:10:32 +02:00
Jon Jenssen
4ef1f73a58 Add delete plot comand to subplot context menu 2022-05-03 18:01:01 +02:00
Jon Jenssen
2c1ef661b0 Avoid regenerating viewer pages when just stepping curves in plots 2022-05-03 16:31:30 +02:00