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

Make sure to reset all the timings when recycling a cell

parent 1de6620c
No related branches found
No related tags found
1 merge request!589Mpi periodic gravity
......@@ -204,6 +204,10 @@ void space_rebuild_recycle_mapper(void *map_data, int num_elements,
c->do_sub_sort = 0;
c->do_grav_sub_drift = 0;
c->do_sub_drift = 0;
c->ti_hydro_end_min = -1;
c->ti_hydro_end_max = -1;
c->ti_gravity_end_min = -1;
c->ti_gravity_end_max = -1;
if (s->gravity) bzero(c->multipole, sizeof(struct gravity_tensors));
for (int i = 0; i < 13; i++)
if (c->sort[i] != NULL) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment