diff --git a/src/engine.h b/src/engine.h index 0a62e976b3eed6468e15c97a7e25c76aabd4da2f..4e5e8e8562f0730519ad9168de71f62255fd237a 100644 --- a/src/engine.h +++ b/src/engine.h @@ -416,6 +416,7 @@ void engine_init(struct engine *e, struct space *s, struct swift_params *params, struct pm_mesh *mesh, const struct external_potential *potential, struct cooling_function_data *cooling_func, + const struct star_formation *starform, const struct chemistry_global_data *chemistry); void engine_config(int restart, struct engine *e, struct swift_params *params, int nr_nodes, int nodeID, int nr_threads, int with_aff, diff --git a/src/starformation/none/starformation.h b/src/starformation/none/starformation.h index 40c46102dda772a90a8e148ae9d696a1b0b534c2..023ddf00b692f4b2d7f657adfd12a534f7c0606e 100644 --- a/src/starformation/none/starformation.h +++ b/src/starformation/none/starformation.h @@ -47,8 +47,8 @@ struct star_formation {}; * * */ int starformation_potential_to_become_star( - const struct star_formation* starform, struct parts* restrict p, - const struct xparts* restrict xp, const struct phys_const* const phys_const, + const struct star_formation* starform, struct part* restrict p, + const struct xpart* restrict xp, const struct phys_const* const phys_const, const struct cosmology* cosmo){ return 0; @@ -64,8 +64,8 @@ int starformation_potential_to_become_star( * * */ void starformation_convert_to_gas( - const struct star_formation* starform, const struct parts* restrict p, - const struct xparts* restrict xp, const struct cosmology* cosmo) {} + const struct star_formation* starform, const struct part* restrict p, + const struct xpart* restrict xp, const struct cosmology* cosmo) {} /* * @brief initialization of the star formation law