Commit Graph

143 Commits

Author SHA1 Message Date
Magne Sjaastad
42b0c1c357 Incomplete import of Restart data from 6X (#5767)
* #5763 Incomplete import of Restart data from 6X

6X simulator can report multiple keywords per time step. These additional keywords do not contain any data possible to import into ResInsight, but must be used when accessing the correct result keyword based on index in file.
2020-04-17 13:54:06 +02:00
Magne Sjaastad
d26c736042 Fix out of bounds access
Triggered by calculations when data is missing for some time steps
2020-04-17 13:54:06 +02: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
Magne Sjaastad
cb30841d1e #5465 Allen : Guard access to data if no NNC data has been loaded 2020-02-04 16:07:06 +01:00
Magne Sjaastad
b884fe8382 #5406 NNC results : Update computation for mult value
Based on discussion with @hhgs
2020-01-30 12:44:05 +01:00
Magne Sjaastad
0abd839669 #5273 Allen Diagrams: Use const access to Nnc connections 2020-01-17 08:41:16 +01:00
Magne Sjaastad
6761a71798 #5273 Allen Diagrams: Move result names to RiaNccDefines 2020-01-17 08:41:15 +01:00
Magne Sjaastad
79641f090f #5300 Formations : Make sure views are updated correctly 2020-01-07 08:47:02 +01:00
Jacob Støren
84dab9eccb #5283 Fixed error in Allen diagram for NNC's with same formation on both sides. 2020-01-03 14:25:34 +01:00
Magne Sjaastad
afc9ace33e #5279 Formations : Add const and simplify access 2020-01-03 09:59:38 +01:00
Jacob Støren
d074964901 #5274 Add text to Result Info panel for Allen diagram data
Rename result variables to prepare for more Allen results
Rename methods to clarify meaning
2020-01-02 12:46:38 +01:00
Jacob Støren
1d97f376fb #5200 New allen result type, and working full and binary allen diagrams for formations 2019-12-20 13:55:56 +01:00
Jacob Støren
12e49656df #5200 Allen results as separate results type only visible for faults 2019-12-20 13:55:56 +01:00
Magne Sjaastad
831b899091 #5200 Prototype of use of formation names for allen diagram 2019-12-20 13:55:43 +01:00
Magne Sjaastad
57cab2457e clang-format : Set PenaltyBreakAssignment to 130 2019-11-04 15:08:09 +01:00
Magne Sjaastad
7c8cf60dba clang-format : Set AllowAllParametersOfDeclarationOnNextLine to false 2019-11-04 14:35:41 +01:00
Magne Sjaastad
96a26662fc Janitor : Apply clang-format fixes on codebase in ApplicationCode 2019-11-04 11:34:34 +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
Magne Sjaastad
482d437505 #4835 Python Cell Results : Not possible to write data if no dynamic data is present 2019-10-08 10:39:22 +02:00
Magne Sjaastad
8a11c565f3 #4827 Completion Data : Support Eclipse input text files as data source 2019-10-04 15:55:31 +02:00
Magne Sjaastad
fe9e567825 #4683 clang-format on all files in ApplicationCode 2019-09-06 10:57:22 +02:00
Gaute Lindkvist
551e459942 #4655 Python Fix crash when streaming properties to ResInsight 2019-09-02 15:12:22 +02:00
Jacob Støren
11e73a76fc #4571 Sum. cmd. line: Add support for -s, -n and -e to grid cell plotting 2019-08-28 10:12:54 +02:00
Magne Sjaastad
ff16156c2a #4434 Flow Diag adjustments : Use active cells from PORV in Flow Diag 2019-06-18 10:58:07 +02:00
Gaute Lindkvist
6864888591 Add CAF_ASSERT to RigCaseCellResultsData::statistics
* Currently the code crashes in a dual porosity case.
* This commit doesn't fix the problem but adds an assert which triggers instead of just crashing
2019-05-27 14:53:25 +02:00
Gaute Lindkvist
b35e7d9bd4 #4369 Only create placeholder for derived MULTXYZ result if all requirements are available 2019-04-26 09:47:07 +02:00
Magne Sjaastad
25549b6b05 #4186 Porosity Model : Make sure fracture model data is read from file 2019-03-07 20:38:42 +01:00
Gaute Lindkvist
eb0c2e4737 #4096 Simplify code for loading case and time diff to use same method 2019-02-15 13:16:51 +01:00
Gaute Lindkvist
fbd1486a4c #4096 Fix combination of case and time diff for identical cases 2019-02-15 13:16:51 +01:00
Magne Sjaastad
1d4ab1a0b2 #4048 #4050 3D calculations : Add UI and calculation of case difference 2019-02-12 14:49:37 +01:00
Jacob Støren
61e9a2a696 #3958 First shot on time difference implementation 2019-01-30 16:46:16 +01:00
Jacob Støren
8a5cbf60fd #3958 Refactoring CaseCellResultsData to propagate result address with timelapse info all the way. 2019-01-29 12:44:23 +01:00
Jacob Støren
a3660cd496 #3958 Refactoring: Rename modifiable result access to make it easier to track in the code. The existing overloads made things harder to read. 2019-01-29 08:35:42 +01:00
Jacob Støren
dbb2a564a2 #3958 Refactoring: RigCaseCellResultsData: Remove the final result index based interface 2019-01-28 16:18:28 +01:00
Jacob Støren
3e3d3871ed #3958 Refactoring: Remove scalarResultIndex from RigEclipseResultAddress
and real external use (outside CaseCellResultsData)
Regression tests OK.
2019-01-25 16:19:15 +01:00
Jacob Støren
d8eded7d49 #3958 Refactoring: Removed result index from NNC data 2019-01-25 16:19:15 +01:00
Jacob Støren
8ee1d1491f #3958 Refactoring: EclipseResultAddress can now be used with type and variable in addition to index (which is to be removed) 2019-01-25 16:19:14 +01:00
Jacob Støren
42afa063d5 #3958 Refactoring: Rename to findOrLoadKnownScalarResult
to make it clear that it does not add a result name to the internal structures.
2019-01-25 16:19:14 +01:00
Jacob Støren
d0792d80c3 #3958 Refactoring : Moved formation names calculation into CaseCellResultsData.
Made one more method private.
2019-01-25 16:19:14 +01:00
Jacob Støren
70fc63056f #3958 Refactoring: Privatized and renamed findTransmissibilityResults()
Narrower identification in header of methods needing refactoring attention
2019-01-25 16:19:14 +01:00
Jacob Støren
5a01fdb88e #3958 Refactoring: Replaced result info based lookups with result address.
Replaced access of resultInfo as vector with single access based on address.
Moved RigEclipseResultAddress to a separate new file.
2019-01-25 16:19:13 +01:00
Jacob Støren
e21a0da543 #3958 Refactoring: Remove resultIndex in maxTimeStepResult 2019-01-25 16:19:13 +01:00
Jacob Støren
8e16d3ff20 #3958 Refactoring: Moved code into CaseCellResultsData.
Made methods private
2019-01-25 16:19:13 +01:00
Jacob Støren
ccfee8f34a #3958 Starting refactoring of eclipse results addressing
Preparations for time diff results
2019-01-25 16:19:13 +01:00
Magne Sjaastad
d460d3d77d #3944 clang-tidy : Apply modernize-deprecated-headers 2019-01-11 08:14:53 +01:00
Gaute Lindkvist
47edac084f #3676 Hide riOilColumn when RESINSIGHT_DEVEL isn't set 2018-11-13 14:53:13 +01:00
Gaute Lindkvist
ad9f86a517 #3630 2d Maps: schedule update of volumes when creating LGRs 2018-11-08 12:52:28 +01:00
Gaute Lindkvist
c67469b410 #3627 2d Maps: Nearly true volume of intersection weighing + riOilVolume result
* Takes the volume summation error from around 30% -> 1.5-2.0% for Norne and TEST10K_FLT_LGT_NNC for sample
spacing approximately the same as grid characteristic size.
* The latter part is for #3630 and adds a special case for calculating 2d Maps SUM of riOilVolume since it needs
to avoid using the actual riOilVolume 3d result but instead use SOIL to avoid multiplying by cell volume twice.
2018-11-08 11:52:19 +01:00
Gaute Lindkvist
ef4b70d6e5 #3630 Implement volume calculation on grid 2018-11-08 11:52:19 +01:00
Bjørn Erik Jensen
a1c8275eed #3553 Temp LGR. Error handling, bug fixes 2018-10-29 10:53:29 +01:00