Commit Graph

132 Commits

Author SHA1 Message Date
github-actions[bot]
0045182a31 Fixes by clang-format (#7099)
* Fix missing include using clang compiler

* Fixes by clang-format

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
2020-12-10 12:40:16 +01:00
Ruben Thoms
f19ba71888 Implementation of objective functions.
- Objective functions
- Custom objective functions
- Filters
- Selection of multiple summary addresses
2020-12-10 12:40:16 +01:00
magnesj
d11e109c7e Fixes by clang-format 2020-11-06 06:18:34 -05:00
Magne Sjaastad
ef15a98e3a #6721 Ensemble Parameters : Improve performance for list in Property Editor
Introduce hasEnsembleParameters() for efficient check if any case has ensemble parameters.
Use first timestep definition from a summary case, as the time steps usually not differ between different summary vectors.
2020-10-06 13:30:34 +02:00
Magne Sjaastad
ea7da32141 #6514 Dark Theme : Use text color from theme instead from QPalette 2020-09-25 14:32:06 +02:00
Ruben Manuel Thoms
87bc6acd65 Added a GUI theme selector in preferences and a new class for handling GUI changes.
Added a new feature for editing style sheets and variable colors and see immediately the result.
Made Qwt plots (and items) stylable.
Added icons, improved styling possibilities of QMinimizePanel, fixed minor bugs in RicThemeColorEditorFeature.
2020-09-25 14:32:06 +02:00
Kristian Bendiksen
3e1a019783 #6533 Speed up ensemble curve preview.
Made faster by hiding legends and error bars when there are many curves.
2020-09-24 08:31:34 +02:00
Gaute Lindkvist
f5acab44ec Parallelise loading of ensemble curve preview data 2020-09-24 08:31:34 +02:00
Gaute Lindkvist
e292b8a297 Better defaults for Correlation Cross Plots and shorten legend entries 2020-09-22 08:32:54 +02:00
Kristian Bendiksen
69a1901904 #6491 Fix range iterators which was creating data copies (clang10 warnings). 2020-09-15 11:04:39 +02:00
Gaute Lindkvist
b64cad8bef #6447 Reduce decimals for correlation sorted parameter list 2020-09-07 09:14:13 +02:00
Gaute Lindkvist
d882911b25 Sort correlations by absolute value in Ensemble Parameters 2020-09-04 08:31:50 +02:00
Gaute Lindkvist
2da678802b #4064 Support sorting by correlation in Ensemble Curve coloring 2020-08-28 14:38:29 +02:00
Kristian Bendiksen
0b9577df71 #5874 Remove direct accessor to obsoleted RimRegularLegendConfig::colorRange field. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
8da32eddc1 Remove unused RiaColorTables includes. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +02:00
Kristian Bendiksen
c016c02e40 Replace RiaApplication::instance()->project() with RimProject::current().
Also remove uneccessary includes of RiaApplication.h.
2020-05-12 12:01:44 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Magne Sjaastad
1557d695b8 #5883 Icons : Use framework code to apply an overlay pixmap 2020-05-06 19:02:50 +02:00
Jacob Støren
0accbfdd0d #5706 Refactored EnsembleParameter usage.
Cache the list in SummaryCaseCollection
Removed the name, EnsembleParameter pair usage
Add operator< to be able to insert them in a set
2020-03-20 11:22:14 +01:00
Jacob Støren
42ffc195ce Rename RiuSummaryCurveDefSelectionDialog to RiuSummaryVectorSelectionDialog 2020-02-18 14:00:11 +01:00
Jacob Støren
dacd84a289 Rename RicSummaryCurveCreator to RicSummaryPlotEditorUi 2020-02-18 13:36:07 +01:00
Magne Sjaastad
c82df63e10 #5101 clang-format: Adjusted penalties
Use lower absolute values to improve control of behavior
2020-02-12 13:35:31 +01:00
Gaute Lindkvist
0692ea28ad Fix legends for ensemble plots 2020-01-07 14:26:46 +01:00
Magne Sjaastad
dffef1cf54 #5276 Ensemble : Guard null pointer access causing crash 2020-01-03 07:09:35 +01:00
Gaute Lindkvist
47b93dc0d1
Implement pdf rendering (#5250)
* First PDF creation support

* Reimplement info box

* Set title and make overlay frame margins more unified

* Remove a style sheet that was never meant to be applied to Project Tree

* Update RiuDraggableOverlayFrame when changing content

* Default page layout in Preferences

* undo removal of elision

* Remove friend class assignment in cafCategoryMapper

* the required methods have been made public

* Fix up after review

* Remove spurious const on by-value return

* Fix compile errors on Linux

* Fix size adjustment of legends with plot resizing
2019-12-18 12:25:19 +01:00
Gaute Lindkvist
7fd4aa1ce9 #5002 Ensemble RFT curve sets with parameter coloring and separate legends 2019-12-06 08:13:31 +01:00
Gaute Lindkvist
f56a34843a Refactored ensemble parameter legends 2019-12-06 08:13:31 +01:00
Gaute Lindkvist
cf190b05c1 #5051 Do not auto zoom when adding/removing curves in plot 2019-11-27 14:17:23 +01:00
Magne Sjaastad
4f4c48635b Merge pull request #5099 from OPM/improve-ensemble-statistics
Improve ensemble statistics
2019-11-27 09:57:46 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +01:00
Magne Sjaastad
67e7bb0cf3
Fixes detected by cppcheck (#4974)
* Janitor : Remove obsolete pointer to dialog

* Janitor : Remove unused functions

* Janitor : Remove unused functions

* Janitor : Add explicit to constructors

* Janitor : Remove unused variables

* Janitor : Remove unused functions related to summary plot templates

* clang-tidy : Use nullptr instead of 0

* clang-tidy : Fix usage of virtual and override

* Upped to version 2019.08.2-dev.05

* Janitor : Remove unused variables

* Janitor : Clean up several cppcheck issues

* Janitor : Add cppcheck config files

* Janitor : Use const when possible
2019-11-03 08:37:03 +01:00
Magne Sjaastad
ba89a60e8d #4946 Ensemble Colors : Show color control in curve filter property editor 2019-10-29 13:40:57 +01:00
Gaute Lindkvist
c578a43b53 Introduce RimGridPlotWindow and RiuQwtPlotWidget 2019-10-24 14:59:16 +02:00
Gaute Lindkvist
11117383db
#4817 #4830 #4832 #4837 #4839 Python commands for WBS creation, well path import and well log file import (#4838)
* Better minimum width for well log tracks

* Fix alignment of scrollbar in Well log plots

* Better Well Log Plot export

* Hide scroll bar before plotting
* Better borders

* Create plots through Python

* #4817 Create WBS plots with Python

* Rebase Summary and WellLogPlot on top of a new RimPlot

* Also Python: Allow setting folder as a parameter to export_snapshots

* #4832 Prepare for well path import command

* Well Path import WIP

* #4830 #4832 Import well paths and well log files from file using Python.

* #4837 Implement import of formation names in Python

* Fix debug build issue

* Fix RiaLogging build issue

* Fix warnings

* Yet another RiaLogging.h import added

* #4839 Import exporting of las and ascii files from well log plots
2019-10-09 09:21:28 +02:00
Jacob Støren
264cc4b40b #4749 Rename fields and some cleanup 2019-09-23 14:04:23 +02:00
Jacob Støren
9f8393a5c3 #4749 Marking SummaryFilter classes and fields as OBSOLETE 2019-09-23 13:56:40 +02:00
Jacob Støren
515d06c395 #4749 Ensemble curve set vector selection now simplified using editable completion field 2019-09-23 13:42:25 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
2c6191c94b
Merge branch 'dev' into feature-ensemble-rft 2019-08-28 12:56:27 +02:00
Jacob Støren
80f0273437 #4570, #4568 Ensemble support for --summaryplot 2019-08-28 10:12:53 +02:00
Gaute Lindkvist
2c5ca4ce46 Import and plot of FMU RFT data works 2019-08-26 12:52:07 +02:00
Gaute Lindkvist
71da659506 #4580 Import Eclipse RFT data as part of ensemble import 2019-08-26 11:56:36 +02:00
Gaute Lindkvist
57b33b0d4c
First implementation of Headless (#4392)
* Revert "#4377 Octave : Use RiaLogging for error messages instead of QErrorMessage "

This reverts commit f758a8edb2.

* Revert "#4380 Preferences : Changing scene font size when geo mech view is open causes crash"

This reverts commit df62a41397.

* Revert "#4379 Documentation : Update command line parser for import of summary files"

This reverts commit d0b5357ed4.

* Unfinished WIP

* Builds but crashes

* Refactored code now builds and runs

* ResInsight can now run the unittests headless

* Can run some command files successfully

* Build on Linux

* Extra headless hack header

* Moved PdmUiItem hack to cpp file

* Fix headless crash in RimWellAllocationPlot

* Handle error gracefully if ExportSnapshots command is executed from console

* Add caf::QIconProvider and remove some hacks

* Also made the greying out of disabled icons work for a couple of cases where it didn't.

* Linux build fix

* #4380 Reimplement fix df62a41397 by @magnesj on top of Headless code changes

* #4379 Reintroduce kode from d0b5357ed4 by @magnesj

* #4377 Restore f758a8edb2 in new Headless code
2019-05-06 10:36:05 +02:00
Gaute Lindkvist
4c026952a1 #4134 #4124 Refactor RiuSummaryQwtPlot on top of a base RiuQwtPlot class and use this for Cross Plots
* Get a lot of functionality included: zoom, panning, etc.
2019-02-26 11:44:26 +01:00
Magne Sjaastad
f4e0a154ee #4038 2D plot Source data stepping re-set curve interpolation 2019-02-07 08:30:55 +01:00
Magne Sjaastad
fad4dc91d7 #4036 Ensemble : Use list editor instead of drop down when selecting parameter 2019-02-05 11:18:06 +01:00
Gaute Lindkvist
54b5dc33f4 #4013 Create variation bins for ensemble parameters based on current data
* Rather than having a fixed index.
* This way the variation is more or less always normal distributed.
2019-01-30 09:07:52 +01:00
Gaute Lindkvist
eb498ad0dc #4013 Sort ensemble parameters by variation 2019-01-29 15:42:17 +01:00
Magne Sjaastad
6f3097dd5f Merge remote-tracking branch 'origin/2018.11.01-patch' into dev 2018-12-21 08:46:27 +01:00