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

Revert "Add the name of the equation of state to the snapshot meta-data."

This reverts commit f99fc622.
parent ddd3f7a4
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment