Commit 949d9e03 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Print more information about multipoles and cells when an undrifted multipole...

Print more information about multipoles and cells when an undrifted multipole is encountered in the MM task.
parent b54187ab
...@@ -156,7 +156,12 @@ void runner_dopair_grav_mm(const struct runner *r, struct cell *restrict ci, ...@@ -156,7 +156,12 @@ void runner_dopair_grav_mm(const struct runner *r, struct cell *restrict ci,
#endif #endif
/* Do we need to drift the multipole ? */ /* Do we need to drift the multipole ? */
if (cj->ti_old_multipole != e->ti_current) error("Undrifted multipole"); if (cj->ti_old_multipole != e->ti_current)
error(
"Undrifted multipole cj->ti_old_multipole=%lld cj->nodeID=%d "
"ci->nodeID=%d "
"e->ti_current=%lld",
cj->ti_old_multipole, cj->nodeID, ci->nodeID, e->ti_current);
/* Let's interact at this level */ /* Let's interact at this level */
gravity_M2L(&ci->multipole->pot, multi_j, ci->multipole->CoM, gravity_M2L(&ci->multipole->pot, multi_j, ci->multipole->CoM,
......
Markdown is supported
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