Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
SWIFT
SWIFTsim
Commits
670f8b6e
Commit
670f8b6e
authored
Nov 23, 2017
by
Matthieu Schaller
Browse files
Restore the splitting of tasks
parent
9e4c7055
Changes
3
Hide whitespace changes
Inline
Side-by-side
examples/EAGLE_6/eagle_6.yml
View file @
670f8b6e
...
...
@@ -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
...
...
src/engine.c
View file @
670f8b6e
...
...
@@ -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);
...
...
src/runner_doiact_fft.c
View file @
670f8b6e
...
...
@@ -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
;
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment