Skip to content
Snippets Groups Projects
user avatar
Matthieu Schaller authored
Fixed bug in GIZMO_SPH hydro_get_internal_energy.

The energy stored in `conserved.energy` is not the thermal energy (per unit mass) `u`, but the total thermal energy `u*conserved.mass`. Updated `hydro_get_internal_energy` and `hydro_set_entropy` to reflect this.

See merge request !244
e38c74c8
History
Name Last commit Last update
..