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

Zero the new task pointers when rebuilding

parent d5191f16
No related branches found
No related tags found
1 merge request!267Mark tasks in drift2
...@@ -398,6 +398,9 @@ void space_regrid(struct space *s, double cell_max, int verbose) { ...@@ -398,6 +398,9 @@ void space_regrid(struct space *s, double cell_max, int verbose) {
s->cells_top[k].extra_ghost = NULL; s->cells_top[k].extra_ghost = NULL;
s->cells_top[k].ghost = NULL; s->cells_top[k].ghost = NULL;
s->cells_top[k].kick = NULL; s->cells_top[k].kick = NULL;
s->cells_top[k].grav_external = NULL;
s->cells_top[k].cooling = NULL;
s->cells_top[k].sourceterms = NULL;
s->cells_top[k].super = &s->cells_top[k]; s->cells_top[k].super = &s->cells_top[k];
s->cells_top[k].gsuper = &s->cells_top[k]; s->cells_top[k].gsuper = &s->cells_top[k];
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment