Commit Graph

93 Commits

Author SHA1 Message Date
Gaute Lindkvist
30769d7f2a Rename caf::PdmUiItem::setUiIcon(QString) to setUiIconFromResourceString 2019-05-06 11:08:59 +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
be77e4e048 CppCheck : Guard null pointer access 2018-12-21 12:31:42 +01:00
Magne Sjaastad
c267f32638 Rename to RiuPlotMainWindow 2018-04-27 06:28:08 +02:00
Rebecca Cox
007602dbf9 #2326 Well allocation plot: Remove formation options regarding well path 2018-01-26 10:28:24 +01:00
Magne Sjaastad
cd340f7713 #2273 Well Accocation Plot : Add flag to control branch detection 2017-12-18 09:34:28 +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
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
Bjørn Erik Jensen
d277a08d29 #2100 PLT plot. Remove branch index field 2017-11-09 13:36:14 +01:00
Rebecca Cox
e0b0fb1c13 #2077 Well Allocation Plot: Move formation logic from track to plot 2017-11-07 10:00:10 +01:00
Rebecca Cox
bf00807aee #2077 Well Allocation Plot: Set default formation name values 2017-11-07 10:00:10 +01:00
Bjørn Erik Jensen
ae20e1af10 Refactoring. RimViewWindow.loadDataAndUpdate -> onLoadDataAndUpdate 2017-10-31 12:49:36 +01:00
Rebecca Cox
7da8e3091b #1996: Rename RimEclipseWellCollection -> RimSimWellInViewCollection 2017-10-17 09:52:31 +02:00
Rebecca Cox
44be1bfd6b #1996 Rename RigSingleWellResultsData -> RigSimWellData 2017-10-17 09:52:31 +02:00
Rebecca Cox
d748803159 #1996 Rename RimEclipseWell -> RimSimWellInView 2017-10-17 09:52:31 +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
Bjørnar Grip Fjær
030ad9cec4 #1126 Add "Accumulated Saturation by Time of Flight"-plot 2017-08-15 16:00:32 +02:00
Magne Sjaastad
89684c243f #1755 Use namespace RiaDefines instead of class 2017-08-11 14:28:42 +02:00
Magne Sjaastad
c4aa625d33 #1755 Move porosity model enum to separate file 2017-08-11 14:27:56 +02:00
Magne Sjaastad
88bbea6339 #1755 Remove porosity enum from RifReaderInterface 2017-08-11 14:27:22 +02:00
Bjørnar Grip Fjær
efb79ac753 #1202 Flow: Handle separate phase solutions 2017-08-10 15:08:30 +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
Jacob Støren
258ec8a728 #1526, #1482 Use kSm3 and BOE as units for Gas in Well Alloc Plots 2017-05-29 22:53:44 +02:00
Jacob Støren
141ce6b54b #1381 Well Flow Plots show phase split (Oil Gas Water)
Flow rates are explained in the plots as Surface/reservoir flow rates. Unit for field is [stb]/day for all fluids
2017-05-08 16:02:42 +02:00
Bjørnar Grip Fjær
cd8ad75db5 #1445 Use correct colors in pie chart for well alloc plots in well flow mode 2017-05-03 13:39:36 +02:00
Jacob Støren
ff1b8c6db8 Fix assert in Show Contibuting Wells due to wrongful use of firstAnchestorOf 2017-04-27 10:22:14 +02:00
Jacob Støren
2745d857d0 #1381 Wip: Well Alloc Plots split by phase without flow diagnostics
This is implemented, but turned off as Ert did not seem to deliver correct phase flow rates. Can be enabled as soon as Ert is improved and updated.
2017-04-20 16:22:33 +02:00
Magne Sjaastad
9caaeac237 #1373 Add feature ShowTotalAllocationData 2017-04-19 13:48:15 +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
Magne Sjaastad
947845e7fd #1404 Added plot object picker, and use from Well Allocation plot 2017-04-07 11:25:55 +02:00
Jacob Støren
26b85dedfc #1402 Fixed Well Alloc plot case switching, and removed dependency on active view 2017-04-06 14:15:12 +02:00
Jacob Støren
aebb1fb7bd Flow Char Plot: Avoid putting cases without flow diag into the Case drop-down 2017-04-06 11:12:51 +02:00
Jacob Støren
3e37eec71c #1382 Removed the FlowDiagnostics solutions from the Gui. Always using the one and only default solution 2017-04-06 11:00:06 +02:00
Jacob Støren
d15bdf04ef #1395 Changed keywords for WellAllocationPlot collection and WellFlowRateCurve. 2017-04-05 13:03:53 +02:00
Jacob Støren
d15b2e5196 #1360 description regarding Well Alloc plots improved.
Displays Well Allocation / Well Flow, and Accumulated /Inflow Rates
2017-03-31 16:53:01 +02:00
Magne Sjaastad
da53183f41 #1360 Well Alloc plots: Description should follow the flow type setting 2017-03-24 13:28:00 +01:00
Magne Sjaastad
40d5150b37 #1358 Added support for "Zoom All" of well alloc plots 2017-03-24 12:10:05 +01:00
Jacob Støren
fd23ec242e Fixed crash when creating well alloc plot 2017-03-23 12:32:02 +01:00
Magne Sjaastad
6842ec877f Removed unused function 2017-03-15 12:06:42 +01:00
Magne Sjaastad
647b4348eb Renamed to eclipseCaseData 2017-03-15 09:10:16 +01:00
Magne Sjaastad
5e79ed594a #1285 Use "Accumulated" and "Inflow Rates" 2017-03-14 09:24:51 +01:00
astridkbjorke
7f511f7004 #1294 - Added command feature for exporting well allocation plot data, and writing empty file 2017-03-10 15:12:00 +01:00
Magne Sjaastad
40a5f8dc02 #1288 Added defaultFlowDiagSolution to RimEclipseResultCase 2017-03-09 23:01:58 +01:00
Jacob Støren
c9dc41d374 #1298 Included wells with "closed" state consistently 2017-03-07 12:27:49 +01:00
Jacob Støren
6c0a866008 #1292 Fixed CppCheck Issues in ProjectDataModel 2017-03-06 11:20:28 +01:00
Jacob Støren
f15d698342 #1174 Made 3D main window pop up, and set wether to show Max Fractrion Injectors or Producers. Set timestep in 3D view to match plot. 2017-03-02 16:10:18 +01:00
Jacob Støren
8f2affe670 #1120 Well Alloc Plot: Simple TVD calculations 2017-03-01 16:09:28 +01:00
Jacob Støren
b336d49fb6 #1171 WIP: Pseudo length active. Needs more verification 2017-02-28 11:47:11 +01:00
Jacob Støren
070d9c893b #1209 Added calculation of none-accumulated flows as preparation for #1171 and #1120. Missing handling of wells with inconsistent flow. 2017-02-17 15:49:14 +01:00