Skip to content
Snippets Groups Projects
Commit 824efcce authored by Alexei Borissov's avatar Alexei Borissov Committed by Alexei Borissov
Browse files

fixed issues with compiling without cooling

parent 7f83b4fe
No related branches found
No related tags found
1 merge request!593Eagle cooling
...@@ -20,11 +20,6 @@ ...@@ -20,11 +20,6 @@
/* Config parameters. */ /* Config parameters. */
#include "../config.h" #include "../config.h"
#if defined(COOLING_EAGLE)
#include "./cooling/EAGLE/cooling_struct.h"
#include "./cooling/EAGLE/eagle_cool_tables.h"
#endif
/* This object's header. */ /* This object's header. */
#include "cooling.h" #include "cooling.h"
#include "restart.h" #include "restart.h"
......
...@@ -972,8 +972,7 @@ __attribute__((always_inline)) INLINE float cooling_timestep( ...@@ -972,8 +972,7 @@ __attribute__((always_inline)) INLINE 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 part *restrict p) {
const struct xpart *restrict xp) {
/* Remember to update when using an implicit integrator */ /* Remember to update when using an implicit integrator */
// const float cooling_rate = cooling->cooling_rate; // const float cooling_rate = cooling->cooling_rate;
......
...@@ -105,8 +105,7 @@ float cooling_timestep(const struct cooling_function_data *restrict, ...@@ -105,8 +105,7 @@ float cooling_timestep(const struct cooling_function_data *restrict,
const struct phys_const *restrict, const struct phys_const *restrict,
const struct cosmology *restrict, const struct cosmology *restrict,
const struct unit_system *restrict, const struct unit_system *restrict,
const struct part *restrict, const struct part *restrict);
const struct xpart *restrict);
void cooling_first_init_part(const struct phys_const *restrict, void cooling_first_init_part(const struct phys_const *restrict,
const struct unit_system *restrict, const struct unit_system *restrict,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment