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
223d8044
Commit
223d8044
authored
Jun 18, 2018
by
Matthieu Schaller
Browse files
Do not activate the top-level FFT task any more.
parent
48c6cbb3
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/const.h
View file @
223d8044
...
...
@@ -113,4 +113,6 @@
#define SOURCETERMS_NONE
//#define SOURCETERMS_SN_FEEDBACK
#define ICHECK 1000
#endif
/* SWIFT_CONST_H */
src/engine.c
View file @
223d8044
...
...
@@ -4758,14 +4758,6 @@ void engine_unskip(struct engine *e) {
ProfilerStop
();
#endif // WITH_PROFILER
/* And the top level gravity FFT one when periodicity is on.*/
if
(
e
->
s
->
periodic
&&
(
e
->
policy
&
engine_policy_self_gravity
))
{
/* Only if there are other tasks (i.e. something happens on this node) */
if
(
e
->
sched
.
active_count
>
0
)
scheduler_activate
(
&
e
->
sched
,
e
->
s
->
grav_top_level
);
}
if
(
e
->
verbose
)
message
(
"took %.3f %s."
,
clocks_from_ticks
(
getticks
()
-
tic
),
clocks_getunit
());
...
...
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