Magne Sjaastad
cc44d6c3be
#13967 RigMainGrid: Invalidate face-normal direction cache on setFlipAxis
...
isFaceNormalsOutwards lazily computes whether cell face normals point outward
and caches the answer in m_isFaceNormalsOutwardsComputed. setFlipAxis was
mirroring the node coordinates without resetting that cache, so any consumer
that had triggered the lazy computation before the user toggled Flip X/Y kept
the pre-flip answer. The well-path/cell intersection in
RigEclipseWellLogExtractor::calculateIntersection then inverted the
entering/leaving flag the wrong way, causing the proper-pair filter in
populateReturnArrays to discard every intermediate cell along a perforation
interval - only the start and end cells survived through the
well-starts/ends-inside-a-cell fallback.
Reset m_isFaceNormalsOutwardsComputed when the flip state actually changes.
Add unit tests covering all four combinations of Flip X / Flip Y for both the
data-level node mirroring and the well-path/cell intersection (freshly-built
grid and interactive-toggle scenarios).
2026-05-08 10:30:17 +02:00
..
2026-04-29 13:14:59 +02:00
2025-11-14 14:44:21 +01:00
2026-04-29 13:14:59 +02:00
2025-11-03 16:06:58 +01:00
2023-09-27 10:16:37 +02:00
2024-02-11 20:04:04 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2023-10-02 09:16:52 +02:00
2024-04-19 15:09:15 +02:00
2025-03-31 14:20:43 +02:00
2023-05-12 21:41:34 +02:00
2024-10-14 08:53:28 +02:00
2025-11-19 10:25:32 +01:00
2025-11-25 10:48:18 +01:00
2023-08-28 13:46:50 +02:00
2025-11-19 10:25:32 +01:00
2025-09-10 08:23:09 +02:00
2023-02-26 10:48:40 +01:00
2026-02-23 12:29:41 +01:00
2023-02-26 10:48:40 +01:00
2021-01-11 15:27:45 +01:00
2025-05-12 13:04:10 +02:00
2025-06-11 15:43:53 +02:00
2025-02-28 16:14:55 +01:00
2023-02-26 10:48:40 +01:00
2025-12-03 09:48:50 +01:00
2024-04-05 14:39:46 +02:00
2025-05-07 12:07:31 +02:00
2021-01-11 15:27:45 +01:00
2025-05-08 12:47:06 +02:00
2023-02-26 10:48:40 +01:00
2024-06-05 14:35:01 +02:00
2024-09-24 14:49:10 +02:00
2026-02-04 18:07:28 +01:00
2026-02-05 13:49:00 +01:00
2025-02-13 08:31:53 +01:00
2026-02-18 14:27:36 +01:00
2024-10-22 07:28:43 +02:00
2025-11-25 10:48:18 +01:00
2024-09-30 11:21:17 +02:00
2022-03-14 09:18:48 +01:00
2022-12-08 07:08:22 +01:00
2026-04-29 13:11:49 +02:00
2026-04-29 13:11:49 +02:00
2026-04-29 13:11:49 +02:00
2023-02-26 10:48:40 +01:00
2026-02-23 19:19:09 +01:00
2026-02-20 09:27:20 +01:00
2023-02-26 10:48:40 +01:00
2025-08-08 09:57:25 +02:00
2025-11-19 10:25:32 +01:00
2023-08-09 07:51:17 +02:00
2021-01-11 15:27:45 +01:00
2025-09-12 08:10:21 +02:00
2026-01-19 16:08:59 +01:00
2023-02-26 10:48:40 +01:00
2023-09-27 10:16:37 +02:00
2023-02-26 10:48:40 +01:00
2026-04-29 13:22:02 +02:00
2023-12-01 11:06:15 +01:00
2023-09-06 13:51:59 +02:00
2024-02-11 20:04:04 +01:00
2025-11-17 13:04:13 +01:00
2024-10-31 15:08:59 +01:00
2026-01-31 17:25:26 +01:00
2023-02-26 10:48:40 +01:00
2024-03-01 14:59:14 +01:00
2024-09-24 14:49:10 +02:00
2025-09-04 09:04:30 +02:00
2025-07-16 16:18:09 +02:00
2023-11-06 10:20:22 +01:00
2023-09-20 09:58:48 +02:00
2023-03-20 08:58:42 +01:00
2026-02-02 14:26:19 +01:00
2023-04-17 09:45:14 +02:00
2023-03-20 12:02:23 +01:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2023-12-04 17:26:44 +01:00
2024-04-22 19:56:10 +02:00
2025-05-21 18:09:22 +02:00
2025-05-28 09:50:45 +02:00
2024-10-28 13:09:18 +01:00
2022-10-03 08:33:55 +02:00
2026-04-29 13:14:59 +02:00
2026-04-29 13:14:59 +02:00
2025-05-30 08:38:51 +02:00
2023-02-26 10:48:40 +01:00
2026-01-12 09:58:55 +01:00
2026-01-12 09:58:55 +01:00
2026-01-07 16:07:09 +01:00
2026-02-20 09:27:20 +01:00
2022-07-06 18:18:11 +02:00
2023-05-05 15:30:48 +02:00
2025-12-12 13:38:22 +01:00
2025-12-12 13:38:22 +01:00
2026-01-12 09:58:55 +01:00
2021-01-11 15:27:45 +01:00
2025-09-03 14:21:19 +02:00
2026-02-16 18:42:15 +01:00
2026-02-16 18:42:15 +01:00
2025-01-19 16:19:55 +01:00
2025-09-19 15:22:17 +02:00
2021-01-11 15:27:45 +01:00
2026-02-16 18:42:15 +01:00
2022-01-26 10:08:28 +01:00
2026-02-26 09:32:36 +01:00
2026-02-18 09:22:39 +01:00
2025-05-21 18:09:22 +02:00
2025-05-21 18:09:22 +02:00
2025-06-16 10:37:34 +02:00
2023-02-26 10:48:40 +01:00
2023-02-26 10:48:40 +01:00
2025-12-08 15:58:05 +01:00
2026-02-09 15:33:18 +01:00
2026-05-08 10:30:17 +02:00
2025-03-12 13:35:05 +01:00
2024-10-31 15:08:59 +01:00
2025-03-12 13:35:05 +01:00
2023-12-20 19:05:45 +01:00
2026-02-18 14:27:36 +01:00
2026-02-18 14:27:36 +01:00
2024-06-05 14:35:01 +02:00
2026-02-19 08:14:43 +01:00
2024-07-30 08:55:12 +02:00
2023-06-05 12:59:29 +02:00
2025-05-26 11:17:53 +02:00
2023-05-27 10:30:03 +02:00
2023-02-26 10:48:40 +01:00
2024-09-30 11:21:17 +02:00
2023-09-27 10:16:37 +02:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2021-01-11 15:27:45 +01:00
2025-11-19 10:25:32 +01:00
2021-08-30 13:28:40 +02:00
2021-01-11 15:27:45 +01:00