diff --git a/src/equation_of_state.h b/src/equation_of_state.h index 5b0cccdc0770f3c834c0c8b42a243bac7859161b..d170ce1a7c5c64fe95e415c997c037caeb576258 100644 --- a/src/equation_of_state.h +++ b/src/equation_of_state.h @@ -32,13 +32,10 @@ /* Import the right functions */ #if defined(EOS_IDEAL_GAS) #include "./equation_of_state/ideal_gas/equation_of_state.h" -#define EOS_NAME "Ideal gas" #elif defined(EOS_ISOTHERMAL_GAS) #include "./equation_of_state/isothermal/equation_of_state.h" -#define EOS_NAME "Isothermal gas" #elif defined(EOS_PLANETARY) #include "./equation_of_state/planetary/equation_of_state.h" -#define EOS_NAME "Planetary (variable) gas" #else #error "Invalid choice of equation of state" #endif diff --git a/src/hydro_properties.c b/src/hydro_properties.c index 8f98467186bc10299c7e3722efd632c2fbf9fd9a..8b29727e189722dbb20d460aef4d340e95f6230d 100644 --- a/src/hydro_properties.c +++ b/src/hydro_properties.c @@ -281,7 +281,6 @@ void hydro_props_print_snapshot(hid_t h_grpsph, const struct hydro_props *p) { io_write_attribute_i(h_grpsph, "Dimension", (int)hydro_dimension); io_write_attribute_f(h_grpsph, "Adiabatic index", hydro_gamma); - io_write_attribute_s(h_grpsph, "Equation of state", EOS_NAME); io_write_attribute_s(h_grpsph, "Scheme", SPH_IMPLEMENTATION); io_write_attribute_s(h_grpsph, "Kernel function", kernel_name); io_write_attribute_f(h_grpsph, "Kernel target N_ngb", p->target_neighbours);