Commit Graph

17053 Commits

Author SHA1 Message Date
Jørgen Herje
d4dddb0c95 Backup 2024-04-09 10:45:46 +02:00
Jørgen Herje
ecf9e67b68 Fix incorrect setting of num buckets 2024-04-05 14:59:25 +02:00
Jørgen Herje
7b2a458d31 Minor adjustment
- Refactor welding in grid surface endpoint
- Add missing include
2024-04-04 14:09:11 +02:00
Jørgen Herje
d552c1bbd2 Weld vertices in GetGridSurface endpoint
- Weld vertices to prevent duplicated nodes in vertex array.
- Handle welding of surface vertices and fault vertices separately.
- Adjust and remove python code
2024-04-04 13:39:00 +02:00
Jørgen Herje
614a9f1213 Prevent duplicated nodes in vertex array of intersection response 2024-04-04 09:10:44 +02:00
Jørgen Herje
4d87fc5927 Replace thread count in message box with ria logging info 2024-04-04 09:08:15 +02:00
Jørgen Herje
985e2e21ee Split generation of surface vertices and fault vertices for getGirdSurface 2024-03-22 15:37:30 +01:00
Jørgen Herje
4df9eabf9c Move get number of threads logic to RiaMain 2024-03-21 11:02:25 +01:00
Jørgen Herje
f498c79f35 Fix incorrect IJK dimensions in response 2024-03-21 09:15:37 +01:00
Jørgen Herje
9b119e6c04 Add read out of OpenMP number of threads
Read out of number of threads for OpenMP. Expected to be equal set environment variable OMP_NUM_THREADS
2024-03-20 15:02:07 +01:00
Jørgen Herje
b9589b3719 Have global z in vertexArray for getGridSurface endpoint
- originUtm as 3D point changed to originUtmXy as 2D point.
- Have global z value for vertex coordinate in vertexArray
2024-03-20 13:45:24 +01:00
Jørgen Herje
d7c35fba7c Remove generate of grid geometry for intersection endpoint
- Prevent creating view and grid geometry parts for interseciton endpoint. Improves runtime.
- Set all cells visible directly
2024-03-20 13:17:58 +01:00
jorgenherje
c2b41c17b8 Add elapsed time info for responses
- Total time
- Custom named events with elapsed time (map)

ddd
2024-03-19 09:45:31 +01:00
Jørgen Herje
88ef3a6fca Add functionality to disable filter per dimension for IJK-filter
Use min and max = -1 to disable filter (include all cells in dimension)
2024-03-15 15:26:34 +01:00
Jørgen Herje
3156953c80 Add std::flush to RiaStdOutLogger::writeMessageToLogger
For testing of instant std::cout when running in console mode
2024-03-15 14:25:15 +01:00
Jørgen Herje
2207bf47e8 Remove logging from instance.py 2024-03-15 09:04:02 +01:00
Jørgen Herje
9169ee2e43 Remove unused code 2024-03-14 11:32:46 +01:00
Jørgen Herje
69c38dfb21 Cache opened grid 2024-03-14 11:16:44 +01:00
Jørgen Herje
7ca4bd7ce3 Merge remote-tracking branch 'origin/dev' into grid-geometry-extraction 2024-03-14 08:31:07 +01:00
Kristian Bendiksen
b595487d23 #11285 GRPC: fix high CPU usage in console application
Increase polling interval to avoid using one core constantly.

