Skip to content

feat: p2g optimizations by making it independent from in-chunk particle density variations#3

Merged
sebcrozet merged 3 commits into
mainfrom
p2g-opt
Jun 17, 2026
Merged

feat: p2g optimizations by making it independent from in-chunk particle density variations#3
sebcrozet merged 3 commits into
mainfrom
p2g-opt

Conversation

@sebcrozet

Copy link
Copy Markdown
Member

This improves the performances of P2G for scenarios where a single grid chunk contains variable particle count per cell.
This operates by using a single particles-chunk association list instead of per-cell linked lists.
While this makes the grid sorting step slower, it significantly improves the P2G performances.

@sebcrozet sebcrozet merged commit b02ec5f into main Jun 17, 2026
5 checks passed
@sebcrozet sebcrozet deleted the p2g-opt branch June 17, 2026 09:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant