Lead-ins before confluence grading

- Pond outlets are led in from their pond before confluence grading, so a feeder joining at an outlet's exit node pools against the lead-in segment too
- A feeder at a led-in outlet's exit sits at the junction level wherever it comes within its pool margin of the lead-in
This commit is contained in:
Brian Neumann-Fopiano committed 2026-11-01 21:30:25 -05:00
1 parent 98d69e503c
commit 11ce906e5b
2 files changed
+55 -5

No files matched your search

@@ -75,17 +75,17 @@ public final class ReachShaper {
for (int index : order) {
finish(drafts, drafts.get(index));
}
for (int index = 0; index < sources.length; index++) {
if (leavesThroughALip(ponds, sources[index])) {
leadIn(drafts.get(index), ponds.get(sources[index]).mask());
}
}
boolean[] touched = ConfluenceGrader.level(window, drafts, order);
for (int index = 0; index < touched.length; index++) {
if (touched[index]) {
restyle(drafts.get(index));
}
}
for (int index = 0; index < sources.length; index++) {
if (leavesThroughALip(ponds, sources[index])) {
leadIn(drafts.get(index), ponds.get(sources[index]).mask());
}
}
List<Pond> linked = new ArrayList<>(ponds.size());
for (int pond = 0; pond < ponds.size(); pond++) {
Pond settled = lowered(ponds.get(pond), levels[pond]);