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

Update star formation routine

parent 8868e5be
1 merge request!705Star formation following Schaye08
......@@ -97,8 +97,8 @@ static int starformation_potential_to_become_star(
/* Calculate the internal energy using the density and entropy */
/* Ask Matthieu about p->entropy vs xp->entropy_full */
const double internal_energy = gas_internal_energy_from_entropy(
p->rho, p->entropy);
const double internal_energy = hydro_get_physical_internal_energy(
p, xp, cosmo);
/* Calculate the temperature over mu of the gas */
/* Temporary part of the code!! */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment