Commit Graph

173 Commits

Author SHA1 Message Date
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Kristian Bendiksen
6756533904 #5213 Use class enum for RimGeoMechCase::BiotCoefficientType 2020-04-14 06:32:00 +02:00
Kristian Bendiksen
0d0ecf42fa #5213 Use calculate geo mech stresses with biot coefficient. 2020-04-14 06:32:00 +02:00
Magne Sjaastad
a7ed41a4a5 Fix compile issues Linux 2020-04-06 12:48:43 +02:00
Magne Sjaastad
4eb2163b35 #5768 Info Box : Use space as thousand separator 2020-04-06 12:21:16 +02: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
Magne Sjaastad
10f0abc9b5 #5101 clang-format: Allow short functions on a single line
Use AllowShortFunctionsOnASingleLine: InlineOnly
2020-02-12 13:35:31 +01:00
Kristian Bendiksen
6562dbdb5d #5469 Move POR and ST/SE differentials to a new category "Differentials". 2020-02-11 10:16:28 +01:00
Magne Sjaastad
7148bd73ae
Bubble plot (#5452)
Bubble plot issues #5209 #2285 #5308 

Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2020-02-03 12:20:35 +01:00
Jacob Støren
6f97dca264 #5252 Fixed crash and missing statistics with combined IJK results for visible cells only 2019-12-18 15:47:13 +01:00
Magne Sjaastad
d4b7797bb1 #5187 Info Box: Change defaults for Statistics Options 2019-12-06 07:47:19 +01:00
Jacob Støren
e78b0d4204 #4994 Make ComparisonView mode for InfoBox and animation progress 2019-11-08 10:40:37 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +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
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
a9ee69587d #4536 Make sure we guard against calculating Mobile Volume Weighted Mean for visible cell stats and not just all cell stats. 2019-08-03 16:21:31 +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
Magne Sjaastad
11e91f5d1c #4375 Robustness : Make sure we handle missing data gracefully 2019-04-26 12:50:36 +02:00
Magne Sjaastad
3d3e6064b1 #4348 System , cppcheck : Remove unused functions 2019-04-21 09:36:25 +02:00
Magne Sjaastad
89b4279da2 #4186 Dual Porosity Model : Show dual porosity text in label and text in 3D view 2019-03-08 14:52:43 +01:00
Gaute Lindkvist
27f9e95e51 #4105 Remove sum from info box for Contour Maps
* The sum is misleading and isn't showing a value that makes any sense to the user.
2019-02-27 13:34:09 +01:00
Gaute Lindkvist
1e994ac8b8 #4117 Improve time step names for Grid Cross plot categorisation 2019-02-27 11:38:35 +01:00
Magne Sjaastad
ec2d2ce559 Whtespace 2019-02-20 14:45:06 +01:00
Magne Sjaastad
eb28bb8520 #4085 3D view: Add check box for version info text 2019-02-20 14:40:25 +01:00
Gaute Lindkvist
833a29c3c2 #4062 #4081 Make time and case diff apply immediately and don't change variable name
* Instead show the change in the Result label, legend and info box.
2019-02-15 13:16:51 +01:00
Gaute Lindkvist
08cdd73148 #4024 Always report that a time step dependent result is visible in GeoMech contour maps
* However, if a result is not a valid time step result, we instead show a dummy 0-result across the reservoir.
* This way we show something even if a valid result is not chosen.
* Also make this more obvious by reporting it in info box and legend.
2019-02-04 12:02:12 +01:00
Jacob Støren
09011862cd #3958 Refactoreing: Rename 2019-01-25 16:19:14 +01:00
Jacob Støren
ccfee8f34a #3958 Starting refactoring of eclipse results addressing
Preparations for time diff results
2019-01-25 16:19:13 +01:00
Gaute Lindkvist
1f754f2b63 #3807 Initial implementation of GeoMech contour maps. 2019-01-16 14:09:28 +01:00
Gaute Lindkvist
f3c188ef56 #3807 Rename RimContourMapView to RimEclipseContourMapView 2019-01-11 16:06:53 +01:00
Gaute Lindkvist
31c67e29e4 #3807 Rename RimContourMapProjection to RimEclipseContourMapProjection 2019-01-11 16:06:53 +01:00
Gaute Lindkvist
094ae45dcd Formatted contour map code and renamed some methods. 2018-11-21 09:33:21 +01:00
Gaute Lindkvist
42d3e65416 #3700 Add visual picking marker and improve map results
* Fix "off by half a cell" errors and improve smoothness using averaging and interpolation
2018-11-19 15:24:18 +01:00
Gaute Lindkvist
91c96b9315 2d Maps. Fix minor text bold issue in Overlay Info box 2018-11-13 14:45:21 +01:00
Gaute Lindkvist
667518c849 #3628 2d Maps: Weighting by result parameters 2018-11-09 15:25:45 +01:00
Gaute Lindkvist
c716529542 #3654 2d Maps: hide cell result from overlay info when using column aggregation. 2018-11-09 11:47:19 +01:00
Gaute Lindkvist
53fad80e89 2d Maps: Renames to make classes and variables more consistent.
* Everything is now named something related to ContourMap:
  - Rim2dEclipseView -> RimContourMapView
  - Rim2dGridProjection -> RimContourMapProjection
  ....
2018-11-09 09:11:29 +01:00
Gaute Lindkvist
ad9f86a517 #3630 2d Maps: schedule update of volumes when creating LGRs 2018-11-08 12:52:28 +01:00
Gaute Lindkvist
e07f4ea37f #3638 2d Maps: Update info box when result and aggregation changes and change sampleSpacing to be relative 2018-11-08 12:52:28 +01:00
Gaute Lindkvist
ef4b70d6e5 #3630 Implement volume calculation on grid 2018-11-08 11:52:19 +01:00
Gaute Lindkvist
f80472ffa6 #3540 Create seperate 2d view with parallel, look down and linked views 2018-10-24 15:21:53 +02:00
Magne Sjaastad
2b1c6e9706 #3428 Text string creation based on date and time : Use toStringUsingApplicationLocale() at relevant places 2018-10-03 08:44:01 +02:00
Bjørn Erik Jensen
b6240049a9 #3082 Statistics. Different meaning of P10 and P90. Switch labels 2018-06-26 08:48:58 +02:00
Jacob Støren
54c7932806 Fix crashes when reading an odb file fails due to corruption 2018-04-23 16:35:19 +02:00
Rebecca Cox
3c26640f56 #2579 2D Intersection View: apply Info Box on/off in main view to 2Dview 2018-03-06 16:05:01 +01:00
Magne Sjaastad
1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Rebecca Cox
f909a7ea27 #2438 2d Intersection View: Update intersection view on 3dOverlayInfo update 2018-02-15 14:31:13 +01:00
Rebecca Cox
1076384ce0 #2438 2D Intersection View: 3D Info Box items must follow settings in the main view 2018-02-15 13:00:44 +01:00