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

Code formatting

parent 78019f2c
No related branches found
No related tags found
1 merge request!825EAGLE star formation: Change the over density criteria
......@@ -72,7 +72,8 @@ struct cosmology {
/*! Hubble constant at the current redshift (in internal units) */
double H;
/*! The critical density at the current redshift (in internal physical units) */
/*! The critical density at the current redshift (in internal physical units)
*/
double critical_density;
/*! The critical density at redshift 0 (in internal physical units) */
......@@ -81,7 +82,8 @@ struct cosmology {
/*! The mean density at the current redshift (in internal physical units) */
double mean_density;
/*! The mean baryonic density at the current redshift (in internal physical units) */
/*! The mean baryonic density at the current redshift (in internal physical
* units) */
double mean_density_Omega_b;
/*! Conversion factor from internal time-step size to cosmological step */
......
......@@ -212,7 +212,8 @@ INLINE static int star_formation_is_star_forming(
const struct cooling_function_data* restrict cooling,
const struct entropy_floor_properties* restrict entropy_floor_props) {
/* Minimal density (converted from mean baryonic density) for star formation */
/* Minimal density (converted from mean baryonic density) for star formation
*/
const double rho_mean_b_times_min_over_den =
cosmo->mean_density_Omega_b * starform->min_over_den;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment