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

Finish T and rho checker except for getting the metallicities

parent 88e2e64e
Branches
Tags
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 = hydro_get_physical_internal_energy(
p, xp, cosmo);
const double internal_energy = gas_internal_energy_from_entropy(
p->rho, p->entropy);
/* 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