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

Make the starformation none work with current runner.c

parent 8db7d74f
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -31,6 +31,7 @@
#include "parser.h"
#include "equation_of_state.h"
#include "error.h"
#include "cell.h"
/* Starformation struct */
struct star_formation {};
......@@ -46,7 +47,7 @@ struct star_formation {};
* @param cosmo the cosmological parameters and properties
*
* */
INLINE static int starformation_potential_to_become_star(
INLINE static int star_formation_convert_to_star(
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){
......@@ -63,9 +64,10 @@ INLINE static int starformation_potential_to_become_star(
* @param cosmo the cosmological properties
*
* */
INLINE static void starformation_convert_to_gas(
const struct star_formation* starform, const struct part* restrict p,
const struct xpart* restrict xp, const struct cosmology* cosmo) {}
INLINE static void star_formation_copy_properties(
struct engine *e, struct cell *c, struct part* p,
struct xpart* xp, const struct star_formation* starform,
const struct phys_const* const phys_const, const struct cosmology* cosmo) {}
/*
* @brief initialization of the star formation law
......
......@@ -33,6 +33,7 @@
#include "hydro.h"
#include "cooling.h"
#include "adiabatic_index.h"
#include "cell.h"
/* Starformation struct */
struct star_formation {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment