Skip to content
Snippets Groups Projects
Commit ff1392d1 authored by John Helly's avatar John Helly
Browse files

Only require black hole seed mass if seeding black holes

parent 0acd6344
Branches
Tags
1 merge request!1190Run FOF on snapshots with or without seeding black holes
...@@ -136,7 +136,7 @@ void fof_init(struct fof_props *props, struct swift_params *params, ...@@ -136,7 +136,7 @@ void fof_init(struct fof_props *props, struct swift_params *params,
if (props->l_x_ratio <= 0. && props->l_x_absolute == -1.) if (props->l_x_ratio <= 0. && props->l_x_absolute == -1.)
error("The FOF linking length ratio can't be negative!"); error("The FOF linking length ratio can't be negative!");
if (!stand_alone_fof) { if (!stand_alone_fof && props->seed_black_holes_enabled) {
/* Read the minimal halo mass for black hole seeding */ /* Read the minimal halo mass for black hole seeding */
props->seed_halo_mass = props->seed_halo_mass =
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment