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

Merge branch 'restart-extra-defaults' into 'master'

Respect the extra parts builtin defaults on restart

See merge request !1533
parents 1501b338 761a2046
No related branches found
No related tags found
2 merge requests!1548Mayor Sync,!1533Respect the extra parts builtin defaults on restart
......@@ -796,13 +796,13 @@ void engine_config(int restart, int fof, struct engine *e,
parser_get_opt_param_int(params, "Scheduler:cell_subdepth_diff_grav",
space_subdepth_diff_grav_default);
space_extra_parts = parser_get_opt_param_int(
params, "Scheduler:cell_extra_parts", space_extra_parts);
params, "Scheduler:cell_extra_parts", space_extra_parts_default);
space_extra_sparts = parser_get_opt_param_int(
params, "Scheduler:cell_extra_sparts", space_extra_sparts);
params, "Scheduler:cell_extra_sparts", space_extra_sparts_default);
space_extra_gparts = parser_get_opt_param_int(
params, "Scheduler:cell_extra_gparts", space_extra_gparts);
params, "Scheduler:cell_extra_gparts", space_extra_gparts_default);
space_extra_bparts = parser_get_opt_param_int(
params, "Scheduler:cell_extra_bparts", space_extra_bparts);
params, "Scheduler:cell_extra_bparts", space_extra_bparts_default);
/* Do we want any spare particles for on the fly creation?
This condition should be the same than in space.c */
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment