Commit deb46390 authored by Peter W. Draper's avatar Peter W. Draper

Merge branch 'fix_incorrect_restart_change' into 'master'

Fix incorrect restart change of parameters

See merge request !1163
parents ac2362fb a1db72b2
......@@ -141,6 +141,7 @@ int engine_current_step;
extern int engine_max_parts_per_ghost;
extern int engine_max_sparts_per_ghost;
extern int engine_max_parts_per_cooling;
/**
* @brief Link a density/force task to a cell.
......@@ -4734,10 +4735,14 @@ void engine_config(int restart, int fof, struct engine *e,
engine_max_parts_per_ghost =
parser_get_opt_param_int(params, "Scheduler:engine_max_parts_per_ghost",
engine_max_parts_per_ghost_default);
engine_max_parts_per_ghost);
engine_max_sparts_per_ghost = parser_get_opt_param_int(
params, "Scheduler:engine_max_sparts_per_ghost",
engine_max_sparts_per_ghost_default);
engine_max_sparts_per_ghost);
engine_max_parts_per_cooling = parser_get_opt_param_int(
params, "Scheduler:engine_max_parts_per_cooling",
engine_max_parts_per_cooling);
}
/* Allocate and init the threads. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment