Commit Graph

139 Commits

Author SHA1 Message Date
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
e4672aefa9 #4348 System , cppcheck : Remove duplicate test 2019-04-20 13:46:12 +02:00
Gaute Lindkvist
d69153c013 #3489 Fix legend text for flow diagnostics. 2018-11-22 13:39:07 +01:00
Gaute Lindkvist
0460eb2ac2 #3309 Toolbar buttons for well log plot data source and make sure only visible curves and zonation/attributes affect the data source.
* This also required adding some updateConnectedEditors for updating the selected property views when changing the toolbar.
2018-09-10 10:26:11 +02:00
Gaute Lindkvist
5a2ecf25c2 Rename measuredDepth and TVD methods in well log extractor code 2018-09-04 12:02:23 +02:00
Gaute Lindkvist
12484bf1e9 #3297 Make casing shoe a right-angled triangle and refactor symbols
* Put plot symbol enum inside the symbol class.
* Put line style enums inside the line class.
* Add custom capability.
2018-09-04 12:02:06 +02:00
Gaute Lindkvist
4c84bbb8a3 #3014 and #3022 Well Bore Stability: LAS and element table input and cleaned up extraction code. 2018-09-04 12:01:07 +02:00
Gaute Lindkvist
a2c3c9d03f #3182 Clean up well log plot names 2018-08-08 08:10:57 +02:00
Gaute Lindkvist
06e3ca238a #3154 Implement Common Data Source for Well Log Plots 2018-07-16 08:57:28 +02:00
Gaute Lindkvist
62279d7a43 Add ability to set GeoMech-result address programatically for Well Log Exctraction curves. 2018-07-02 10:29:30 +02:00
Gaute Lindkvist
76f0126e59 Move rkbDiff calculation code to RigWellPath so it can be shared instead of copied. 2018-07-02 10:29:30 +02:00
Gaute Lindkvist
4ddacad385 #2680. First reasonable Fracture Gradient and Shear Failure Gradient estimation.
Caveats:
* Hard coded poissonRatio = 0.25
* Hard coded UCS to 100 bar (fairly close to average value for shale in literature).
2018-06-06 12:03:08 +02:00
Gaute Lindkvist
76c24a5c8d #2985 Make time step index in well log extraction curve auto name start at 1. 2018-05-30 15:37:18 +02:00
Gaute Lindkvist
208313f672 #2944 Stop auto-zooming on load of Well Log Curves. 2018-05-23 11:29:16 +02:00
Magne Sjaastad
1ae30ef11a (clang-tidy) : modernize-use-nullptr 2018-02-18 18:56:43 +01:00
Rebecca Cox
a5dd38969f Merge to fix #2417 2018-01-29 16:05:02 +01:00
Rebecca Cox
9f08f1264a #2417 Extraction Curves: Avoid clamping time step to -1 2018-01-29 16:04:21 +01:00
Jacob Støren
cb6d49a611 #2331 Renamed RimView to Rim3dView 2018-01-09 10:11:28 +01:00
Magne Sjaastad
46bad03c4a #2127 Clamp sim well branch index to valid range 2017-12-08 10:24:14 +01:00
Magne Sjaastad
1841379e64 #2127 Sim Well Branches : Major refactor of sim well branch computation
Remove local branch geometry caches
Add checkbox to control if branch detection should be used
Add RiaSimWllBranchTools and move helper functions from RimProject
2017-12-08 10:24:14 +01:00
Rebecca Cox
32c1fa25d5 Guard for if eclipseCaseData is null 2017-12-01 15:39:54 +01:00
Jacob Støren
503c7bf37c Remove memory leak, Simplified code 2017-11-17 11:09:14 +01:00
Jacob Støren
324d6d72e3 #2112 Avoid updating legend for each curve. Generalize and roll out the solution found for summary curves 2017-11-11 23:15:13 +01:00
Rebecca Cox
c5fd04f3f6 Avoid showing extraction curve name if no fields are set 2017-11-03 15:31:52 +01:00
Rebecca Cox
8853021403 #2073 WLP: Add PL (Pseudo Length) to depth axis if a simulation well is used as extraction curve or rft curve 2017-11-02 12:32:54 +01:00
Rebecca Cox
94ecb3a084 Extraction curve: Use QStringList to build curve name 2017-11-01 14:35:53 +01:00
Rebecca Cox
44be1bfd6b #1996 Rename RigSingleWellResultsData -> RigSimWellData 2017-10-17 09:52:31 +02:00
Rebecca Cox
7d908394db #1996 Renaming. Remove unused includes and rename local variables 2017-10-17 09:52:31 +02:00
Rebecca Cox
d748803159 #1996 Rename RimEclipseWell -> RimSimWellInView 2017-10-17 09:52:31 +02:00
Rebecca Cox
e3666a21fe #1980 PLT Plot: Add argument for isExtractioncurve in setValuesWithTVD 2017-10-12 12:43:55 +02:00
Bjørn Erik Jensen
883b815fac #1842 RFT Plot. Grid data curves 2017-10-05 16:27:39 +02:00
Jacob Støren
0bb47cba88 #1923 Add no-plot-update versions of update methods in curve system. onLoadDataAndUpdate is improved for summary curve but not always called with the "no update" flag set 2017-09-23 08:47:04 +02:00
Magne Sjaastad
88bbea6339 #1755 Remove porosity enum from RifReaderInterface 2017-08-11 14:27:22 +02:00
Bjørnar Grip Fjær
d3f512f783 #1593 Use well path unit system for completions on well path 2017-06-20 10:51:01 +02:00
Magne Sjaastad
cf859e7c16 #1596 Rename from RimDefines to RiaDefines 2017-06-13 15:41:52 +02:00
Magne Sjaastad
dce5f80191 Fix signed/unsighed compare 2017-05-05 14:51:00 +02:00
Bjørnar Grip Fjær
f4aa49b31e #1006 Add legend control for well log file and well log extraction curves 2017-05-01 20:13:13 +02:00
Bjørnar Grip Fjær
b91af15214 #1428 Respect current timestep of well log extraction curves when getting flow diagnostics result address 2017-04-26 16:59:52 +02:00
Jacob Støren
6f07a3698b #1427 Enable the new Well Log Curve command for Simulation Wells 2017-04-25 16:12:55 +02:00
Jacob Støren
1f7c357b67 #1427 Add simulation Well and branch index to well log extraction curve and make the extraction work in those cases. 2017-04-25 16:12:55 +02:00
Jacob Støren
065689bc18 #1399 QA and alignment of property panel of all curves and plots 2017-04-07 14:43:46 +02:00
Jacob Støren
cde71ef07a #1344 AppFwk: Renamed methods in uiTreeOrdering to align with uiOrdering 2017-03-22 15:57:04 +01:00
Magne Sjaastad
df3ef7106d #1340 AppFwk : Improve how defineUiOrdering handles remaining fields 2017-03-21 13:47:53 +01:00
Magne Sjaastad
db5277e950 #1322 Update read only state in defineUiOrdering 2017-03-19 08:02:53 +01:00
Magne Sjaastad
647b4348eb Renamed to eclipseCaseData 2017-03-15 09:10:16 +01:00
Magne Sjaastad
48599f7a94 #1257 More null pointer guards based on CppCheck 2017-02-27 14:01:18 +01:00
Magne Sjaastad
85228ee39c #1255 Removed includes from RimWellPath 2017-02-24 14:31:06 +01:00
Magne Sjaastad
1af3df6c6c #1255 Removed includes from RimWellLogCurve 2017-02-24 14:14:29 +01:00
Jacob Støren
65f36d6a3f #1168, #1171 Added new depth types to RimWellLogPlot, with handling of unit type "none" as well. Made Well Alloc Plots make only "Connection Number" available on its WellLogPlot 2017-02-09 13:31:25 +01:00
Magne Sjaastad
9b42f1ca8c Reverted 4ec7c97a77
Access of RimEclipseCase was done by firstAncestorOf from, and in several cases RimEclipseCase is not parent of RimEclipseCellColors. RimEclipseCase must be explicitly specified.
2017-01-19 10:37:59 +01:00