Magne Sjaastad
f89cd51416
Performance : Use unordered_map
...
Use of unordered_map gives performance gain of 50% for lookup of addresses based on quantity name. Performance gain due to use of hash inside unordered_map.
2021-09-13 14:08:50 +02:00
Bård Skaflestad
b220c2762f
Include <cctype> for std::isdigit
...
Fixes build on VS 2017.
2021-09-13 12:51:22 +02:00
Kristian Bendiksen
cf502b7e93
Ensemble Fracture Statistics: hide plot update behind USE_QTCHARTS ( #7998 )
2021-09-13 12:25:31 +02:00
magnesj
33ad42d694
Fixes by clang-tidy
2021-09-13 11:32:31 +02:00
Kristian Bendiksen
1312f1d7b5
7962 ensemble fracture stats skip zero width ( #7992 )
...
* #7962 Ensemble Fracture Statistics: Add option to exclude zero width fractures
* #7962 Ensemble Fracture Statistics: fix data accessor used in statistics plot.
* #7962 Ensemble Fracture Statistics: Update referring plots.
* Ensemble Fracture Statistics: parameter name
* Fixes by misspell-fixer (#7994 )
Co-authored-by: kriben <kriben@users.noreply.github.com>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: kriben <kriben@users.noreply.github.com>
2021-09-13 08:34:03 +00:00
Magne Sjaastad
7b1185cec4
Surface Folders
...
* #7978 Ensemble Surface : Use collection instead of specialized class
* Review updates
2021-09-13 10:16:09 +02:00
Magne Sjaastad
41f80e7d89
#7912 Summary Data Import : Review feedback
2021-09-13 10:00:45 +02:00
Magne Sjaastad
f699f5f6b8
#7912 Summary Data Import : Update to ESMRY format
2021-09-13 10:00:45 +02:00
Magne Sjaastad
d1463645d0
#7912 Summary Data Import : Include LGR in construction of SummaryNode
2021-09-13 10:00:45 +02:00
Magne Sjaastad
737ee811fa
#7912 Summary Data Import : Map from eclAdr to keyword
2021-09-13 10:00:45 +02:00
magnesj
2dbe0a0c9c
#7912 Summary Data Import : Update selected opm-common files
2021-09-13 10:00:45 +02:00
Magne Sjaastad
c7917915cd
#7912 Summary Data Import : Add fmt to ThirdParty
2021-09-13 10:00:45 +02:00
Kristian Bendiksen
dab22c4716
#7986 Ensemble Fracture Statistics: block negative number of cells. ( #7991 )
2021-09-13 08:42:04 +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
jonjenssen
0c69cdf203
Use only one implementation of lineIndicesFromQuadVertexArray ( #7980 )
...
* Use only one implementation of lineIndicesFromQuadVertexArray
2021-09-10 06:19:44 +00:00
jonjenssen
a5b80c649b
Merge pull request #7960 from OPM/geomech_WIA4
...
GeoMech: Well Integrity Analysis
2021-09-09 17:34:27 +02:00
Magne Sjaastad
c603e6fe90
Janitor : Improve Ensemble File Search dialog
...
- auto search on launch
- add recently used history to file filter
2021-09-09 15:35:28 +02:00
Magne Sjaastad
0e0bd751f6
#7973 Export Completions : Further improvements
...
Fix typo
Make sure compdat export works for custom file name
2021-09-09 15:16:34 +02:00
Kristian Bendiksen
6173b4f421
#7969 Rename command to "Create Ensemble Surface"
2021-09-09 14:07:48 +02:00
Kristian Bendiksen
d9a35e5282
#7969 Minor tweaks to Create Ensemble Surface ui
2021-09-09 14:07:48 +02:00
Magne Sjaastad
acdcbe44b4
Merge pull request #7975 from OPM/7973-custom-export-filename
...
Export Completions : Custom export file name fails in some cases
2021-09-09 10:16:37 +02:00
Kristian Bendiksen
8f5beb8851
#7928 Add user interface for exporting multiple well logs.
2021-09-09 08:38:00 +02:00
Kristian Bendiksen
a3a2aac9b6
Add method to remove plot in Well Log Plot Collection.
2021-09-09 08:38:00 +02:00
Magne Sjaastad
7f460b2958
#7957 Move progressdialog control to General tab
...
The freeze bug in Qt is triggered when the progress bar is displayed for long-running processes. A temporary workaround for freeze issues is to disable the progress bar. Move the setting into General tab to make it easily available for all users.
2021-09-08 11:51:20 +02:00
Kristian Bendiksen
2b3fbe022e
#7927 Add user interface for exporting multiple surfaces.
2021-09-03 14:59:40 +02:00
Kristian Bendiksen
1e43fd4c36
#7927 Surface Extraction: fix index mixup.
2021-09-03 14:59:40 +02:00
Magne Sjaastad
7260d318e4
#7929 Python : Make sure progress dialog is created after early exit
...
On some systems, the progress dialog triggers redraw with incomplete data and causes crash. Make sure the progress dialog is created after early exit
2021-09-03 10:01:46 +02:00
Magne Sjaastad
ea6e734a55
Janitor : Add name to all parts to be able to find the source code producing the part
2021-09-03 10:01:46 +02:00
Magne Sjaastad
640c59d682
#7942 Summary Plot: Make reading of summary data file more robust
...
- remove the gsl::not_null for pointer to curve data
- For summary cases linked to a grid model case, do not try to read the original location of file if grid file location is not valid (will happen when a project file is moved)
2021-09-02 15:55:43 +02:00
Magne Sjaastad
e961dce97d
#7944 Cell selection: Avoid crash for Pflotran simulation case
2021-09-02 15:55:43 +02:00
Magne Sjaastad
97d678d9e8
#7933 Export Snapshot : Fix failing example
2021-09-02 09:25:22 +02:00
Magne Sjaastad
b397c230ac
#7940 Python : Traverse inheritance stack to find correct script class name
2021-09-02 08:55:35 +02:00
Kristian Bendiksen
16ec5f793a
Fix incorrect argument order when loading eclipse grid. ( #7937 )
2021-09-01 07:34:40 +00:00
Magne Sjaastad
be29b278f2
#7929 Python : Avoid creation of new view when opening case
2021-09-01 08:25:22 +02:00
Magne Sjaastad
638f926429
cmake-format: Allow dangling parenthesis
2021-09-01 08:13:16 +02:00
Kristian Bendiksen
503d946bc1
#7923 Ensemble Fracture Statistics: export fracture orientation for result files ( #7926 )
2021-08-31 08:12:40 +02:00
Eirik Marthinsen
200d5c65a3
AutoVcpkg: Include Vcpkg toolchain
...
Include the Vcpkg toolchain file after the installation of the first
package.
When building for the first time from a clean source tree, the Vcpkg
toolchain file does not exist. At the same time CMake is only reading
the toolchain file the very first time it is configuring, but since the
toolchain file is only created when vcpkg is configured on the first
call to vcpkg_install it will never read it. So it is not enough to just
reconfigure.
Note: It is not ideal to include it here since one might at some point
install and search for a package at an erlier point in the script and
fail to find it.
Alternative approaces that I considered:
- Include this file right after including AutoVcpkg. This would require
1 recompilation for the file to be found and read which is
unfortunate.
- Include this file in the config function in AutoVcpkg. This seemed
difficult without including the file for every call to vcpkg_install,
which seems unecessary.
2021-08-30 19:40:35 +02:00
Eirik Marthinsen
697da887c4
AutoVcpkg: Copy bootstrap file from cmake folder
...
AutoVcpkg assumed that the bootstrap file was in the root project
folder, and not in a cmake subfolder.
Note: It is not correct to use ${CMAKE_CURRENT_LIST_DIR} since this is
inside a function and whould still refer to the folder of the calling
file. The more elegant solution would be to use
${CMAKE_CURRENT_FUNCTION_LIST_DIR}, but that is not available until
CMake 3.17.
2021-08-30 19:40:35 +02:00
Kristian Bendiksen
8d42533179
#7869 Ensemble Fracture Statistics: optimization by AABB tree. ( #7924 )
2021-08-30 13:01:18 +00:00
Magne Sjaastad
264e1decdc
#7909 Surface Extraction : Updates based on review
2021-08-30 13:28:40 +02:00
Magne Sjaastad
5c564c152a
#7909 Surface Extraction : Add watertight option to grid extraction
2021-08-30 13:28:40 +02:00
Magne Sjaastad
1afba6c436
#7909 : Add helper function to get edge vertices of a cell
2021-08-30 13:28:40 +02:00
Kristian Bendiksen
6547ef1525
7834 cref removal ( #7917 )
...
* #7834 Well Log Statistics: prefer std::shared_ptr to cvf::ref.
* #7834 Use std::map to avoid hard-coded array length.
2021-08-30 10:19:45 +02:00
Kristian Bendiksen
414ee77aa8
#7834 Ensemble Well Logs: add depth equalization ( #7914 )
2021-08-30 09:18:34 +02:00
Kristian Bendiksen
2f580a0c52
#7863 StimPlan Model: Add TST correction for more correct zone thickness
...
TST is now adjusted (average of TST and TVD in 3D) to improve the zone thickness
in the well log plot.
2021-08-27 11:29:46 +02:00
Kristian Bendiksen
4be9714368
#7893 Make accessor warning clearer in Well Log Track region annotations
2021-08-27 10:47:25 +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
49fa169db8
##7903: Improve ensemble surface names
...
Update the name of statistics surface when created
Regenerate surface geo only when required
Create statistics surfaces when importing surface ensemble
2021-08-26 15:12:27 +02:00
Kristian Bendiksen
795d9eecca
#7899 Python: generate properties for 'name' and 'is_checked' for NamedObject
2021-08-26 13:06:16 +02:00