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

Do not accumulate the minimal time in do_recv_spart().

parent 618b275d
No related branches found
No related tags found
1 merge request!589Mpi periodic gravity
......@@ -1972,11 +1972,6 @@ void runner_do_recv_spart(struct runner *r, struct cell *c, int timer) {
if (sparts[k].time_bin == time_bin_inhibited) continue;
time_bin_min = min(time_bin_min, sparts[k].time_bin);
time_bin_max = max(time_bin_max, sparts[k].time_bin);
#ifdef SWIFT_DEBUG_CHECKS
if (sparts[k].ti_drift != ti_current)
error("Received un-drifted s-particle !");
#endif
}
/* Convert into a time */
......@@ -2006,8 +2001,8 @@ void runner_do_recv_spart(struct runner *r, struct cell *c, int timer) {
#endif
/* ... and store. */
c->ti_gravity_end_min = ti_gravity_end_min;
c->ti_gravity_end_max = ti_gravity_end_max;
//c->ti_gravity_end_min = ti_gravity_end_min;
//c->ti_gravity_end_max = ti_gravity_end_max;
c->ti_old_gpart = ti_current;
if (timer) TIMER_TOC(timer_dorecv_spart);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment