Commit bdd96337 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Removed the unused constant 'const_max_u_change'.

parent 29d124d4
......@@ -20,9 +20,6 @@
#ifndef SWIFT_CONST_H
#define SWIFT_CONST_H
/* Time integration constants. */
#define const_max_u_change 0.1f
/* I/O Constant; this determines the relative tolerance between the value of
* redshift read from the snapshot, and the value from the parameter file. This
* current value asserts that they must match within 0.1%. */
......
......@@ -229,10 +229,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
"Simple treatment as in Price (2008)");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Simplified version of Cullen & Denhen (2011)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -229,10 +229,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
"Simple treatment as in Price (2017)");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Simplified version of Cullen & Denhen (2011)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -211,10 +211,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
io_write_attribute_s(h_grpsph, "Thermal Conductivity Model", "No treatment");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Minimal treatment as in Monaghan (1992)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -214,10 +214,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
h_grpsph, "Viscosity Model",
"as in Springel (2005), i.e. Monaghan (1992) with Balsara (1995) switch");
#endif
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -210,10 +210,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
io_write_attribute_s(h_grpsph, "Thermal Conductivity Model", "No treatment");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Minimal treatment as in Monaghan (1992)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -215,10 +215,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
io_write_attribute_s(h_grpsph, "Thermal Conductivity Model", "No treatment");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Variable viscosity as in Morris and Monaghan (1997)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -217,10 +217,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
io_write_attribute_s(
h_grpsph, "Viscosity Model",
"as in Springel (2005), i.e. Monaghan (1992) with Balsara (1995) switch");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
......@@ -222,10 +222,6 @@ INLINE static void hydro_write_flavour(hid_t h_grpsph) {
"Simple treatment as in Price (2008)");
io_write_attribute_s(h_grpsph, "Viscosity Model",
"Simplified version of Cullen & Denhen (2011)");
/* Time integration properties */
io_write_attribute_f(h_grpsph, "Maximal Delta u change over dt",
const_max_u_change);
}
/**
......
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