Commit Graph

46 Commits

Author SHA1 Message Date
Magne Sjaastad
0c90f67dcc
Change API for PdmObjectHandle and PdmFieldHandle
* Refactor interface to PdmObjectHandle and PdmFieldHandle
Return objects instead of passing in structures as parameters

* Add nodiscard to several functions
* Remove redundant this->
* Rename to ptrReferencedObjectsByType
2023-05-12 21:41:34 +02:00
Kristian Bendiksen
ff209ad7c2
Refactor ensemble import dialog
* #9773 Refactor ensemble import dialog.
* #9773 Add support for ensemble import of StimPlan/Reveal summary data.
* #9773 Add method for finding min and max time steps.
* #9773 Add option for resampling to hour intervals.
* #9773 Add option for resampling to minute intervals.
* #9773 Ensemble statistics: determine sub-sampling period dynamically.
* Use RiaWeightedMeanCalculator for curve resampling.
* Add HOUR and MINUTE to date time app enum.
* #9773 Generate better ensembles for StimPlan summaries.
* #9773 Fix parameters.txt lookup for StimPlan summaries
* Refactor: Improve interface of RicImportSummaryCasesFreature::createSummaryCasesFromFiles

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2023-04-20 10:16:43 +02:00
Magne Sjaastad
b7f8d0e0f1
Increase warning level
* Set warning level to /W3 for MSVC to catch more warnings
* remove several excluded checks for clang
* removed several unused variables
* Hide warnings qwt
* add missing parentheses in logical expressions
* Remove double check on same logical expression
2023-04-17 15:57:39 +02:00
Magne Sjaastad
952e766c2f
Update clang-format.yml (#10068)
* Update to clang-format-15
Removed two custom .clang-format files in subfolders of AppFwk

* Fixes by clang-format
2023-04-13 07:05:53 +02:00
Magne Sjaastad
f8c5cf389f
clang-format: Set column width to 140
* Set column width to 140
* Use c++20
* Remove redundant virtual
2023-02-26 10:48:40 +01:00
Kristian Bendiksen
e7ec977c13 #9413 Perforation: avoid overwriting diameter set when appending perforation
Fixes #9413.
2022-12-02 14:29:54 +01:00
Magne Sjaastad
7591b480a3 #9357 StimPlanModelPlot: Plot visibility and logic updates
- update project tree after plot is generated
- set default text tracker orientation to vertical
- call base class fieldChangedByUi to handle hiding of Stimplan plot
2022-10-13 09:03:56 +02:00
Magne Sjaastad
e7a486c802
Improve curve naming for plot and use in RFT segment plots
* Improve plot naming for depth track plots
* Move template text replace to string tools
* More data available for object template text
* Set plot visible and define default object name template text
2022-10-12 12:41:08 +02:00
Magne Sjaastad
4cd38d7daf
Simplify access to RimMainPlotCollection
* Add current() to RimMainPlotCollection to avoid include of RimProject
* Remove "segment" prefix
* Reload data when RftCase changes
2022-08-19 14:30:25 +02:00
Magne Sjaastad
a1e7b64d92
Simplify RiuPlotMainWindowTools (#9211)
* Janitor: Add and use onObjectAppended()
* Janitor: Simplify API
2022-08-18 12:37:51 +02:00
jonjenssen
7607c19c7a
Make sure toolbar is refreshed when a new plot is added (#9199) 2022-08-17 08:11:30 +02:00
Magne Sjaastad
f102a8b249
Improve annotations to work in both vertical and horizontal plots (#9154)
* Move enums to RiaPlotDefines.h
* Add support for formation names shading in horizontal plots
* Refactor line property code
* modernize code
2022-08-05 13:14:58 +02:00
Magne Sjaastad
ccbda23b96
Merge pull request #9048 from OPM/9047-performance-avoid-update-project
- Avoid update of project when creating new objects
- Added icon resource cache
- Avoid use of descendantsIncludingThisOfType()
2022-06-13 13:54:55 +02:00
Magne Sjaastad
728885a6c8 Janitor : Fix invalid rename introduce by horizontal/vertical depth log plots
Fix deprecated
2022-03-09 08:33:56 +01:00
Magne Sjaastad
bb7f61ea56 Janitor : Remove obsolete override comment 2022-02-23 08:01:28 +01:00
Magne Sjaastad
477ae02382
Logarithmic curve support and renaming (#8546)
* Add test for both positive and negative numbers
* Remove redundant sample count from parameter list
* Propagate useLogarithmicScale
* Renaming
2022-02-14 11:49:37 +01:00
Kristian Bendiksen
63cc63a168 StimPlanModel Plot: Avoid selecting curves to make project tree jump less 2021-11-08 09:51:22 +01:00
Kristian Bendiksen
5ad7bfac77 #7027 Stim Plan Model: add unit to legend text for relevant curves 2021-11-08 09:51:22 +01:00
Magne Sjaastad
3d2409412b
Set default tick marks to min/max for StimPlan model plots (#8221)
Closes #8087
2021-11-01 12:09:25 +00:00
Kristian Bendiksen
6b3ad20587 #8079 StimPlan Model plot: Add Perforation interval in Fm. track 2021-10-15 13:52:45 +02:00
Magne Sjaastad
736f3a45ed Readability improvements 2021-10-07 11:20:12 +02:00
Kristian Bendiksen
9ea7bbfea9 #8086 StimPlan Model Plot: Improve default curve appearance. 2021-10-07 11:20:12 +02:00
Kristian Bendiksen
199ad33dc1 #8082 StimPlan Model Plot: Curve appearance for Facies track 2021-10-07 11:20:12 +02:00
Kristian Bendiksen
f8b99e83df #8080 StimPlan Model Plot: Set 0 range for X axis default for formation track. 2021-10-07 11:20:12 +02:00
Magne Sjaastad
0d4ab8b594
#8048 Everest Import: Group into separate ensembles 2021-09-30 09:08:09 +02:00
Kristian Bendiksen
6440bd5b8d #8052 StimPlan Model Plot: tweak default shown tracks. 2021-09-29 14:57:31 +02:00
Kristian Bendiksen
d1fb845606 #8054 StimPlan Model Plot: Stack curve legends vertically 2021-09-29 14:57:31 +02:00
Kristian Bendiksen
94138e92db #8055 StimPlan Model Plot: Change order to have Porosity before Permeability 2021-09-29 14:57:31 +02:00
Kristian Bendiksen
0d5b7e37ac #8051 StimPlan Model Plot: Use geogrid for Formations. 2021-09-28 08:27:04 +02:00
Kristian Bendiksen
e11c564802 #8031 Ensemble import dialog: rename to 'Group by ensemble' 2021-09-22 13:50:20 +02:00
Kristian Bendiksen
c6f04a6ad6 #7965 Add check box for choosing grouping by iteration. 2021-09-22 08:56:32 +02:00
Kristian Bendiksen
7ca424f6df #7965 Ensemble Fracture Statistics: Group by iteration. 2021-09-22 08:56:32 +02:00
Kristian Bendiksen
117d201703
#7963 Ensemble Fracture Statistics: add progress bar. (#7985)
Also avoid recalculating the statistics for each added file.
2021-09-10 14:54:46 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis 2021-09-01 08:13:16 +02:00
Kristian Bendiksen
9e1ef0e7e0 #7893 StimPlanModelPlot: Select correct case for facies region annotations 2021-08-27 10:47:25 +02:00
Magne Sjaastad
b78cf3a4bb
Use cmake-format on all cmake files 2021-08-26 19:46:38 +02:00
Magne Sjaastad
3a1f2c8a05 Janitor : Encapsulate dynamic cast to selection item type 2021-06-29 19:04:27 +02:00
Magne Sjaastad
087cf41773 Janitor : Avoid includes in header files 2021-05-27 12:52:57 +02:00
Magne Sjaastad
fed4e40c26 #7487 Fishbones : Remove view scaling when adding a new fish bone
If well radius scale is large, set a low default value and show info in message window.
2021-04-23 08:33:59 +02:00
Magne Sjaastad
63690d5196 Major rewrite of MSW export model 2021-04-13 07:54:34 +02:00
Kristian Bendiksen
c3a0b460a5 #7555 Rename RimFractureGroupStatistics to RimEnsembleFractureStatistics 2021-04-09 15:35:05 +02:00
Kristian Bendiksen
836c679e89 #7493 Add "Fracture Group Statistics" pdm object and import method. 2021-04-09 15:35:05 +02:00
Magne Sjaastad
8bab748fa6 Improve MSW export including multi lateral wells
Based on branch https://github.com/OPM/ResInsight/tree/system-msw-refactor

- Move completion settings to property of well path
- Rename to RimFishbones
- Export implicit COMPSEGS for fishbones main bore
- Add valve for each branch
- Increase version number to be able to handle import of legacy project files
2021-02-26 14:59:57 +01:00
Kristian Bendiksen
f0c70a0fd2 #7400 StimPlanModel: Add EQLNUM result to calculator.
Take results from EQLNUM_1 input properties for missing values in
static eclipse case.
2021-02-26 14:03:30 +01:00
Kristian Bendiksen
c6f35cbe1f #7339 StimPlanFracture: Add methods to use two grids for data extraction. 2021-02-19 12:18:30 +01:00
Gaute Lindkvist
81699db187 Rename ApplicationCode to ApplicationLibCode 2021-01-11 15:27:45 +01:00