Commit 38824b44 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Also use better naming convention for the output of the hydro scheme flavour.

parent acffde16
......@@ -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",
......
......@@ -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);
......
......@@ -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... */
......
......@@ -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... */
......
......@@ -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);
......
......@@ -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);
}
......
......@@ -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);
}
......
......@@ -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);
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment