diff --git a/src/runner.c b/src/runner.c index 508549b656c4d12fa6a900d779e9d14e67b92d50..7da86e955574fbb0cb60a29968c4f71a659a4f2f 100644 --- a/src/runner.c +++ b/src/runner.c @@ -1239,6 +1239,7 @@ void runner_dorecv_cell(struct runner *r, struct cell *c, int timer) { int ti_end_max = 0; float h_max = 0.f; + /* Collect everything... */ for (size_t k = 0; k < nr_parts; k++) { ti_end_min = min(ti_end_min, parts[k].ti_end); ti_end_max = max(ti_end_max, parts[k].ti_end); @@ -1249,6 +1250,7 @@ void runner_dorecv_cell(struct runner *r, struct cell *c, int timer) { ti_end_max = max(ti_end_max, gparts[k].ti_end); } + /* ... and store. */ c->ti_end_min = ti_end_min; c->ti_end_max = ti_end_max; c->h_max = h_max; diff --git a/src/runner.h b/src/runner.h index f052bb57cdfc92a632cc4143d74250e7b6f6e847..7953b33361ca59e51e6e5ea07dde59db016239b0 100644 --- a/src/runner.h +++ b/src/runner.h @@ -48,10 +48,6 @@ struct runner { /* Function prototypes. */ void runner_doghost(struct runner *r, struct cell *c); -void runner_dopair_density(struct runner *r, struct cell *ci, struct cell *cj); -void runner_doself_density(struct runner *r, struct cell *c); -void runner_dosub_density(struct runner *r, struct cell *ci, struct cell *cj, - int flags); void runner_dosort(struct runner *r, struct cell *c, int flag, int clock); void runner_dogsort(struct runner *r, struct cell *c, int flag, int clock); void runner_dokick(struct runner *r, struct cell *c, int timer);