Skip to content
Snippets Groups Projects
Commit e9d05916 authored by Matthieu Schaller's avatar Matthieu Schaller Committed by Matthieu Schaller
Browse files

Initialise the minimal temperature correctly.

parent ab123564
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,7 @@ void hydro_props_init(struct hydro_props *p,
/* Compute the minimal energy (Note the temp. read is in internal units) */
double u_min = phys_const->const_boltzmann_k / phys_const->const_proton_mass;
u_min *= p->initial_temperature;
u_min *= p->minimal_temperature;
u_min *= hydro_one_over_gamma_minus_one;
/* Correct for hydrogen mass fraction */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment