Magne Sjaastad
fd8fbe19f4
#8009 Make sure a view is created when case is imported
...
The original logic was not clear due to automatic conversion of pointer to bool
2021-09-20 10:33:18 +02:00
Magne Sjaastad
2480a782d1
Ensemble Surface improvements
...
* Performance : Improve surface import
* Performance: Use opm when importing files
* Surface : Use the triangle size as basis for the maximum search distance
* Performance : Resample surfaces in parallell
* Performance: Import file surfaces in parallell
* Ensemble Surface : Create one ensemble per surface
2021-09-16 14:28:19 +02:00
Kristian Bendiksen
1e83254e9e
Make P10/P90 calculation style more explicit
2021-09-16 10:38:27 +02:00
Magne Sjaastad
0bfa6ae2d1
#8009 Missing return values due to default function parameters
2021-09-15 14:58:54 +02:00
Magne Sjaastad
6ab8d59283
#8012 Ensemble Well Log : Close case after well log extraction
2021-09-15 14:54:02 +02:00
Kristian Bendiksen
cd91a96871
#7953 StimPlan Model: always recompute anchor position and thickness direction. ( #8004 )
...
This is to support manually changing the MD directly in the project file.
Fixes #7953 .
2021-09-14 10:46:12 +02:00
Kristian Bendiksen
1df25ed71c
#7966 Ensemble Well Log: depth equalization and filter by curve set options in well log plot ( #8001 )
2021-09-14 10:44:52 +02:00
Bård Skaflestad
785ee51099
Include <cctype> for std::toupper ( #8003 )
...
Restores build on VS 2017.
2021-09-13 18:20:44 +02:00
Magne Sjaastad
dc3a962cae
File Search Dialog : Do not search on launch
2021-09-13 14:11:54 +02:00
Magne Sjaastad
9838f766cb
Performance : Use std::string when parsing address strings
2021-09-13 14:08:50 +02:00
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
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
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
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
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
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
Magne Sjaastad
2fc65a3b62
#7892 Basic support for display of surface lines and bands on intersections
...
Guard divide by zero issues
2D Intersection View: Do not add parts with wrong coordinates
Add bounding box search tree
Add support display of intersection lines for selected surfaces
Show band between two first intersection lines
2021-08-26 08:13:03 +02:00
Kristian Bendiksen
61ea190920
StimPlan Export: Workaround precision issue in Deviation.frk export
2021-08-23 15:10:22 +02:00
Magne Sjaastad
3a94078867
Support optimized surface export from grid model layers
...
* #7885 Update opm-common with optimized coordinate import
* #7885 Allow null as default result from a script method
* #7885 Propagate default parameter values to generated Python code
* #7885 Add CommandRouter as hub for worker methods
* #7885 Add support for use of CommadRouter from Python
2021-08-23 11:58:32 +02:00
Kristian Bendiksen
2ef22f518c
#7872 StimPlan Model: Add data source options for PORO/PERMX/PERMZ
2021-08-18 16:29:15 +02:00
Kristian Bendiksen
fbd1412853
StimPlan Model: Improve logging format for extration options.
2021-08-18 16:29:15 +02:00
Kristian Bendiksen
511439277a
#7871 StimPlan Model: Add check-box for EQLNUM pressure interpolation
2021-08-18 14:46:25 +02:00
Kristian Bendiksen
56a86eee5f
#7871 StimPlan Model: resample well log data when not from static case
2021-08-18 14:46:25 +02:00
Kristian Bendiksen
b69665ce23
#7871 StimPlan Model: Add data source ordering for EQLNUM extraction
2021-08-18 14:46:25 +02:00
Kristian Bendiksen
966bcd1e77
Ensemble surface import and statistics
2021-08-17 13:38:12 +02:00
jonjenssen
d1e81f3c1e
Update ODB libraried needed for linking
2021-08-16 12:34:50 +02:00
jonjenssen
605af789c6
Protect against crash in 3d view due to nullptr in linkwellpathfeature command check ( #7876 )
...
* Protected against crash in 3d view due to nullptr
* Code cleanup
2021-08-14 14:23:55 +02:00
Magne Sjaastad
8dbb1d5ccd
Improve well path modeling
...
* Improve handling of MD at first target
* When sea level well target is disabled, update MD of first target
* Show well target spheres by default, allow toggling of spheres
* Activate well target modifiers when clicking on well targets
* Remove selection update causing an unstable 3D view
* Improve display and handling of multiple locations
* Add special 3D target for tie in well target
* Add slider to tie in MD input field
* Show MD in well path target table
* Delete all well path laterals when deleting a well path
* Python : Add lateral to parent well
* Python : Add perforation interval
2021-08-13 16:48:33 +02:00
Kristian Bendiksen
40bd4c285a
Improve logging when extracting StimPlan well logs.
2021-08-12 08:14:29 +02:00
Kristian Bendiksen
7db9efe387
StimPlan Model: Improve error handling on missing pressure and porosity data.
2021-08-12 08:14:29 +02:00
jonjenssen
ca0433ca3a
Move well related pdm files into subfolders to clean up a bit
2021-07-15 13:47:16 +02:00
Kristian Bendiksen
6317489af8
#7666 Statistics Plot: Option to show histogram as curve
2021-07-02 09:39:18 +02:00
Kristian Bendiksen
0cbfd11dc3
#7751 Statistics Plot: add relative frequency percentage option
2021-07-02 09:39:18 +02:00
Kristian Bendiksen
84bf5d5454
#7752 Statistics Plot: Add titles for x and y axis
2021-07-02 09:39:18 +02:00
Magne Sjaastad
d1ecac012d
Janitor : Update vector count
2021-07-02 07:54:01 +02:00
Magne Sjaastad
e03bebf5fe
#7838 Summary: Include missing Node vector GPR in category Group
2021-07-01 16:05:46 +02:00
Magne Sjaastad
54dee08798
#7831 Janitor: Do not create QtChart features if compiled without QtChart
2021-06-30 14:50:28 +02:00
Magne Sjaastad
93b5c39387
Janitor : Guard nullpointer access
2021-06-30 14:50:28 +02:00
Kristian Bendiksen
d79dcafe5a
#7716 Ensemble Well Logs: Add context menu for curve set.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
4d780b4915
#7716 Ensemble Well Logs: hide curves in project tree.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
6aa28bceb2
#7716 Ensemble Well Logs: improve legends appearance
...
Also remove some unused code.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
cdec36a582
#7716 Ensemble Well Logs: reattach signals on project open.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
4bd2a7b6fd
#7716 Ensemble Well Logs: load data when project is opened.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
e6043fa329
#7716 Ensemble Well Logs: improve statistics curves
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
3c784e9549
#7716 Ensemble Well Logs: Use colors from ensemble curve set
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
a5bc860526
#7716 Ensemble Well Logs: use filters from summary ensemble curve set.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
5660f780b6
#7716 Use units from las files
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
fed98a4183
#7716 Added ensemble well log curve set
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
5a7b52abf6
Fix bug in error message format
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
6c11b6f33b
Refactor: Make interface to enable reuse
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
f31aecf507
Refactor: extract EnsembleParameter into separate file.
2021-06-30 10:43:11 +02:00
Kristian Bendiksen
fb301ef3ab
#7716 Add pdm object for Ensemble Well Logs
2021-06-30 10:43:11 +02:00
Magne Sjaastad
4e45f397e8
Fix missing includes
2021-06-29 19:09:12 +02:00
Magne Sjaastad
a3d5847733
#7824 Modeled Well Path : Optional support for linking of wells
...
#7824 Modeled Well Path : Add to context menu in 3D view
2021-06-29 19:04:27 +02:00
Magne Sjaastad
3a1f2c8a05
Janitor : Encapsulate dynamic cast to selection item type
2021-06-29 19:04:27 +02:00
Magne Sjaastad
96ac51c011
Fix missing includes
2021-06-29 19:04:00 +02:00
Magne Sjaastad
e06e0116d8
#7818 Modeled Well Path : Update location of completions
2021-06-29 15:33:03 +02:00
Magne Sjaastad
73f8046353
#7818 Modeled Well Path : Add support for creation of N laterals based on a template
2021-06-29 15:33:03 +02:00
Magne Sjaastad
95463c6521
#7811 Modeled Well Path : Add copy/paste of a modeled well path
2021-06-29 15:33:03 +02:00
Magne Sjaastad
d818a01b79
#7811 Modeled Well Path : Optionally use refpoint from top level well path
2021-06-28 14:44:45 +02:00
Magne Sjaastad
62d67a52c7
#7811 Modeled Well Path : Optionally show absolute coordinates
2021-06-28 14:44:45 +02:00
Magne Sjaastad
eb3c52aeb1
Python adjustments ( #7809 )
...
* #7797 Well Targets: Add scripting capability
* #7794 Python : Do not update childField or childFieldArray
* #7797 : Python - Add scripting to well path collection
- Extend the pdmobject.py with method add_object()
- allow objects to be created from Python in well path collections
- add well targets to modelled well path
* #7795 Python : Make sure referenced generated classes are defined
* #7810 StimPlanModel: clean-up python generation
* Python : Always use empty string as default value for ptrFieldValue
It can happen that a ptrField is assigned to a pointer on object construction. (FaciesProperties) Make sure that constructor always assigns an empty string.
Co-authored-by: magnesj <magnesj@users.noreply.github.com>
Co-authored-by: Kristian Bendiksen <kristian.bendiksen@gmail.com>
2021-06-25 14:44:52 +02:00