Files
ResInsight/ApplicationLibCode/ReservoirDataModel/Well
Stefan Crooijmans 6be8efb752 #15088 Well Log Extractor: Keep pairs in depth order and add pairing tests
A cell pair that encloses a pair already written is now discarded, as the
pairing did before this PR. Sorting the pairs by entering depth was the other
option, but it keeps both cells: the inner interval is still counted twice and
the depths still go back at the end of the outer cell. Discarding the outer
pair is a single comparison and gives the old result for nested cells.

The pairing is moved to the static pairCellEnterLeavePoints() so it can be
tested with synthetic point sequences, and the limit of 4 points between an
entering and a leaving point is a named constant with a note on why.
2026-11-05 08:46:45 +01:00
..