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

Add comment in none star formation that always returns 0 and initialize the new_star_flag as zero.

parent 3dfe7628
No related branches found
No related tags found
1 merge request!705Star formation following Schaye08
......@@ -38,6 +38,7 @@ struct star_formation {};
/**
* @brief Calculates if the gas particle gets converted
* The gas will never be converted in none, so always returns 0.
*
* @param the #engine
* @param starform the star formation law properties to use.
......
......@@ -45,6 +45,7 @@ __attribute__((always_inline)) INLINE static void stars_first_init_spart(
struct spart* sp) {
sp->time_bin = 0;
sp->new_star_flag = 0;
}
/**
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment