samurai
samurai copied to clipboard
feat: [WIP] Reconstruct neighbour mesh locally 2
Description
This PR is based on https://github.com/hpc-maths/samurai/pull/307 so please review the PR#307 before
feat: reconstruct the cells_and_ghost neighbourhood
- Before: we send/recv the neighbourhood cells_and_ghosts
- But we can avoid MPI comms by reconstructing it locally
- At this point, the advection-2d case works fine
Related issue
How has this been tested?
advection-2d
Code of Conduct
By submitting this PR, you agree to follow our Code of Conduct
- [x] I agree to follow this project's Code of Conduct
At this point, this PR works at least for advection-2D. TODO :
- avoid multiple all_reduce !
- resolve the segfault in the construct_periodic_cells
- git rebase
- remove compilation warnings