diff --git a/src/const.h b/src/const.h index 4040922b6fb8b3837a19e149adb04aad1125d6da..b1e7e777e52d13785da8eeb7e4ca13019234ebef 100644 --- a/src/const.h +++ b/src/const.h @@ -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%. */ diff --git a/src/hydro/AnarchyPU/hydro_io.h b/src/hydro/AnarchyPU/hydro_io.h index 25fa28fc26f10ea5ec3da323ff665aa1839baccd..2d02b350caada74a9054ab7d698fe90c3d0b2736 100644 --- a/src/hydro/AnarchyPU/hydro_io.h +++ b/src/hydro/AnarchyPU/hydro_io.h @@ -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); } /** diff --git a/src/hydro/Default/hydro_io.h b/src/hydro/Default/hydro_io.h index 7a51b8cd5086074bdf1795cd1e92f518ab9f8e44..849903d46b2dc0d79dae3ba623c494a1ac507a49 100644 --- a/src/hydro/Default/hydro_io.h +++ b/src/hydro/Default/hydro_io.h @@ -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); } /** diff --git a/src/hydro/Minimal/hydro_io.h b/src/hydro/Minimal/hydro_io.h index aa5b17acaf7b68d24602b0a242ddd16f6e6b752e..9239de218e513fc2e9ae9e03d08dd421b6923d38 100644 --- a/src/hydro/Minimal/hydro_io.h +++ b/src/hydro/Minimal/hydro_io.h @@ -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); } /** diff --git a/src/hydro/Planetary/hydro_io.h b/src/hydro/Planetary/hydro_io.h index b0599ceba9101be21c843838c600e2e971cb3e69..bf939ffa2c0052eb728abb182e5719bb914df122 100644 --- a/src/hydro/Planetary/hydro_io.h +++ b/src/hydro/Planetary/hydro_io.h @@ -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); } /** diff --git a/src/hydro/PressureEnergy/hydro_io.h b/src/hydro/PressureEnergy/hydro_io.h index 98ae52e273279716238158c594c946e8b3ed2062..2be85e79b67eba1d9d6306a64f7639cae4bac291 100644 --- a/src/hydro/PressureEnergy/hydro_io.h +++ b/src/hydro/PressureEnergy/hydro_io.h @@ -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); } /** diff --git a/src/hydro/PressureEnergyMorrisMonaghanAV/hydro_io.h b/src/hydro/PressureEnergyMorrisMonaghanAV/hydro_io.h index e77bf21f192f5ba628d4ad337cc1f309de015955..69385e5609609a6fe9451d2b3f2aa8fad1e50830 100644 --- a/src/hydro/PressureEnergyMorrisMonaghanAV/hydro_io.h +++ b/src/hydro/PressureEnergyMorrisMonaghanAV/hydro_io.h @@ -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); } /** diff --git a/src/hydro/PressureEntropy/hydro_io.h b/src/hydro/PressureEntropy/hydro_io.h index d7168f39557a6a9b6abbfd770e7739e6350b06a1..d3c800e03ff46920d203ef0831fa2d7a5c48b077 100644 --- a/src/hydro/PressureEntropy/hydro_io.h +++ b/src/hydro/PressureEntropy/hydro_io.h @@ -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); } /** diff --git a/src/hydro/SPHENIX/hydro_io.h b/src/hydro/SPHENIX/hydro_io.h index ca333d4ed68e0a7f4e734b5cb3bead609afc90a5..1b2d31a0ff3d8b244372f538b785109d9f1191a8 100644 --- a/src/hydro/SPHENIX/hydro_io.h +++ b/src/hydro/SPHENIX/hydro_io.h @@ -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); } /**