diff --git a/src/chemistry/gear/chemistry_io.h b/src/chemistry/gear/chemistry_io.h index 1be8ee49e33c5a7a0193db4af57d69408c2c1134..8a6cb2279ce444d47bf732b8f89b5f161dbb6994 100644 --- a/src/chemistry/gear/chemistry_io.h +++ b/src/chemistry/gear/chemistry_io.h @@ -60,7 +60,7 @@ int chemistry_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 writeChemistryFlavor(hid_t h_grpsph) { +void chemistry_write_flavour(hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Chemistry Model", "GEAR"); } diff --git a/src/chemistry/none/chemistry_io.h b/src/chemistry/none/chemistry_io.h index 6070ca0df12c67077b15e8d86f02d0d3390156ef..3f1d3329e9745c21dbc61c7ae9024f69722084e5 100644 --- a/src/chemistry/none/chemistry_io.h +++ b/src/chemistry/none/chemistry_io.h @@ -57,7 +57,7 @@ int chemistry_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 writeChemistryFlavor(hid_t h_grpsph) { +void chemistry_write_flavour(hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Chemistry Model", "None"); } diff --git a/src/cooling/const_du/cooling.h b/src/cooling/const_du/cooling.h index 1becafb4fe3702240d726ab5f177c16f0f4e1415..aae8e1aa46453ef8c5d952f40db500a124100e98 100644 --- a/src/cooling/const_du/cooling.h +++ b/src/cooling/const_du/cooling.h @@ -48,7 +48,7 @@ * @brief Writes the current model of SPH to the file * @param h_grpsph The HDF5 group in which to write */ -__attribute__((always_inline)) INLINE static void writeCoolingFlavor( +__attribute__((always_inline)) INLINE static void cooling_write_flavour( hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Cooling Model", "Constant du/dt"); diff --git a/src/cooling/const_lambda/cooling.h b/src/cooling/const_lambda/cooling.h index 5e166b562a34f7111468d40e2eb79e97f61a0bd8..04f7e2ef6b12fc6e5f078127b6f49c18906ac31c 100644 --- a/src/cooling/const_lambda/cooling.h +++ b/src/cooling/const_lambda/cooling.h @@ -41,7 +41,7 @@ * @brief Writes the current model of SPH to the file * @param h_grpsph The HDF5 group in which to write */ -__attribute__((always_inline)) INLINE static void writeCoolingFlavor( +__attribute__((always_inline)) INLINE static void cooling_write_flavour( hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Cooling Model", "Constant Lambda"); diff --git a/src/cooling/grackle/cooling.h b/src/cooling/grackle/cooling.h index 1d182b2ad395392ac92078f760ef3450537de664..2ec103ae36969532e8246328ab32cb5428ea842a 100644 --- a/src/cooling/grackle/cooling.h +++ b/src/cooling/grackle/cooling.h @@ -46,7 +46,7 @@ * @brief Writes the current model of SPH to the file * @param h_grpsph The HDF5 group in which to write */ -__attribute__((always_inline)) INLINE static void writeCoolingFlavor( +__attribute__((always_inline)) INLINE static void cooling_write_flavour( hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Cooling Model", "Grackle"); diff --git a/src/cooling/none/cooling.h b/src/cooling/none/cooling.h index 86a4444d2f249c33335bf5d1a10947667afea20e..f180dd41eb454fbdea1124bf6a51431574c2d1f7 100644 --- a/src/cooling/none/cooling.h +++ b/src/cooling/none/cooling.h @@ -41,7 +41,7 @@ * @brief Writes the current model of SPH to the file * @param h_grpsph The HDF5 group in which to write */ -__attribute__((always_inline)) INLINE static void writeCoolingFlavor( +__attribute__((always_inline)) INLINE static void cooling_write_flavour( hid_t h_grpsph) { io_write_attribute_s(h_grpsph, "Cooling Model", "None"); diff --git a/src/hydro/Default/hydro_io.h b/src/hydro/Default/hydro_io.h index 8c12f015bd69dc917a80c564422676a85ffcfb3b..2567545b25f55e03b104844a4142da9cbe397fb5 100644 --- a/src/hydro/Default/hydro_io.h +++ b/src/hydro/Default/hydro_io.h @@ -102,7 +102,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 */ io_write_attribute_s(h_grpsph, "Thermal Conductivity Model", diff --git a/src/parallel_io.c b/src/parallel_io.c index 9d1d638047daf3d28faa2b3e4056e2db8a244309..5ea11c7e884a239773e69990370f0af9a31f921e 100644 --- a/src/parallel_io.c +++ b/src/parallel_io.c @@ -968,8 +968,8 @@ void write_output_parallel(struct engine* e, const char* baseName, h_grp = H5Gcreate(h_file, "/SubgridScheme", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); if (h_grp < 0) error("Error while creating subgrid group"); - writeCoolingFlavor(h_grp); - writeChemistryFlavor(h_grp); + cooling_write_flavour(h_grp); + chemistry_write_flavour(h_grp); H5Gclose(h_grp); /* Print the gravity parameters */ diff --git a/src/serial_io.c b/src/serial_io.c index d4705f7d09a50cf29fbe91ced221c287aa63ec40..8a93ef8fbeb6f3bb7331d6bf030b93836b1adfc6 100644 --- a/src/serial_io.c +++ b/src/serial_io.c @@ -822,8 +822,8 @@ void write_output_serial(struct engine* e, const char* baseName, h_grp = H5Gcreate(h_file, "/SubgridScheme", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); if (h_grp < 0) error("Error while creating subgrid group"); - writeCoolingFlavor(h_grp); - writeChemistryFlavor(h_grp); + cooling_write_flavour(h_grp); + chemistry_write_flavour(h_grp); H5Gclose(h_grp); /* Print the gravity parameters */ diff --git a/src/single_io.c b/src/single_io.c index 0e000ab4e6186d585281b5b44d5733ef0aec56de..a07c442442d55d31f4810d1229b5d6e5c4e45cca 100644 --- a/src/single_io.c +++ b/src/single_io.c @@ -672,8 +672,8 @@ void write_output_single(struct engine* e, const char* baseName, h_grp = H5Gcreate(h_file, "/SubgridScheme", H5P_DEFAULT, H5P_DEFAULT, H5P_DEFAULT); if (h_grp < 0) error("Error while creating subgrid group"); - writeCoolingFlavor(h_grp); - writeChemistryFlavor(h_grp); + cooling_write_flavour(h_grp); + chemistry_write_flavour(h_grp); H5Gclose(h_grp); /* Print the gravity parameters */