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

Update the stars' ti_old_part when receiving stars, not the gravity one.

parent c91076c6
Branches
Tags
2 merge requests!745Rewrite of MPI loops - Add stellar feedback loops,!744Mpi stars2 matthieu
...@@ -3016,7 +3016,7 @@ void runner_do_recv_spart(struct runner *r, struct cell *c, int clear_sorts, ...@@ -3016,7 +3016,7 @@ void runner_do_recv_spart(struct runner *r, struct cell *c, int clear_sorts,
/* ... and store. */ /* ... and store. */
// c->grav.ti_end_min = ti_gravity_end_min; // c->grav.ti_end_min = ti_gravity_end_min;
// c->grav.ti_end_max = ti_gravity_end_max; // c->grav.ti_end_max = ti_gravity_end_max;
c->grav.ti_old_part = ti_current; c->stars.ti_old_part = ti_current;
c->stars.h_max = h_max; c->stars.h_max = h_max;
if (timer) TIMER_TOC(timer_dorecv_spart); 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