Skip to content
Snippets Groups Projects
Commit cf9ed0d2 authored by Behzad Safaei's avatar Behzad Safaei
Browse files

Fix reneighbor procedure

parent e0ffcc87
No related merge requests found
......@@ -123,9 +123,11 @@ class InterfaceModules:
reneighboring_procedures = [
Exchange(self.sim._comm),
Borders(self.sim._comm),
# Note: DomainUpdateLocal must happen after exchange since local particles must be contained in AABBs
# Note: DomainUpdateLocal must happen after exchange since local particles must be contained in AABBs.
# And it must happen before Borders since newly received particles need to be included, so they become ghosts
# for their previous neighbor
DomainUpdateLocal(self.sim),
Borders(self.sim._comm),
BuildCellListsStencil(self.sim, self.sim.cell_lists),
self.sim.update_cells_procedures,
ResetVolatileProperties(self.sim)
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment