Commit Graph

77 Commits

Author SHA1 Message Date
Kristian Bendiksen
0d0ecf42fa #5213 Use calculate geo mech stresses with biot coefficient. 2020-04-14 06:32:00 +02:00
Gaute Lindkvist
c51aa91c42
#5632 Python method commands (#5649)
* General PdmObjectMethods for scripting.
2020-03-10 14:11:22 +01:00
Gaute Lindkvist
bd8e079e24 #5632 Generate PdmChildField and PdmChildArrayField methods 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
b2f55a3101 Make scriptability a CAF-feature 2020-03-05 08:40:46 +01:00
Gaute Lindkvist
bd1d1caacc #5591 Avoid saw tooth shape on normalized stresses 2020-03-02 15:04:25 +01:00
Gaute Lindkvist
d95f3a349d Move to use a static registry of scriptable classes 2020-02-25 13:57:51 +01:00
Gaute Lindkvist
ae3651ab30 Move Case file name to the base RimCase class and make consistent 2020-02-25 13:57:51 +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
23e6bc2e86 #5372 Implement getting reservoir bounding box from Python 2020-01-24 11:07:38 +01:00
Magne Sjaastad
7d05a8bd0a #5300 Formations : Fix update issues 2020-01-06 14:33:54 +01:00
Jacob Støren
0e14c63f07 Rename crossSection to intersection in general code 2019-11-26 12:45:08 +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
aef0e0a70f More precise view id 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
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
e7f90c0ecf Clang-format 2019-08-26 09:57:50 +02:00
Gaute Lindkvist
2e49670f40 #4578 Add commands for create and clone view 2019-08-23 11:25:00 +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
1f754f2b63 #3807 Initial implementation of GeoMech contour maps. 2019-01-16 14:09:28 +01:00
Bjørn Erik Jensen
295da5658e #3793 View auto name. Move ViewNameConfig to 3dView and replace current name field. InitAfterRead update to be backward compatible 2018-12-14 13:43:25 +01:00
Magne Sjaastad
dc9edccb54 System : Move name to private field 2018-09-24 22:15:34 +02:00
Gaute Lindkvist
e3baaa4133 #3261 Show 3d well log curves even if the grid result isn't dynamic.
* Have to be more precise on whether to attach the results as a static or dynamic property.
* Also rewrite some 3dWellLogPlanePartMgr code to only create one draw surface for each draw plane used for the curves.
2018-09-04 12:01:07 +02:00
Magne Sjaastad
49ef8c6f55 Robustness : Always return valid displayModelOffset 2018-06-29 16:42:23 +02:00
Gaute Lindkvist
a888ab0160 #3073 #3074 Fix crash and perpetual wait cursor when cancelling filtered ODB import 2018-06-21 15:12:23 +02:00
Gaute Lindkvist
280656ca26 #3043 Implement Time step filtering on import for Geomech 2018-06-13 14:10:47 +02:00
Jacob Støren
439b8e22ad #2940 Geomech: Use display offset for FEM parts 2018-05-18 13:39:20 +02:00
Bjørn Erik Jensen
8b9b0b8787 #2488 Formation names. Fix empty formation names dropdown 2018-03-06 14:47:17 +01:00
Rebecca Cox
bed95a105e #2527 Mohr Circle: Use cohersion and friction angle from case 2018-02-26 13:39:26 +01:00
Rebecca Cox
0fece2447a #2470 2D Intersection Views: Hide the item when no intersections are present 2018-02-15 14:37:38 +01:00
Jacob Støren
29ac24f3dd #2426 Add working legends to 2D intersection Views. Refactor to make legend update code work from a separate view with separate legend configs. Make sure legend and results are updated as the main view is updated. Adjust legendconfig->setTitle to use QString 2018-02-02 07:48:27 +01:00
Jacob Støren
d34b3a7c74 #2331 Add 2d Intersection View collection with automatic views. The create command is adjusted into a "Show" command. 2018-01-23 14:37:52 +01:00
Rebecca Cox
7726ed1610 #2366 AppFwk: Use caf::FilePath for odb-file 2018-01-19 12:53:37 +01:00
Jacob Støren
d616548cd0 #2331 Shell of 2dIntersectionView shell added. Fixed access to views on a case including the intersection views also. 2018-01-17 08:10:05 +01:00
Rebecca Cox
58123f4a49 #2369 Elm props: Only delete results from the closed files 2018-01-15 16:09:52 +01:00
Rebecca Cox
4bf8de2787 #2369 Elm props: Clear cell results on deletion 2018-01-15 14:48:05 +01:00
Rebecca Cox
47e154bf53 #2370 Elm props: Update prop filters + intersections on reload 2018-01-15 08:52:00 +01:00
Rebecca Cox
673ad12dee #2370 Elm Props: Reload selected files. Prop filters etc not updated 2018-01-14 09:10:23 +01:00
Rebecca Cox
27901f426c #2369 Elm Props: Close selected files 2018-01-12 16:18:54 +01:00
Rebecca Cox
a97dd087d6 #2349 Elm Props: Use caf::FilePath instead of QString 2018-01-12 14:39:49 +01:00
Rebecca Cox
6aa2d99587 #2349 Elm Props: Only add files which are not already added 2018-01-12 12:43:39 +01:00
Rebecca Cox
118980d568 #2360 Elm Props: read metadata on project load 2018-01-10 12:55:36 +01:00
Rebecca Cox
2cd006882f #2360 Elm Props: Wire up reading of elm prop data into data structures 2018-01-10 10:43:33 +01:00
Jacob Støren
2dbc907934 Merge renaming of RimView into dev 2018-01-09 10:48:09 +01:00
Jacob Støren
cb6d49a611 #2331 Renamed RimView to Rim3dView 2018-01-09 10:11:28 +01:00
Rebecca Cox
57ae195372 #2349 Elm Props: Create list of imported files in Geomech Case prop pan 2018-01-09 09:50:13 +01:00
Rebecca Cox
a2a7155d1c #2213 Formations: On import, set formation on active case 2017-12-01 13:31:12 +01:00
Magne Sjaastad
994198d388 Add characteristicCellSize to RimView 2017-06-19 20:55:58 +02:00
Magne Sjaastad
36b4ad8860 #1440 Add timeStepDates() to RimCase 2017-06-16 17:20:08 +02:00
Magne Sjaastad
759067367b #1440 Add const to time string functions 2017-06-16 16:45:14 +02:00
Magne Sjaastad
84b922ba82 #1476 Include isFile() when checking if a file exists 2017-05-11 09:23:13 +02:00