SPHExample
SPHExample copied to clipboard
Use array-based cell lookup for neighbor search
Summary
- replace hash-based cell dictionary with direct array lookup
- compute linear cell indices once per update and reuse in neighbor loops
- apply array lookup to boundary correction path
Testing
-
julia --project=. -e 'using Pkg; Pkg.test()'
https://chatgpt.com/codex/tasks/task_e_68c574aca9188323988c535e4008fec7