forked from 1b-agent/fieldcraft-upstream
The compass search after the sweeps moves the nodes of the worst elements one at a time, each to its own best place. Since it lifts every element below 0.7 (#462) it moves many surface nodes, and a column of them on a face ends at scattered places: the enclosure base's inner walls showed zigzag element lines in a column next to each corner, full height. A last pass now moves each surface node back toward the mean of its neighbours on the surface, as far as no element round it falls below the lower of its own value and the mesh's smallest after the search, so the lines straighten and the mesh's worst element is no worse. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01UhhZMBTviDQxZvwnyP89fo