Fixes #11285.
2024-03-13 16:16:38 +01:00
Jørgen Herje
ae6131e92e Fix missing fault faces in GetGridSurface() endpoint
Adjust name of python files
2024-03-13 12:47:47 +01:00
Magne Sjaastad
76df7e8631 Remove unused function 2024-03-13 08:51:30 +01:00
magnesj
b9c5ff816a Fixes by clang-tidy 2024-03-13 08:51:01 +01:00
jonjenssen
cb1e062e99
Exported coordinate fix (#11283)
Make sure exported well path coordinates use local coord system when needed.
2024-03-12 16:57:16 +01:00
Jon Jenssen
f411b5fabe Do not crash if no valid points are found when importing a surface .dat file due to i.e. incorrect file format (comma separated, not space separated) 2024-03-12 13:01:35 +01:00
jonjenssen
fb5758a363
Support both AND and OR operations when combining range and index filters (#11275)
Support both AND and OR operations when combining range and index filters
2024-03-11 20:02:47 +01:00
Jørgen Herje
4520fe1bbc Fix incorrect segment data
- Missing polygonToCellIndexMap
- Incorrect polygonIndices
2024-03-11 14:57:59 +01:00
Jørgen Herje
f5dbee792f Fix memory leakage for CutAlongPolyline 2024-03-11 14:34:41 +01:00
Jørgen Herje
639f9d0ee3 Fix memory leakage for GetGridSurface 2024-03-11 14:14:01 +01:00
Jørgen Herje
491b0c3ff0 Fix typo in proto 2024-03-11 09:55:50 +01:00
jonjenssen
2386ad8985
Generate model based on an origin in the fault to improve calculation accuracy (#11267)
Generate model based on an origin in the fault to improve calculation accuracy.
2024-03-08 15:50:05 +01:00
Jørgen Herje
0ed0d81765 Minor cleanup - WIP 2024-03-08 15:25:05 +01:00
Magne Sjaastad
bfda6519db
Cleanup includes
Use new tools in Visual Studio to help cleaning up includes and remove redundant includes.
2024-03-07 19:45:43 +01:00
jorgenherje
6a10b6f326 Set hard coded string for mock model, and fix Ubuntu build error 2024-03-07 13:05:10 +01:00
Jørgen Herje
8f50da0212 Backup - WIP 2024-03-06 15:32:23 +01:00
Eirik Marthinsen
ea27e952f5
Prepare building with Qt6
* Fwk: Switch from delta to angleDelta for QWheelEvent
* Fwk: Add option to build more libraries with Qt6
* Fwk: Remove unused includes of QtOpenGL
* Fwk: Don't forward declare QStringList
* Fwk: Store cursor position in QPoint variable
* Fwk: Use QWheelEvent::position in Qt6
2024-03-06 08:32:27 +01:00
Jørgen Herje
d300869217 Merge remote-tracking branch 'origin/python-black-patches-0vrv2q8' into grid-geometry-extraction 2024-03-06 08:03:05 +01:00
Jørgen Herje
548d74720e Adjust according to build warnings/errors 2024-03-06 08:02:40 +01:00
jorgenherje
de3a00a957 Python code linting changes detected by black 2024-03-05 14:24:28 +00:00
Jørgen Herje
1bdc8e95a1 BACKUP Testing to create enclosing polygon from triangles per cell - WIP 2024-03-05 15:23:46 +01:00
Magne Sjaastad
9f96cb9694 #11258 Grid Calculation: Unintended release of result data memory
Avoid release of memory when working on a single case
2024-03-05 12:40:15 +01:00
Jon Jenssen
406cd087e9 Use local coordinates in generated model by default 2024-03-05 11:47:16 +01:00
jonjenssen
11c7ef7210 Bump to version dev 24 2024-03-04 23:47:27 +01:00
jonjenssen
bcc4f7c901 Add more decimals to node coordinates to improve accuracy 2024-03-04 23:47:27 +01:00
Kristian Bendiksen
a2fa2a0e77 WBS: Avoid empty text in legends on reload. 2024-03-04 23:47:14 +01:00
Kristian Bendiksen
b8f9beab91 WBS: Compute and show FG_MK_* only in reservoir (not shale). 2024-03-04 23:47:14 +01:00
Magne Sjaastad
1217236d73 #11248 Remove caching of simulation well coordinates to avoid state handling bugs 2024-03-04 12:27:56 +01:00
Magne Sjaastad
3689cccae7 Add operations on polygon : Duplicate, exportCsv, exportPol and simplify
SimplfyPolygon applies an operation on polygon to reduce the number of points in a way that the shape of the polygon is conserved.
2024-03-04 11:24:42 +01:00
Magne Sjaastad
5217ab5c8b Use signal to notify listeners when coordinates of a polygon changes 2024-03-04 11:24:42 +01:00
magnesj
5d640b91d2 Fixes by clang-tidy 2024-03-02 09:10:54 +01:00