From 38824b448ad56f1442dfd7c739c71210b85da43e Mon Sep 17 00:00:00 2001
From: Matthieu Schaller <matthieu.schaller@durham.ac.uk>
Date: Wed, 17 Jan 2018 22:52:26 +0100
Subject: [PATCH] Also use better naming convention for the output of the hydro
 scheme flavour.

---
 src/hydro/Gadget2/hydro_io.h         | 2 +-
 src/hydro/Gizmo/hydro_io.h           | 2 +-
 src/hydro/Minimal/hydro_io.h         | 2 +-
 src/hydro/PressureEntropy/hydro_io.h | 2 +-
 src/hydro/Shadowswift/hydro_io.h     | 2 +-
 src/parallel_io.c                    | 2 +-
 src/serial_io.c                      | 2 +-
 src/single_io.c                      | 2 +-
 8 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/hydro/Gadget2/hydro_io.h b/src/hydro/Gadget2/hydro_io.h
index 72f2e33ff9..917e260fbd 100644
--- a/src/hydro/Gadget2/hydro_io.h
+++ b/src/hydro/Gadget2/hydro_io.h
@@ -137,7 +137,7 @@ void hydro_write_particles(const struct part* parts, struct io_props* list,
  * @brief Writes the current model of SPH to the file
  * @param h_grpsph The HDF5 group in which to write
  */
-void writeSPHflavour(hid_t h_grpsph) {
+void hydro_write_flavour(hid_t h_grpsph) {
 
   /* Viscosity and thermal conduction */
   io_write_attribute_s(h_grpsph, "Thermal Conductivity Model",
diff --git a/src/hydro/Gizmo/hydro_io.h b/src/hydro/Gizmo/hydro_io.h
index 9d6acf4155..72f75405de 100644
--- a/src/hydro/Gizmo/hydro_io.h
+++ b/src/hydro/Gizmo/hydro_io.h
@@ -161,7 +161,7 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
  * @brief Writes the current model of SPH to the file
  * @param h_grpsph The HDF5 group in which to write
  */
-void writeSPHflavour(hid_t h_grpsph) {
+void hydro_write_flavour(hid_t h_grpsph) {
   /* Gradient information */
   io_write_attribute_s(h_grpsph, "Gradient reconstruction model",
                        HYDRO_GRADIENT_IMPLEMENTATION);
diff --git a/src/hydro/Minimal/hydro_io.h b/src/hydro/Minimal/hydro_io.h
index 771e4ac2d0..d30d1e6ce6 100644
--- a/src/hydro/Minimal/hydro_io.h
+++ b/src/hydro/Minimal/hydro_io.h
@@ -132,7 +132,7 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
  * @brief Writes the current model of SPH to the file
  * @param h_grpsph The HDF5 group in which to write
  */
-void writeSPHflavour(hid_t h_grpsph) {
+void hydro_write_flavour(hid_t h_grpsph) {
 
   /* Viscosity and thermal conduction */
   /* Nothing in this minimal model... */
diff --git a/src/hydro/PressureEntropy/hydro_io.h b/src/hydro/PressureEntropy/hydro_io.h
index d3780261ba..3c06f60408 100644
--- a/src/hydro/PressureEntropy/hydro_io.h
+++ b/src/hydro/PressureEntropy/hydro_io.h
@@ -133,7 +133,7 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
  * @brief Writes the current model of SPH to the file
  * @param h_grpsph The HDF5 group in which to write
  */
-void writeSPHflavour(hid_t h_grpsph) {
+void hydro_write_flavour(hid_t h_grpsph) {
 
   /* Viscosity and thermal conduction */
   /* Nothing in this minimal model... */
diff --git a/src/hydro/Shadowswift/hydro_io.h b/src/hydro/Shadowswift/hydro_io.h
index f6f6fcc6c0..65cb4ee6b8 100644
--- a/src/hydro/Shadowswift/hydro_io.h
+++ b/src/hydro/Shadowswift/hydro_io.h
@@ -164,7 +164,7 @@ void hydro_write_particles(struct part* parts, struct io_props* list,
  * @brief Writes the current model of SPH to the file
  * @param h_grpsph The HDF5 group in which to write
  */
-void writeSPHflavour(hid_t h_grpsph) {
+void hydro_write_flavour(hid_t h_grpsph) {
   /* Gradient information */
   io_write_attribute_s(h_grpsph, "Gradient reconstruction model",
                        HYDRO_GRADIENT_IMPLEMENTATION);
diff --git a/src/parallel_io.c b/src/parallel_io.c
index 5ea11c7e88..3e93792ecf 100644
--- a/src/parallel_io.c
+++ b/src/parallel_io.c
@@ -960,7 +960,7 @@ void write_output_parallel(struct engine* e, const char* baseName,
                       H5P_DEFAULT);
     if (h_grp < 0) error("Error while creating SPH group");
     hydro_props_print_snapshot(h_grp, e->hydro_properties);
-    writeSPHflavour(h_grp);
+    hydro_write_flavour(h_grp);
     H5Gclose(h_grp);
   }
 
diff --git a/src/serial_io.c b/src/serial_io.c
index 8a93ef8fbe..38dd3b3e4d 100644
--- a/src/serial_io.c
+++ b/src/serial_io.c
@@ -814,7 +814,7 @@ void write_output_serial(struct engine* e, const char* baseName,
                         H5P_DEFAULT);
       if (h_grp < 0) error("Error while creating SPH group");
       hydro_props_print_snapshot(h_grp, e->hydro_properties);
-      writeSPHflavour(h_grp);
+      hydro_write_flavour(h_grp);
       H5Gclose(h_grp);
     }
 
diff --git a/src/single_io.c b/src/single_io.c
index a07c442442..e8e281b68b 100644
--- a/src/single_io.c
+++ b/src/single_io.c
@@ -664,7 +664,7 @@ void write_output_single(struct engine* e, const char* baseName,
                       H5P_DEFAULT);
     if (h_grp < 0) error("Error while creating SPH group");
     hydro_props_print_snapshot(h_grp, e->hydro_properties);
-    writeSPHflavour(h_grp);
+    hydro_write_flavour(h_grp);
     H5Gclose(h_grp);
   }
 
-- 
GitLab