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

Do not activate sub-cells if the sub-type is not density

parent 092e9105
No related branches found
No related tags found
1 merge request!343Subset sorting
......@@ -2547,7 +2547,7 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
if (cell_is_active(t->ci, e)) scheduler_activate(s, t);
/* Store current values of dx_max and h_max. */
if (t->type == task_type_sub_self) {
if (t->type == task_type_sub_self && t->subtype == task_subtype_density) {
cell_activate_subcell_tasks(t->ci, NULL, s);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment