Skip to content
Snippets Groups Projects
Commit 426f0566 authored by Loic Hausammann's avatar Loic Hausammann
Browse files

GEAR: fix cosmoligical factor

parent 49f31889
No related branches found
No related tags found
1 merge request!1052Gear cosmological simulations
...@@ -98,7 +98,7 @@ pressure_floor_get_comoving_pressure(const struct part* p, ...@@ -98,7 +98,7 @@ pressure_floor_get_comoving_pressure(const struct part* p,
const float pressure_comoving, const float pressure_comoving,
const struct cosmology* cosmo) { const struct cosmology* cosmo) {
const float a_coef = pow_three_gamma_minus_one(cosmo->a) * cosmo->a_inv; const float a_coef = pow_three_gamma_minus_one(cosmo->a);
const float rho = hydro_get_comoving_density(p); const float rho = hydro_get_comoving_density(p);
/* Compute the pressure floor */ /* Compute the pressure floor */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment