diff --git a/src/cell.c b/src/cell.c index 92f53d7ca8499457248baa6b1bd0fb86380e4159..9c88cc0fc625928385cbe274b8a6a2b05f503e83 100644 --- a/src/cell.c +++ b/src/cell.c @@ -4548,6 +4548,7 @@ void cell_drift_part(struct cell *c, const struct engine *e, int force) { hydro_init_part(p, &e->s->hs); chemistry_init_part(p, e->chemistry); pressure_floor_init_part(p, xp); + star_formation_init_part(p, e->star_formation); tracers_after_init(p, xp, e->internal_units, e->physical_constants, with_cosmology, e->cosmology, e->hydro_properties, e->cooling_func, e->time); diff --git a/src/space.c b/src/space.c index 61bce1394729a6c325c9e64a08c86394a6dd359a..8ff331883b9366ea25405854ce74860f7f7b5bf7 100644 --- a/src/space.c +++ b/src/space.c @@ -4381,6 +4381,7 @@ void space_init_parts_mapper(void *restrict map_data, int count, hydro_init_part(&parts[k], hs); chemistry_init_part(&parts[k], e->chemistry); pressure_floor_init_part(&parts[k], &xparts[k]); + star_formation_init_part(&parts[k], e->star_formation); tracers_after_init(&parts[k], &xparts[k], e->internal_units, e->physical_constants, with_cosmology, e->cosmology, e->hydro_properties, e->cooling_func, e->time);