Skip to content
Snippets Groups Projects
Commit 4bc1b1bf authored by Folkert Nobels's avatar Folkert Nobels
Browse files

Debug: Fix spelling error in variable name and update engine_init to include struct star_formation

parent f5df308d
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -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,
......
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment