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

Do not active the sub-hydro tasks whhen finding a sub-pair star-density.

parent 2d35ec05
No related branches found
No related tags found
2 merge requests!745Rewrite of MPI loops - Add stellar feedback loops,!744Mpi stars2 matthieu
......@@ -936,8 +936,8 @@ void engine_make_hierarchical_tasks_hydro(struct engine *e, struct cell *c) {
engine_add_ghosts(e, c, c->hydro.ghost_in, c->hydro.ghost_out);
if (with_feedback) {
c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost,
task_subtype_none, 0, 0, c, NULL);
c->stars.ghost = scheduler_addtask(s, task_type_stars_ghost,
task_subtype_none, 0, 0, c, NULL);
}
#ifdef EXTRA_HYDRO_LOOP
......
......@@ -376,7 +376,6 @@ void engine_marktasks_mapper(void *map_data, int num_elements,
else if (t_type == task_type_sub_pair &&
t_subtype == task_subtype_stars_density) {
cell_activate_subcell_stars_tasks(t->ci, t->cj, s);
cell_activate_subcell_hydro_tasks(t->ci, t->cj, s);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment