astronomix._geometry.boundaries_legacy#
Legacy ghost-cell boundary handler (superseded, kept for reference).
This is the original loop-based boundary implementation. The per-side Python
for loops scattered one ghost cell at a time, which expanded into very large
traces and dominated compilation time, so it was replaced by the vectorised,
loop-free handler in boundaries.py. The whole body below is retained
commented-out only as historical reference and is not imported anywhere.