Commit 102c436
committed
ENH: Port ComputeFeatureNeighbors rewrite into OOC Direct/Scanline variants
Integrate Nathan Young's ComputeFeatureNeighbors rewrite (PR #1569) into
the OOC dispatch architecture:
Direct variant: full port of Nathan's algorithm with compile-time
ImageDimensionState specialization, two-stage boundary/internal cell
processing, and per-face surface area accumulation. Handles 0D through
3D geometries via constexpr template dispatch.
Scanline variant: updated to use map-based per-face surface area
accumulation (fixes DREAM3D 6.5 surface area calculation bug), correct
surface feature detection for all geometry dimensions (0D/1D/2D/3D),
and Path-based InputValues fields matching upstream.
Test file: added ForceOocAlgorithmGuard dual-path coverage to all 33
test cases (32 hand-validated + legacy SmallIn100).
Verified: 33/33 tests pass on both in-core (InCoreOnly) and OOC
(OocOnly) configurations.1 parent 650d005 commit 102c436
5 files changed
Lines changed: 846 additions & 330 deletions
File tree
- src/Plugins/SimplnxCore
- src/SimplnxCore/Filters/Algorithms
- test
0 commit comments