Commit 92a00495 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Corrected mistake in serial i/o and added missing headed inclusion.

parent 8d9c9727
......@@ -19,6 +19,7 @@
#ifndef SWIFT_DEFAULT_HYDRO_PART_H
#define SWIFT_DEFAULT_HYDRO_PART_H
#include "chemistry_struct.h"
#include "cooling_struct.h"
/* Extra particle data not needed during the SPH loops over neighbours. */
......
......@@ -20,8 +20,6 @@
#define SWIFT_GADGET2_HYDRO_IO_H
#include "adiabatic_index.h"
#include "chemistry_io.h"
#include "cooling.h"
#include "hydro.h"
#include "io_properties.h"
#include "kernel_hydro.h"
......
......@@ -19,6 +19,7 @@
#ifndef SWIFT_GIZMO_HYDRO_PART_H
#define SWIFT_GIZMO_HYDRO_PART_H
#include "chemistry_struct.h"
#include "cooling_struct.h"
/* Extra particle data not needed during the computation. */
......
......@@ -32,6 +32,7 @@
* Physics, 2012, Volume 231, Issue 3, pp. 759-794.
*/
#include "chemistry_struct.h"
#include "cooling_struct.h"
/**
......
......@@ -30,6 +30,7 @@
* Volume 428, Issue 4, pp. 2840-2856 with a simple Balsara viscosity term.
*/
#include "chemistry_struct.h"
#include "cooling_struct.h"
/* Extra particle data not needed during the SPH loops over neighbours. */
......
......@@ -19,6 +19,7 @@
*
******************************************************************************/
#include "chemistry_struct.h"
#include "cooling_struct.h"
#include "voronoi_cell.h"
......
......@@ -36,7 +36,9 @@
#include "parallel_io.h"
/* Local includes. */
#include "chemistry_io.h"
#include "common_io.h"
#include "cooling.h"
#include "dimension.h"
#include "engine.h"
#include "error.h"
......
......@@ -36,7 +36,9 @@
#include "serial_io.h"
/* Local includes. */
#include "chemistry_io.h"
#include "common_io.h"
#include "cooling.h"
#include "dimension.h"
#include "engine.h"
#include "error.h"
......@@ -812,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);
writeChemistryFlavor(h_grp);
writeSPHflavour(h_grp);
H5Gclose(h_grp);
}
......
......@@ -35,7 +35,9 @@
#include "single_io.h"
/* Local includes. */
#include "chemistry_io.h"
#include "common_io.h"
#include "cooling.h"
#include "dimension.h"
#include "engine.h"
#include "error.h"
......
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