Skip to content
Snippets Groups Projects
Commit cbdc7888 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Temporary update to the EAGLE cooling function signatures in preparation for the actual merge.

parent 465f6eb6
No related branches found
No related tags found
No related merge requests found
...@@ -54,8 +54,10 @@ __attribute__((always_inline)) INLINE static void cooling_cool_part( ...@@ -54,8 +54,10 @@ __attribute__((always_inline)) INLINE static void cooling_cool_part(
const struct phys_const* restrict phys_const, const struct phys_const* restrict phys_const,
const struct unit_system* restrict us, const struct unit_system* restrict us,
const struct cosmology* restrict cosmo, const struct cosmology* restrict cosmo,
const struct hydro_props* hydro_props,
const struct cooling_function_data* restrict cooling, const struct cooling_function_data* restrict cooling,
struct part* restrict p, struct xpart* restrict xp, float dt) {} struct part* restrict p, struct xpart* restrict xp, const float dt,
const float dt_therm) {}
/** /**
* @brief Computes the cooling time-step. * @brief Computes the cooling time-step.
...@@ -70,7 +72,9 @@ __attribute__((always_inline)) INLINE static float cooling_timestep( ...@@ -70,7 +72,9 @@ __attribute__((always_inline)) INLINE static float cooling_timestep(
const struct cooling_function_data* restrict cooling, const struct cooling_function_data* restrict cooling,
const struct phys_const* restrict phys_const, const struct phys_const* restrict phys_const,
const struct cosmology* restrict cosmo, const struct cosmology* restrict cosmo,
const struct unit_system* restrict us, const struct part* restrict p) { const struct unit_system* restrict us,
const struct hydro_props* hydro_props, const struct part* restrict p,
const struct xpart* restrict xp) {
return FLT_MAX; return FLT_MAX;
} }
......
...@@ -28,13 +28,13 @@ ...@@ -28,13 +28,13 @@
#ifdef HAVE_HDF5 #ifdef HAVE_HDF5
/** /**
* @brief Writes the current model of SPH to the file * @brief Writes the current model of cooling to the file
* @param h_grpsph The HDF5 group in which to write * @param h_grp The HDF5 group in which to write
*/ */
__attribute__((always_inline)) INLINE static void cooling_write_flavour( __attribute__((always_inline)) INLINE static void cooling_write_flavour(
hid_t h_grpsph) { hid_t h_grp, const struct cooling_function_data* cooling) {
io_write_attribute_s(h_grpsph, "Cooling Model", "EAGLE"); io_write_attribute_s(h_grp, "Cooling Model", "EAGLE");
} }
#endif #endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment