Skip to content
Snippets Groups Projects
Commit c41cc356 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not update foreign multipoles in M2L.

parent a712db56
Branches
Tags
1 merge request!433Correct wrapping of multipoles in FFT task
......@@ -149,7 +149,7 @@ void runner_dopair_grav_mm(const struct runner *r, struct cell *restrict ci,
TIMER_TIC;
/* Anything to do here? */
if (!cell_is_active(ci, e)) return;
if (!cell_is_active(ci, e) || ci->nodeID != engine_rank) return;
/* Short-cut to the multipole */
const struct multipole *multi_j = &cj->multipole->m_pole;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment