Skip to content
Snippets Groups Projects
Commit 82aa78b4 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Make the unit tests use the new functions.

parent c0fde36f
No related branches found
No related tags found
No related merge requests found
...@@ -414,8 +414,8 @@ void dump_particle_fields(char *fileName, struct cell *main_cell, ...@@ -414,8 +414,8 @@ void dump_particle_fields(char *fileName, struct cell *main_cell,
#else #else
main_cell->parts[pid].density.div_v, main_cell->parts[pid].density.div_v,
#endif #endif
hydro_get_comoving_entropy(&main_cell->parts[pid]), hydro_get_drifted_comoving_entropy(&main_cell->parts[pid]),
hydro_get_comoving_internal_energy(&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_pressure(&main_cell->parts[pid]),
hydro_get_comoving_soundspeed(&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], 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) { ...@@ -141,7 +141,8 @@ void dump_indv_particle_fields(char *fileName, struct part *p) {
#else #else
p->density.div_v, p->density.div_v,
#endif #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), 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, p->a_hydro[0], p->a_hydro[1], p->a_hydro[2], p->force.h_dt,
#if defined(GADGET2_SPH) #if defined(GADGET2_SPH)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment