Commit Graph

50 Commits

Author SHA1 Message Date
Magne Sjaastad
a6af4fbd00 #6773 Regression Test : Add more input validation due to missing files
Running regression tests without valid external files revealed several crashes. Add guarding and remove asserts to make sure regression tests can be executed without crash.
2020-10-13 08:31:05 -04:00
Kristian Bendiksen
69a1901904 #6491 Fix range iterators which was creating data copies (clang10 warnings). 2020-09-15 11:04:39 +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
Magne Sjaastad
95fc63fe7c Convert to enum class 2020-04-24 11:40:22 +02:00
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
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
ea793c15f3 Fix ensemble selection if statistics curves are not shown 2019-12-06 08:13:31 +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
Gaute Lindkvist
d7197b7a88 Fix crashes in well log plots 2019-09-26 08:45:04 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
d4fd2d795a Ensemble RFT: make ensemble and observed curves work even if you have a well path with the same name 2019-08-27 10:54:52 +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
Magne Sjaastad
f7600199c7 Fix whitespace and includes 2019-03-12 09:22:48 +01:00
Magne Sjaastad
564ab1d84b #4189 RFT Plot : Separate request based on PLT/RFT plot 2019-03-12 09:22:48 +01:00
Gaute Lindkvist
1e994ac8b8 #4117 Improve time step names for Grid Cross plot categorisation 2019-02-27 11:38:35 +01:00
Jacob Støren
5fe4a057ce #3958 Fix warning and error from refactoring 2019-01-29 08:35:42 +01:00
Jacob Støren
dbb2a564a2 #3958 Refactoring: RigCaseCellResultsData: Remove the final result index based interface 2019-01-28 16:18:28 +01:00
Jacob Støren
3e3d3871ed #3958 Refactoring: Remove scalarResultIndex from RigEclipseResultAddress
and real external use (outside CaseCellResultsData)
Regression tests OK.
2019-01-25 16:19:15 +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
Magne Sjaastad
766fea603e #3512 System : Remove unused functions 2018-10-18 15:14:25 +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
Magne Sjaastad
bbebbf108f #3340 Remove unused variables 2018-09-10 10:27:54 +02:00
Magne Sjaastad
b02bf07568 #2901 Whitespace 2018-05-11 14:20:24 +02:00
Magne Sjaastad
bf2f524d34 #2901 RFT Plot : Initialize default time step selection based on all sources 2018-05-11 14:20:24 +02:00
Bjørn Erik Jensen
6beb217882 #2282 RFT plot. Fix strange behavior 2017-12-21 09:39:26 +01:00
Bjørn Erik Jensen
f84a535511 #2264 PLT plot. Filter wells list based on well geometry and production data 2017-12-14 11:23:04 +01:00
Magne Sjaastad
97743e6d70 #2127 Sim Well Branches : Use helper function instead of local function 2017-12-08 10:24:14 +01:00
Magne Sjaastad
9ef040d891 #2127 Sim Well Branches : Add branch detection and branc index to RtfCurve 2017-12-08 10:24:14 +01:00
Jacob Støren
f0ad02bc37 #2233, #2236 Fix some timestep related issues in RFT/PLT plot
Missing first grid timestep in RFT, and missing previous closest timestep if all available are before observed timesteps.
2017-12-07 16:24:53 +01:00
Magne Sjaastad
88559c8252 #2215 Plt Ploit : Show units in legend 2017-12-05 09:51:06 +01:00
Magne Sjaastad
7b3a9de199 #2215 Plt Plot : Extract unit string text generation 2017-12-05 09:45:45 +01:00
Jacob Støren
da56696a26 #2072 Allign code for x-axis title on well flow plots. Handle combination of surface and reservoir conditions for PLT plot 2017-11-24 08:14:20 +01:00
Jacob Støren
eaefaf4980 #2119, #2072 Handle well flow condition and total flow 2017-11-23 15:11:43 +01:00
Jacob Støren
69a61a2cb8 #2119, #2072 Move private section to the bottom. Add isTotalFlowChannel 2017-11-23 15:11:43 +01:00
Jacob Støren
5731acb319 #2136, #2136 Zoom PLT plot when adding curves (respect autoscale)
Fix "New PLT plot" command using simwell name and not wellpath name
Rename of some methods
Use Phase Split as default
2017-11-17 15:35:07 +01:00
Jacob Støren
30e3622ad4 #2126, #2139 Removed unused methods 2017-11-16 17:02:39 +01:00
Jacob Støren
1808745ea0 #2126, #2139 Rftplot alignment with PLT plot. Move two new static methods to WellPlotTool 2017-11-16 17:02:39 +01:00
Jacob Støren
7ff93e9154 Remove obsolete code in RimWellPlotTools, sorted header according to actual use. 2017-11-16 17:02:39 +01:00
Jacob Støren
f027f7395d #2126, #2139 Several improvements in PLT Plot
Improved timestep and source filtering
Show contribution sources on timestep
Axis unit set from the cases actually used
Warning on inconsistent units
2017-11-15 16:18:36 +01:00
Jacob Støren
42ee25d29e #2126, #2139 Improve timestep filtering in PLT plot 2017-11-15 11:32:25 +01:00
Jacob Støren
a172f0ccfe #2133 Rft cases only returned if they actually contain the well.
Simplified gridCasesForWell code as well.
2017-11-13 15:23:38 +01:00
Jacob Støren
c02538b8bd Rename of RifWellRftAddress to RifDataSourceForRftPlt 2017-11-13 15:23:38 +01:00
Jacob Støren
49c6fd9ac4 #2134 Rewrite the wellLogFilesContainingFlow to fix observed data always available bug 2017-11-12 16:18:48 +01:00
Jacob Støren
7f038e98ab #2130 Rewrite the wellLogFilesContainingPressure to fix observed data ways available bug 2017-11-12 12:38:12 +01:00
Bjørn Erik Jensen
f131f1274a #2101 PLT plot. Support for regex matching when comparing flow channels 2017-11-09 13:11:44 +01:00
Bjørn Erik Jensen
d3d5a89979 #2100 PLT plot. Refactoring. Use RimWellPlotTools methods 2017-11-09 11:18:57 +01:00
Bjørn Erik Jensen
89e5c04aef #2100 RFT plot. Add RftPltCurveDefinition. Use that in RFT plot 2017-11-09 10:04:17 +01:00
Bjørn Erik Jensen
a46c5af1f8 RFT plot. Refactoring. Move several static methods to RimWellPlotTools class 2017-11-09 10:04:17 +01:00