Commit Graph

94 Commits

Author SHA1 Message Date
Kristian Bendiksen
69a1901904 #6491 Fix range iterators which was creating data copies (clang10 warnings). 2020-09-15 11:04:39 +02:00
jonjenssen
bc82166151
Support for copying GeoMech case settings using new input (#6471)
* Support copy and replace geomech case, to support importing another data file, but keep the view setup

* Make sure surfaces and intersections get updated with the correct separate result, too

* Simplify/refactor code

* Better naming
2020-09-10 12:54:43 +02:00
Kristian Bendiksen
97c1bf5f0d #6387 Move parameters from node in project tree to property editor of geomech case 2020-08-31 14:37:06 +02:00
Gaute Lindkvist
f82b2f73ec #6320 Refactor of PdmScripting
* Make base class abstract
* Implement support for IOHandling for PdmChild and PdmChildArray fields
2020-08-25 08:33:47 +02:00
Kristian Bendiksen
afce21ad1e #6308 Sync water density from Rim to Rig when opening GeoMech case 2020-08-24 18:36:08 +02:00
Kristian Bendiksen
b86720529b #6308 GeoMech: Add shear slip indicator calculation. 2020-08-24 14:39:10 +02:00
Kristian Bendiksen
4049d5ca93 #6301 Make sure mud weight window parameters consistent.
The values are now propagated from rim to rig.
2020-08-24 12:45:04 +02:00
Kristian Bendiksen
5d99526d98 #6213 Add UI for configuring "mud-weight window" calculation. 2020-08-06 15:23:15 +02:00
Kristian Bendiksen
a88191be33 #6169 Element property table: invalidate Geo Mech results on changes in table. 2020-07-08 16:45:44 +02:00
Kristian Bendiksen
56a08c1bcd #6086 Captialize properties in GeoMechCase. 2020-06-24 15:59:48 +02:00
Kristian Bendiksen
f81340b05a #6086 Use mD as unit for permeability. 2020-06-24 15:59:48 +02:00
Kristian Bendiksen
1c86cf4e33 #6086 Add porosity, porosity change and permeability calculation. 2020-06-24 15:59:48 +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
Kristian Bendiksen
6756533904 #5213 Use class enum for RimGeoMechCase::BiotCoefficientType 2020-04-14 06:32:00 +02:00
Kristian Bendiksen
f30d16077b #5213 Update biot type if currently selected biot file is removed. 2020-04-14 06:32:00 +02:00
Kristian Bendiksen
ecf61f9854 #5213 Show file name in biot coefficient from file UI. 2020-04-14 06:32:00 +02:00
Kristian Bendiksen
1fde4a09b5 Add button to import element properties for GeoMechCase. 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
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