Commit 82aa78b4 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Make the unit tests use the new functions.

parent c0fde36f
......@@ -414,8 +414,8 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
#else
main_cell->parts[pid].density.div_v,
#endif
hydro_get_comoving_entropy(&main_cell->parts[pid]),
hydro_get_comoving_internal_energy(&main_cell->parts[pid]),
hydro_get_drifted_comoving_entropy(&main_cell->parts[pid]),
hydro_get_drifted_comoving_internal_energy(&main_cell->parts[pid]),
hydro_get_comoving_pressure(&main_cell->parts[pid]),
hydro_get_comoving_soundspeed(&main_cell->parts[pid]),
main_cell->parts[pid].a_hydro[0], main_cell->parts[pid].a_hydro[1],
......
......@@ -141,7 +141,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
#else
p->density.div_v,
#endif
hydro_get_comoving_entropy(p), hydro_get_comoving_internal_energy(p),
hydro_get_drifted_comoving_entropy(p),
hydro_get_drifted_comoving_internal_energy(p),
hydro_get_comoving_pressure(p), hydro_get_comoving_soundspeed(p),
p->a_hydro[0], p->a_hydro[1], p->a_hydro[2], p->force.h_dt,
#if defined(GADGET2_SPH)
......
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