Commit 670f8b6e authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Restore the splitting of tasks

parent 9e4c7055
......@@ -30,7 +30,7 @@ Statistics:
# Parameters for the self-gravity scheme
Gravity:
eta: 0.025 # Constant dimensionless multiplier for time integration.
theta: 0.85 # Opening angle (Multipole acceptance criterion)
theta: 2.5 # Opening angle (Multipole acceptance criterion)
epsilon: 0.001 # Softening length (in internal units).
# Parameters for the hydrodynamics scheme
......
......@@ -2887,7 +2887,7 @@ void engine_maketasks(struct engine *e) {
error("We have particles but no hydro or gravity tasks were created.");
/* Split the tasks. */
// scheduler_splittasks(sched);
scheduler_splittasks(sched);
/* Free the old list of cell-task links. */
if (e->links != NULL) free(e->links);
......@@ -3574,7 +3574,7 @@ void engine_prepare(struct engine *e) {
engine_unskip(e);
// engine_marktasks(e);
space_print_cells(e->s);
//space_print_cells(e->s);
// engine_print_task_counts(e);
......
......@@ -163,8 +163,6 @@ void runner_do_grav_fft(struct runner* r, int timer) {
#ifdef HAVE_FFTW
message("doing FFT");
const struct engine* e = r->e;
const struct space* s = e->s;
const integertime_t ti_current = e->ti_current;
......
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