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

Merge branch 'fix_cooling_restart' into 'master'

Grackle: fix restart

See merge request !806
parents 0ab10681 83f9850c
Branches
Tags
1 merge request!806Grackle: fix restart
...@@ -879,6 +879,9 @@ static INLINE void cooling_struct_restore(struct cooling_function_data* cooling, ...@@ -879,6 +879,9 @@ static INLINE void cooling_struct_restore(struct cooling_function_data* cooling,
const struct cosmology* cosmo) { const struct cosmology* cosmo) {
restart_read_blocks((void*)cooling, sizeof(struct cooling_function_data), 1, restart_read_blocks((void*)cooling, sizeof(struct cooling_function_data), 1,
stream, NULL, "cooling function"); stream, NULL, "cooling function");
/* Set up grackle */
cooling_init_grackle(cooling);
} }
#endif /* SWIFT_COOLING_GRACKLE_H */ #endif /* SWIFT_COOLING_GRACKLE_H */
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment