Commit Graph

11077 Commits

Author SHA1 Message Date
Magne Sjaastad
6a8c9e230f #6076 3D Extraction Curve : Missing curve for static only case 2020-06-15 16:19:21 +02:00
Magne Sjaastad
423f280a70 #6071 MSW export : Use minimum MD of grid entry point and completions 2020-06-15 16:19:21 +02:00
Magne Sjaastad
8cc167568c #6033 Surface Properties : Add legend and adjust update functions 2020-06-11 15:03:08 +02:00
Magne Sjaastad
c92b3e3024 Remove unused code 2020-06-11 15:03:08 +02:00
Magne Sjaastad
0799a9cf83 #6033 Surface Properties : Add result selection object 2020-06-11 15:03:08 +02:00
Gaute Lindkvist
b2444568be Support area-filled curves 2020-06-11 13:48:36 +02:00
Gaute Lindkvist
2f6199413d Rename Correlation Plots to Ensemble Correlation Plots 2020-06-11 13:48:26 +02:00
Gaute Lindkvist
c744cf6011 Remove single summary cases from Correlation Plot dialogs 2020-06-11 13:48:26 +02:00
Gaute Lindkvist
a7a6268525 Remove Page Preview button from Multi Plot property editor 2020-06-11 13:48:26 +02:00
Gaute Lindkvist
a75dce28b5 Disable draggin Well Log Tracks into Multiplots 2020-06-11 13:48:26 +02:00
Magne Sjaastad
5f64871106 Add missing include 2020-06-11 08:06:07 +02:00
Kristian Bendiksen
a76ed1f2c9
Merge pull request #6056 from OPM/handle-missing-values-fracture-model-plot-6035
Handle missing values fracture model plot 6035
2020-06-10 18:43:21 +02:00
Kristian Bendiksen
e99f1fc98a #6305 Handle interpolation of values just outside the boundaries. 2020-06-10 10:38:07 +02:00
Gaute Lindkvist
7ad7e5d285 Improve look of Multi plots 2020-06-10 09:10:24 +02:00
Gaute Lindkvist
4190c747d3 Improve Multi Plot icons 2020-06-10 09:10:24 +02:00
Gaute Lindkvist
e58b42f537 #6008 Add support for optional Page Preview mode for multi plots 2020-06-10 09:10:24 +02:00
Gaute Lindkvist
c1847adfac Fix Crash in correlation plot with no ensemble 2020-06-10 09:10:24 +02:00
Kristian Bendiksen
34e0ae7537 #6035 Improve error logging when extracting elastic properties. 2020-06-10 07:20:39 +02:00
Kristian Bendiksen
89473aa9bd #6035 Handle missing values in fracture model plot. 2020-06-10 07:20:39 +02:00
Kristian Bendiksen
3085fe22e8 #6035 Add method for interpolating missing values (with extrapolation) 2020-06-10 07:20:39 +02:00
Kristian Bendiksen
56753f688d Use inclusive boundaries for interpolation. 2020-06-10 07:20:39 +02:00
Magne Sjaastad
09e14e173d Bundle Qt : Add libQt5DBus 2020-06-09 15:29:24 +02:00
Magne Sjaastad
d6372b1484 Bundle Qt : Include libqxcb.so 2020-06-09 13:16:08 +02:00
Magne Sjaastad
95cc84d75a #6052 Update component name to "SM", used to be "STM" and "SEM" 2020-06-09 09:27:23 +02:00
Gaute Lindkvist
457cdae367 Add multi selection for Correlation Cross Plot and fix label font sizes for Tornado plots 2020-06-09 08:33:19 +02:00
Magne Sjaastad
c1ca5054e8 Qt : Add Qt5XcbQpa required by xcb platform plugin 2020-06-08 17:20:20 +02:00
Magne Sjaastad
5d1ffec73d Revert "Add xcbqpa"
This reverts commit 744371f186.
2020-06-08 16:23:18 +02:00
Magne Sjaastad
062bbf4d9b Revert "glob for all Qt so files"
This reverts commit 2ed6c5b167.
2020-06-08 16:23:11 +02:00
Magne Sjaastad
2ed6c5b167 glob for all Qt so files 2020-06-08 16:22:38 +02:00
Magne Sjaastad
744371f186 Add xcbqpa 2020-06-08 16:15:11 +02:00
Gaute Lindkvist
d53280a311 Support showing only top N correlation rows/columns 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
46194f90a7 Fix update of plot titles 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
b28d35db14 Add icons for correlation plots 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
0f60bed64a Add 6 point font and enable it. 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
f6e3dfffbd Use the name Correlation Tornado Plot 2020-06-08 12:32:52 +02:00
Gaute Lindkvist
0709056d30 Fix selection highlight in Report plot and make correlation plots deletable 2020-06-08 12:32:52 +02:00
github-actions[bot]
6b5f4dddc9 Fixes by clang-format 2020-06-08 11:09:51 +02:00
Kristian Bendiksen
eb3243f679 #5891 Fix incorrect line endings (CRLF -> LF) 2020-06-05 16:04:23 +02:00
Kristian Bendiksen
28708f13fd
Merge pull request #6037 from OPM/improve-fem-parts-names-6032
Improve fem parts names 6032
2020-06-05 13:01:03 +02:00
Kristian Bendiksen
5ddfd4f9da #6007 Rename Facies Properties to Elastic Properties. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
466827e7d0 #6007 Reload facies properties when project is reopened. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
38ec6e5069 #6007 Minor ui tweaks. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
c349047a91 #6007 Add plot track and interpolation for facies properties. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
2ef822e491 #6007 Add utility for linear interpolation. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
79af3d7379 #6007 Add user interface for facies properties. 2020-06-05 12:36:30 +02:00
Kristian Bendiksen
46059e7a40 #6032 Merge SE.SEM and ST.STM calculation and rename to S*.SM 2020-06-05 11:09:56 +02:00
Kristian Bendiksen
8ddec683b0 #6032 Rename stress anisotropy results.
STA12/STA13/STA23 -> SA12/SA13/SA23
SEA12/STA13/STA23 -> SA12/SA13/SA23
2020-06-05 10:31:29 +02:00
Kristian Bendiksen
0b908370f3 #6032 Rename PORE-COMPRESSIBILITY to COMPRESSIBILITY 2020-06-05 10:25:59 +02:00
Kristian Bendiksen
e9e32bfc3a
Merge pull request #6023 from OPM/error-as-warnings-flag-6018
Error as warnings flag 6018
2020-06-04 13:40:52 +02:00
Magne Sjaastad
ed86954a1a Remove file global defines 2020-06-04 11:33:09 +02:00
Magne Sjaastad
b7fb6c4e5a Recreate object when reading file 2020-06-04 11:33:09 +02:00
Stein Inge Dale
10e4c60073 Code review, brush-up, and extended surface unit tests 2020-06-04 11:33:09 +02:00
Stein Inge Dale
e5f3a3b67d Surface Import : import of properties from TS files #5995 2020-06-04 11:33:09 +02:00
Gaute Lindkvist
66037da9d5 Fix build errors without GSL enabled 2020-06-04 10:45:28 +02:00
github-actions[bot]
674b764cb6 Fixes by misspell-fixer 2020-06-04 08:24:58 +02:00
Kristian Bendiksen
cfb54a428c #6018 Fix std::string/QByteArray ambiguous overload for assignment operator.
Broke build on Ubuntu 20.04, gcc 9.3.
2020-06-03 22:20:38 +02:00
Kristian Bendiksen
7fdb920b3b #6018 Fix "catch polymorphic type by value" error on Ubuntu 20.04. 2020-06-03 22:06:29 +02:00
Kristian Bendiksen
988dea1629 #6018 Add RESINSIGHT_TREAT_WARNINGS_AS_ERRORS build flag.
The flag controls "-Werror" on linux. Default is off.
2020-06-03 22:06:28 +02:00
Gaute Lindkvist
5f12555bbd Unit tests for correlation calculation 2020-06-03 20:37:14 +02:00
Gaute Lindkvist
111b758494 Unit tests for correlation calculation 2020-06-03 20:37:14 +02:00
Magne Sjaastad
88ddeddca6
Add support for two Stimplan file formats (#6015)
#5990 XML import : Support two Stimplan file formats
2020-06-03 18:46:25 +02:00
Gaute Lindkvist
41ee1e8e61 Provide default implementation for the ~RifHdf5ReaderInterface() 2020-06-03 14:53:10 +02:00
Gaute Lindkvist
eddafa76f0 Remove redundant update code 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
192d8d1b21 Fix update of show plot title for Well Log Plots 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
2237be3898 Fix font size for summary plot axes 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
98124a177e Change header in Correlation Report Plot settings group 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
2c1ee33d54 Enable setting preferred size in caf::IconProvider 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
9130030d7b #5882 Add color gradient as icon for legend palettes. 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
90596be3ee Improve legend for Correlation Plots 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
84177d3a00 Add legend support to Report Plot 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
56addaf55d Support hiding rows and columns with no correlations 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
e6c2b693ef Improvements to Correlation plots 2020-06-03 14:00:04 +02:00
Gaute Lindkvist
2fe4372dc2 First round of caf::FontTools 2020-06-03 14:00:04 +02:00
Magne Sjaastad
0e70cf809c Fix typo 2020-06-03 12:28:44 +02:00
Kristian Bendiksen
d443f97a1a #5989 Add parser for facies properties csv file 2020-06-02 15:26:37 +02:00
Kristian Bendiksen
ee20ec4107 #6004 Pore Compressibility: incorrect sign first term in computation. 2020-06-02 15:19:37 +02:00
Magne Sjaastad
bb4bdc048d Make sure relevant changes in patch branch are merged to dev 2020-05-27 09:12:47 +02:00
Magne Sjaastad
b8d9dedad2 Reintroduce deleted line
An earlier commit removed this line
2020-05-26 14:38:52 +02:00
Gaute Lindkvist
920ebd081d Wbs: Make sure last LAS-value is used if within a threshold 2020-05-26 13:18:46 +02:00
Magne Sjaastad
08f3789c01 #5899 Fracture: Make sure the angle is in 0..90 interval 2020-05-26 07:45:23 +02:00
Magne Sjaastad
c548c4a12b #5899 Fracture: Use robust way to find diff between two angles 2020-05-26 07:45:23 +02:00
Magne Sjaastad
b86acaeca4 #5980 Grid Group Statistics : Swap names for P10 and P90 and skip underscore 2020-05-26 07:45:23 +02:00
Kristian Bendiksen
3e882a65df #5979 Fix color legend crash when opening regression test project
Projects containing Rim2dIntersectionViews copy legend config from the view using
PdmXmlObjectHandle::writeObjectToXmlString/readObjectFromXmlString. The
resulting xml contains references to RimColorLegendCollection which are unresolved,
and this would lead to a crash (m_colorLegend == nullptr). Fixed by resolving
the references explicitly after copy the config.
2020-05-26 07:44:57 +02:00
Gaute Lindkvist
0b453b9d15 Remove WBS parameter track color coding 2020-05-25 15:06:54 +02:00
Magne Sjaastad
9b6b446974 Revert previous commit 2020-05-24 18:42:59 +02:00
Magne Sjaastad
e0cbfb0d29 Avoid conversion to int 2020-05-24 18:37:24 +02:00
Kristian Bendiksen
f9598cfe7c #5960 Roff import: pick colors from best matching items in Rock Type color legend. 2020-05-24 18:31:07 +02:00
Kristian Bendiksen
8a0f911856 #5960 Add utility for computing "edit distance" between two strings. 2020-05-24 18:31:00 +02:00
Kristian Bendiksen
30ee125749 Improve method name to reflect implementation.
RimColorLegendCollection::allColorLegeds is better than
RimColorLegendCollection::customColorLegends since method returns both kinds
of color legends.
2020-05-24 17:26:51 +02:00
Kristian Bendiksen
0b9577df71 #5874 Remove direct accessor to obsoleted RimRegularLegendConfig::colorRange field. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
f578f1f954 #5959 Add rock type color legend with colors from Equinor GeoStandard.
Colors extracted from "Equinor GeoStandard - May 2020" document.
2020-05-24 17:26:51 +02:00
Kristian Bendiksen
0ed99c09fa Avoid saving standard color legends. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
d768ec88a9 #5874 Fix order of colors in legend. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
044ab55eea #5874 Use color legend in WellLogTrack result coloring. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
5295dbe299 #5874 Allow user defined color legends in result objects. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
8da32eddc1 Remove unused RiaColorTables includes. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
96f9a8813f Remove unused file. 2020-05-24 17:26:51 +02:00
Kristian Bendiksen
403a5502da Remove unused RimScaleLegendConfig. 2020-05-24 17:26:51 +02:00
Magne Sjaastad
4c721c1b20 #5885 3D viewer: Clear grid cell selection when clicking outside visual objects 2020-05-22 15:01:56 +02:00
Magne Sjaastad
dd03b09d26 #5929 Separate Fault Result: Missing fault coloring when Cell Result is defined "None" 2020-05-22 15:01:56 +02:00
Magne Sjaastad
f910ac5b0f #5808 Summary Plot : Exclude *WCT vectors as cumulative vectors 2020-05-22 15:01:56 +02:00
Magne Sjaastad
4a8aa6ced1 #5917 Export Completion: Avoid overwrite of export completion well name 2020-05-22 15:01:56 +02:00
Magne Sjaastad
ff90ae5704 #5917 Export Completion: Use export name in comments 2020-05-22 15:01:56 +02:00
Magne Sjaastad
9c76935122 #5898 Postfix fault direction instead of prefix 2020-05-22 15:01:56 +02:00
Magne Sjaastad
b9dac8da38 #5830 Fix auto-generated target at sea level 2020-05-22 15:01:56 +02:00
Gaute Lindkvist
ab9ba69391 #5905 Fix wrong percentile calculation
* We sent in percent values (0-100) instead of the fractional values (0 - 1) that RigHistogramCalculator::calculatePercentile required.
* It has been like this for years AFAICT.
2020-05-22 15:01:56 +02:00
Gaute Lindkvist
c238a0ac30 #5945 Make the new default ensemble curve set feature take the preferences into account 2020-05-22 15:01:56 +02:00
Kristian Bendiksen
c366e85682 Refactor delete operations for pdm objects. 2020-05-22 07:02:53 +02:00
Magne Sjaastad
7e7b9e6cfc Fix compare between signed/unsigned 2020-05-21 10:08:15 +02:00
Magne Sjaastad
51fd5e39b0 NNC: Compute data on demand 2020-05-21 08:09:07 +02:00
Magne Sjaastad
734e992384 NNC info : Count NNCs with no overlap area, and display first 20 2020-05-21 08:09:07 +02:00
Magne Sjaastad
04311c64c6 Performance : Move construction of AABB tree out of parallel loop
Crash seen for regression test TestCase_Surfaces
2020-05-21 07:42:22 +02:00
Kristian Bendiksen
b20747efbe
Merge pull request #5966 from OPM/fix-gcc8-warning-5964
#5964 Fix "type qualifiers ignored on cast result type" warning on gc…
2020-05-20 20:56:20 +02:00
Kristian Bendiksen
c03f6e43ca #5964 Fix "type qualifiers ignored on cast result type" warning on gcc 8. 2020-05-20 18:58:34 +02:00
Magne Sjaastad
08b9e40f6c Always try to import well path from well path cache 2020-05-20 18:44:43 +02:00
Kristian Bendiksen
d5a950d67c Treat warnings as errors on new gcc versions 2020-05-20 14:23:23 +02:00
Kristian Bendiksen
9c8fe15d28 Use unsigned int for bitfiddling (fixes unused variables warnings on gcc). 2020-05-20 14:23:22 +02:00
Kristian Bendiksen
30cec3e280 Fix comparison between signed and unsigned integer expressions. 2020-05-20 14:23:22 +02:00
Kristian Bendiksen
2f4ee076de Remove "set-but-unused" variables (generates warnings on gcc 7). 2020-05-20 13:45:59 +02:00
Kristian Bendiksen
59621e38f7 Remove undefined behavior (sequence point ordering). 2020-05-20 13:45:10 +02:00
Kristian Bendiksen
03b1a31ff3 Enable all warnings ("-Wall") for ApplicationCode directory on linux.
Allowing initializiation reordering and unused parameters for now since there
are a lots of them, and the code is harmless.
2020-05-20 13:45:10 +02:00
Kristian Bendiksen
e80b3c2ff2 #5927 Add pore compressibility calculation. 2020-05-20 08:53:15 +02:00
Gaute Lindkvist
e966184d99 Reorganise ijk calculation based on suggestion from bska 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
91eb956092 Remove superfluous calculation and rename ijkFromCellIndexNonGuarded 2020-05-19 16:14:08 +02:00
Gaute Lindkvist
19c541888f #5950 Wbs: Fix wrong behaviour for LAS-file PP_INP 2020-05-19 13:42:25 +02:00
Gaute Lindkvist
e27a673ab6 Partial revert of 3a526ab5 to remove parallelization on one loop.
* Turns out this loop is hard to guarantee the same result.
2020-05-19 11:42:20 +02:00
Magne Sjaastad
91dd3e6d3e NNC : Fix pytest 2020-05-18 15:22:08 +02:00
Gaute Lindkvist
c7a6a22599 Fix PNG IPCC profile on all icons to avoid Qt-warning in newer Qt 2020-05-18 12:54:53 +02:00
Magne Sjaastad
401dd2246c NNC : Fix visual artifacts for some models 2020-05-18 12:07:29 +02:00
Gaute Lindkvist
3a526ab555 Parallelize another loop in fault calculation 2020-05-15 14:48:08 +02:00
Gaute Lindkvist
c5661f3fce Parallelize transferGridCellData 2020-05-15 14:48:08 +02:00
Gaute Lindkvist
b575a1bbbe Fix issue in merge 2020-05-15 14:48:08 +02:00
Gaute Lindkvist
c7851f0001 Refactored some code to make it possible to parallelise 2020-05-15 14:48:08 +02:00
Gaute Lindkvist
de824f2543 Minor improvements to fault calculations 2020-05-15 14:48:08 +02:00
Gaute Lindkvist
99aa65c611 Other improvements to bounding box calculation 2020-05-15 14:47:04 +02:00
Gaute Lindkvist
5a7f7888ca #5936 Fix use of LAS for PP Non-Reservoir 2020-05-15 13:51:02 +02:00
Magne Sjaastad
ebde4495fb Remove obsolete parameters 2020-05-15 12:55:25 +02:00
Magne Sjaastad
0c13f132fa #5932 NNC data : Compute geometry when NNC data is asked for 2020-05-15 12:55:25 +02:00
Gaute Lindkvist
ab0b05b31c Improve NNC memory use 2020-05-15 12:55:25 +02:00
Gaute Lindkvist
97dd891d38 Reduce NNC memory use 2020-05-15 12:55:25 +02:00
Kristian Bendiksen
34dcd3c737
Merge pull request #5912 from OPM/calculate-stress-anisotropy-5910
#5910 Add calculator for stress anisotropy.
2020-05-14 13:17:48 +02:00
Stein Inge Dale
d39bcb31ab Various operations on color legends 2020-05-14 12:08:19 +02:00
Kristian Bendiksen
20ca3354b9
Stimplan preprocessor refact (#5895)
* #5633 Add Fracture Model data object.
* #5633 Add visualization for Fracture Model.
* Use thickness direction well path.
* #5834 WIP Fracture Model: Extract facies names along thickness direction vector
* Update to class enums.
* Remove RimFractureModel dip, tilt and azimuth (no longer used).
* #5824: Fix fracture model direction relative to formation dip
* Workaround problem in generated python code which breaks tests on linux. See #5862.
* Update name of thickness direction well path.
* #5834 Add import command for facies roff file.
* #5834 Show color legend data in facies track.
Also make it possible to change the data source for the curve data in plot.
* Fracture Model: replace "Thickness Type" with "Extraction Type".
* Use shorter curve legends in fracture model plot.
* Use class enum for RimFractureModel::ExtractionType.
* Use RimProject::current() instead of RiaApplication::instance()->project().
* Simplify RimFractureModel by not implementing Rim3dPropertiesInterface.
* Use scoped enums in RiaPlotAnnotationTool.
* Remove unused RimFractureModelPlot fields.
* Hide fracture model plots field, and add accessor methods.
2020-05-14 06:39:55 +02:00
Kristian Bendiksen
f628730618 #5910 Add calculator for stress anisotropy. 2020-05-14 06:19:26 +02:00
Magne Sjaastad
73ac3e5db1 #5925 Simplify computation of fault data 2020-05-13 17:57:21 +02:00
Magne Sjaastad
928acfdf9b Allan : Do not test for cached data in pytest 2020-05-13 17:56:32 +02:00
Magne Sjaastad
c932b40a56 #5925 NNC computations : Add flag in preferences to include inactive cells 2020-05-13 14:37:02 +02:00
Magne Sjaastad
0c32538e01 #5914 Import faults : Avoid computation of faults if turned off in preferences 2020-05-13 14:37:02 +02:00
Magne Sjaastad
2bc9cb37c0 #5913 Import NNC : Do not compute NNCs if importNNCs is disabled in preferences 2020-05-13 14:37:02 +02:00
Magne Sjaastad
87f1535888 #5920 Allan Diagrams : Avoid computation until required 2020-05-13 14:37:02 +02:00
Gaute Lindkvist
24d58e3a98 Fix crash in WBS curves when rkb diff is 0 2020-05-13 13:03:28 +02:00
Gaute Lindkvist
e0fd47ef6e
#5888 only apply LAS-PP-values within reservoir 2020-05-13 13:01:21 +02:00
Gaute Lindkvist
9446150740
#5863 Always use grid for PP0 2020-05-13 13:00:43 +02:00
Gaute Lindkvist
fa9afc7762 Improve NNC calculation load balancing 2020-05-13 12:19:03 +02:00
Gaute Lindkvist
150f0f09e3 Use guided openmp for loop 2020-05-13 12:19:03 +02:00
Gaute Lindkvist
f199297f12 #5915 improve performance of NNC computation and limit to active cells 2020-05-13 12:19:03 +02:00
Magne Sjaastad
3d2ac4b573 Fix misspelled Allan diagram (#5906)
Closes #5816
2020-05-12 15:14:42 +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
7972ff8c02 #5409 Remove deprecated QFontMetrics::width() call.
Replaced with `QFontMetrics( font ).boundingRect( QString ).width() as suggested
in Qt5 docs. The replacement should work for all Qt5 versions as it was
available in Qt4 too.
2020-05-12 12:01:44 +02:00
Kristian Bendiksen
d86de5e8ff #5409 Remove deprecated QPlainTextEdit::setTabStopWidth call on Qt >= 5.10
Need to still use it for 5.9 and older.
2020-05-12 12:01:44 +02:00
Kristian Bendiksen
8211727b79 Remove ifdefs for Qt4 support. 2020-05-12 12:01:44 +02:00
Kristian Bendiksen
2bc677b8c8 #5785 Add timelapse calculator one time. 2020-05-12 12:01:44 +02:00
Magne Sjaastad
81571908af System : Use TARGET_FILE_DIR instead of CONFIGURATION 2020-05-11 08:03:42 +02:00
Magne Sjaastad
e3b350a982 Fix changes in icon color API 2020-05-10 09:43:39 +02:00
Gaute Lindkvist
2e79cf614f
Refactor and rename QIconProvider -> IconProvider (#5893)
* Refactor and rename QIconProvider -> IconProvider
* Generate icons on demand as unique_ptrs
2020-05-09 11:25:11 +02:00
Kristian Bendiksen
b84e868564
Split fem part results collection 5785 (#5871)
* #5785 Extract RigFemClosestResultIndexCalculator class to separate file.

* #5785 Move method implementation of RigFemClosestResutIndexCalculator to cpp file.

Also improve const correctness.

* #5785 Extract method for calculating normal SE, ie. SE:11/22/33.

* #5785 Extract method for calculating shear SE, ie. SE:12/13/23.

* #5785 Create a list of result calculators.

* #5785 Extract method for calculating timelapse, normalized, and gamma results.

* #5785 Extract method for calculating normal ST, ie. ST:11/22/33.

* #5785 Extract method for calculating shear ST, ie. ST:12/13/23.

* #5785 Extract method for calculating surface angles and aligned stress.

* #5785 Extract method for calculating principal strain and stress.

* #5785 Extract method for calculating FOS, SFI and DSM for SE.

* #5785 Extract method for calculating NE.EV, NE.ED, ST.Q and ST.STM.

* #5785 Extract method for calculating compaction.

* #5785 Extract method for calculating stress gradients.

* #5785 Extract method for calculating SE.SEM.

* #5785 Extract method for calculating NE.

* #5785 Extract method for calculating formation indices.

* #5785 Extract method for calculating nodal graidents, bar conversions, and EnIpPorBar.

* #5785 Use std::unique_ptr to calculators.

* Use std::vector<unique_ptr>

Co-authored-by: Magne Sjaastad <magne.sjaastad@ceetronsolutions.com>
2020-05-09 08:57:07 +02:00
Kristian Bendiksen
368de8491e Add color icon to RimColorLegendItem in project tree. 2020-05-08 11:19:31 +02:00
Kristian Bendiksen
db384ea754 Add getters for RimColorLegend++. 2020-05-08 11:19:31 +02:00
Gaute Lindkvist
0bf3ed91f0 Remove legends from Correlation plots 2020-05-07 08:30:39 +02:00
Gaute Lindkvist
3240c24f2c Working clicking on Tornado Plots 2020-05-07 08:30:39 +02:00
Gaute Lindkvist
70685b73b4 Better headers and sorting 2020-05-07 08:30:39 +02:00
Gaute Lindkvist
27600fa57a Working click matrix to change correlation plots 2020-05-07 08:30:39 +02:00
Gaute Lindkvist
8be36be06b Correlation Report Plot 2020-05-07 08:30:39 +02:00
Magne Sjaastad
1557d695b8 #5883 Icons : Use framework code to apply an overlay pixmap 2020-05-06 19:02:50 +02:00
Kristian Bendiksen
20eff6f5d3 #5875 Remove duplicated code: import formation names using RifColorLegendData. 2020-05-06 11:04:33 +02:00
Stein Inge Dale
6cb86d4792 #5832 Add color legend data with import from LYR file. 2020-05-06 11:04:33 +02:00
Magne Sjaastad
3e5c77e79e Use RiaLogging instead of QMessageBox 2020-05-05 21:57:45 +02:00
Magne Sjaastad
7f400f806d Guard nullpointer access 2020-05-05 21:57:45 +02:00
Gaute Lindkvist
d28a426062 #5867 Fix missing curve legends in plots 2020-05-05 16:05:05 +02:00
Magne Sjaastad
abd4b7c769 Performance : Use map to speed up search 2020-05-05 06:55:03 +02:00
Magne Sjaastad
bb40453ae4 Performance : Return a static QString for string used many times 2020-05-05 06:55:03 +02:00
Magne Sjaastad
b7aeafc4d5 #5865 Fault and NNC performance : Build NNC geometry when needed 2020-05-04 16:09:29 +02:00
Magne Sjaastad
a615cc78dc #5856 Well Disks : Improve logic to guard when geometry is created 2020-05-04 13:27:09 +02:00
Magne Sjaastad
3ef41345d0 Add missing include 2020-05-04 07:30:49 +02:00
Magne Sjaastad
0eb94ef574 #5379 Surface : Fix slicing in IJ direction 2020-05-04 06:32:37 +02:00
Magne Sjaastad
5d31912971 #5379 Surface : Update name from slice settings 2020-05-04 06:32:37 +02:00
Magne Sjaastad
5fcb42210c #5379 Surface : Add alias 2020-05-04 06:32:37 +02:00
Magne Sjaastad
c69d857c8f #5854 Surface : Add export of tsurf 2020-05-04 06:32:37 +02:00
Magne Sjaastad
e0d426df12 #5379 Surface : Add depth offset to base surface class 2020-05-04 06:32:37 +02:00
Magne Sjaastad
7bfe631118 #5379 Surface : Offset coords by a delta to avoid numerical instability
When creating a surface from top layer coords, we end up with a lot of geometrical operations in the same geometrical plane. Adjust the location of the surface coords to avoid these issues.
2020-05-04 06:32:37 +02:00
Magne Sjaastad
77734b8b57 #5379 Surface : Add grid case surface 2020-05-04 06:32:37 +02:00
Magne Sjaastad
4d114e36f8 #5379 Surface : Move enum to RiaDefines 2020-05-04 06:32:37 +02:00
Kristian Bendiksen
e66f937c29 Fix assignment instead of comparison bug in RimPlotDataFilterItem::fieldChangedByUi 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
4dfa975836 Fix warnings about "statement without effect" on gcc 7 on linux. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
92f4e6278c Fix signed/unsigned comparison. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
b93b92cae2 Add parentheses in unclear expressions when suggested by gcc 7.3.1 on linux 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
656010ffb9 Fix incorrect comparison for majorTickMarkCount in RimMultiPlot::fieldChangedByUi. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
b5fe00ec09 Move variable to silence warnings on linux in release mode 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
2791e4954e Move variable to silence warnings on linux in release mode. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
773ec05f7d Remove unused variable. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
ad0c02a538 Remove disabling of warning 4503 on msvc.
The warning is no longer issued in msvc 2017.
2020-04-30 12:46:50 +02:00
Kristian Bendiksen
874cdb15c4 Fix search in RiaFontCache::fontSizeEnumFromPointSize. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
d1da920394 Avoid slashes in comments to not trigger multi-line comment warnings on linux. 2020-04-30 12:46:50 +02:00
Kristian Bendiksen
3f4778509d #5829 Add reader for ROFF files to extract category names and values from file 2020-04-30 12:41:21 +02:00
Magne Sjaastad
58d8b0b753 #5852 3D view: Avoid more work than required 2020-04-30 12:29:58 +02:00
Magne Sjaastad
1630c5651e #5852 3D view: Avoid creation of viz objects in clearGeometryCache
m_geometries[geomType].clearAndSetReservoir( geomType, rimEclipseCase, m_reservoirView ) was causing relative heavy performance issues. This is related to several structures being allocated and initialized in constructor in some visusualization object. Preferred workflow: Mark the geometry for recreation using the flag, and do the actual work when visualization is to be created.
2020-04-30 12:29:58 +02:00
Magne Sjaastad
fbd8fffcca #5856 Well Disks: Convert to time_t once instead of N times 2020-04-30 12:29:58 +02:00
Magne Sjaastad
accfa47539 #5856 Well Disks : Guard recompute and limit evaluation to visible wells 2020-04-30 12:29:58 +02:00
Magne Sjaastad
bc400af345 #5837 Well Log Curves : Show icons in tree view 2020-04-28 07:31:00 +02:00
Magne Sjaastad
8c64dbeae9 #5837 Well Measurements : Allow paste of curves 2020-04-28 07:31:00 +02:00
Magne Sjaastad
eb46552e60 #5837 Well Measurements : Create new well measurement curves 2020-04-28 07:31:00 +02:00
Magne Sjaastad
34803b76be #5837 Well Measurements : Allow modification of kind 2020-04-28 07:31:00 +02:00
Magne Sjaastad
264f77f9c9 #5847 Eclipse Ascii Case: Import of properties with comment in header fails 2020-04-27 09:42:15 +02:00
Gaute Lindkvist
2847c46d64 Fix regression crash due to legend issue 2020-04-24 15:12:43 +02:00
Magne Sjaastad
42964c0da4 Add static access function for RiaPreferences 2020-04-24 12:25:15 +02:00
Magne Sjaastad
616af75df3 #4035 System : Remove term souring from cmake and UI
Use general term HDF5 when required
2020-04-24 11:40:22 +02:00
Magne Sjaastad
72fefb4db5 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
95fc63fe7c Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
e85c36b4a4 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
f89dcf4e52 Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
83914006fd Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
3f88fe197a Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
8aa36ee31e Convert to enum class 2020-04-24 11:40:22 +02:00
Magne Sjaastad
4b372b438e System : Remove support for Qt4 2020-04-24 11:40:22 +02:00
Gaute Lindkvist
0bd477485a Merge branch 'dev' into feature-analysis-plots-initial 2020-04-23 08:39:27 +02:00
Magne Sjaastad
e8068d7b60
Merge pull request #5822 from OPM/tensor-plot-for-fluxes-5583
Tensor plot for fluxes 5583
2020-04-22 22:10:27 +02:00
Magne Sjaastad
12a4419a38 System : Update to match newer RHEL and CentOS versions 2020-04-22 20:19:03 +02:00
Gaute Lindkvist
9fcfe4fa84 Merge branch 'dev' into feature-analysis-plots-initial 2020-04-22 16:17:09 +02:00
Gaute Lindkvist
a85367512a Remove superfluous line 2020-04-22 16:09:46 +02:00
Gaute Lindkvist
1b2c2b9499 Fix Linux build issue with lambdas 2020-04-22 16:02:41 +02:00
Gaute Lindkvist
f0ecf57a2b Make decent defaults for correlation plots 2020-04-22 14:36:27 +02:00
Gaute Lindkvist
3133c6fc19 Add RimProject::current() static method 2020-04-22 14:35:25 +02:00
Gaute Lindkvist
87b631a23e Make GNU GSL optional 2020-04-22 10:52:02 +02:00
Kristian Bendiksen
185046194c Add RimDepthTrackPlot base class for RimWellLogPlot. 2020-04-22 08:57:25 +02:00
Kristian Bendiksen
afc824dd53 Fix CRLF line endings. 2020-04-22 08:57:25 +02:00
Magne Sjaastad
d5ea72fd8b
Merge pull request #5764 from OPM/biot-5213
Closes #5213
2020-04-21 15:50:24 +02:00
Gaute Lindkvist
78015fa19d Correlation Matrix Plot 2020-04-21 14:00:22 +02:00
Gaute Lindkvist
85851d0794 Moved Box shape creator to QwtPlotTools for use in correlation matrix 2020-04-20 09:35:59 +02:00
Gaute Lindkvist
48c4d81505 Add ABS tag to Correlation plot x-axis when using absolute values 2020-04-20 09:35:35 +02:00
Magne Sjaastad
83d9512901 Adm : Add keywords 2020-04-20 08:31:11 +02:00
Magne Sjaastad
2461716909 Python setup file : Add missing comma 2020-04-19 21:37:09 +02:00
Magne Sjaastad
e3143eb949 Grid cell time history curves : Guard null pointer access 2020-04-18 09:20:04 +02:00
Gaute Lindkvist
7e3fc1c886 Parameter result cross plot 2020-04-17 19:24:12 +02:00
Gaute Lindkvist
494ce6306f Fix axis range for abs-value Correlation Plots 2020-04-17 14:16:34 +02:00
Magne Sjaastad
3c05fff768 Output field keyword alias names 2020-04-17 13:55:49 +02:00
Gaute Lindkvist
60419f0985 Working Correlation Plot prototype 2020-04-17 13:54:21 +02:00
Magne Sjaastad
82ed7bbc81 #5792 Python : Do not show file selection dialog in console mode 2020-04-17 13:54:20 +02:00
Magne Sjaastad
bf044d52b3 Python : Config and description of autopep8 2020-04-17 13:54:20 +02:00
Magne Sjaastad
8662ff90d2 #5792 Python : Add import_summary_case and find summary case from ID
Add example of use and updated documentation
2020-04-17 13:54:19 +02:00
Magne Sjaastad
1a91767219 #5792 Python : Preparations
Fix wrong text in date time class
Remove message box, as the function is also intended to be used in a console setting
2020-04-17 13:54:19 +02:00