Commit ea214bbb authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also record that a top-level multipole received some interaction beyond the truncation range.

parent 8c9ff9f2
......@@ -1573,6 +1573,11 @@ static INLINE void runner_do_grav_long_range(struct runner *r, struct cell *ci,
/* Need to account for the interactions we missed */
multi_i->pot.num_interacted += multi_j->m_pole.num_gpart;
#endif
/* Record that this multipole received a contribution */
multi_i->pot.interacted = 1;
/* We are done here. */
continue;
}
......
Supports Markdown
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