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

When creating a star from gas, also synchronise the drifting points.

parent 7591ce2e
No related branches found
No related tags found
2 merge requests!688Star formation (non-MPI),!684Add star particles on-the-fly
......@@ -556,6 +556,7 @@ void runner_do_star_formation(struct runner *r, struct cell *c, int timer) {
#ifdef SWIFT_DEBUG_CHECKS
sp->ti_kick = gp->ti_kick;
gp->ti_drift = sp->drift;
#endif
/* Set a smoothing length */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment