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

No need to check for received unactive cells for the rho communication...

No need to check for received unactive cells for the rho communication sub-type. They can't happen any more.
parent 139fe38b
......@@ -1535,10 +1535,8 @@ void *runner_main(void *data) {
if (t->subtype == task_subtype_tend) {
cell_unpack_ti_ends(ci, t->buff);
free(t->buff);
} else if (t->subtype == task_subtype_xv) {
runner_do_recv_part(r, ci, 1);
/* Only need to update h_max if the cell has active particles */
} else if (t->subtype == task_subtype_rho && cell_is_active(ci, e)) {
} else if (t->subtype == task_subtype_xv ||
t->subtype == task_subtype_rho) {
runner_do_recv_part(r, ci, 1);
} else if (t->subtype == task_subtype_gpart) {
runner_do_recv_gpart(r, ci, 1);
......
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