From 5e36d8f55d39f8e806494afa3911b21aafe1026f Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <schaller@strw.leidenuniv.nl>
Date: Sat, 6 Apr 2019 15:17:21 +0100
Subject: [PATCH] Revert "Add the name of the equation of state to the snapshot
 meta-data."

This reverts commit f99fc6227b5390acd555f300154e960795934390.
---
 src/equation_of_state.h | 3 ---
 src/hydro_properties.c  | 1 -
 2 files changed, 4 deletions(-)

diff --git a/src/equation_of_state.h b/src/equation_of_state.h
index 5b0cccdc07..d170ce1a7c 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 8f98467186..8b29727e18 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);
-- 
GitLab