Commit Graph

10763 Commits

Author SHA1 Message Date
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