Commit 467b0fe7 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Make use of the EoS for dA/dt in Pressure-Entropy

parent 4616fdaa
......@@ -443,7 +443,7 @@ __attribute__((always_inline)) INLINE static void hydro_end_force(
p->force.h_dt *= p->h * hydro_dimension_inv;
p->entropy_dt *=
0.5f * hydro_gamma_minus_one * pow_minus_gamma_minus_one(p->rho_bar);
0.5f * gas_entropy_from_internal_energy(p->rho_bar, p->entropy_dt);
}
/**
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment