Skip to content
Snippets Groups Projects
Commit 2f19f5a8 authored by Matthieu Schaller's avatar Matthieu Schaller Committed by Loic Hausammann
Browse files

Initialise the minimal temperature correctly.

parent 0bc2f487
No related branches found
No related tags found
1 merge request!577Fix parser
...@@ -123,7 +123,7 @@ void hydro_props_init(struct hydro_props *p, ...@@ -123,7 +123,7 @@ void hydro_props_init(struct hydro_props *p,
/* Compute the minimal energy (Note the temp. read is in internal units) */ /* 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; 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; u_min *= hydro_one_over_gamma_minus_one;
/* Correct for hydrogen mass fraction */ /* 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