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
65db26f9
Commit
65db26f9
authored
Dec 11, 2017
by
Matthieu Schaller
Browse files
Removed some debugging code.
parent
f4c853fc
Changes
2
Hide whitespace changes
Inline
Side-by-side
examples/EAGLE_25/eagle_25.yml
View file @
65db26f9
...
...
@@ -13,6 +13,9 @@ TimeIntegration:
dt_min
:
1e-10
# The minimal time-step size of the simulation (in internal units).
dt_max
:
1e-4
# The maximal time-step size of the simulation (in internal units).
Scheduler
:
max_top_level_cells
:
20
# Parameters governing the snapshots
Snapshots
:
basename
:
eagle
# Common part of the name of output files
...
...
src/engine.c
View file @
65db26f9
...
...
@@ -3416,8 +3416,6 @@ int engine_marktasks(struct engine *e) {
const
ticks
tic
=
getticks
();
int
rebuild_space
=
0
;
message
(
"marktask"
);
/* Run through the tasks and mark as skip or not. */
size_t
extra_data
[
3
]
=
{(
size_t
)
e
,
rebuild_space
,
(
size_t
)
&
e
->
sched
};
threadpool_map
(
&
e
->
threadpool
,
engine_marktasks_mapper
,
s
->
tasks
,
s
->
nr_tasks
,
...
...
@@ -4312,8 +4310,8 @@ void engine_init_particles(struct engine *e, int flag_entropy_ICs,
if
(
e
->
verbose
)
message
(
"took %.3f %s."
,
e
->
wallclock_time
,
clocks_getunit
());
}
integertime_t
*
address_hydro
=
0
;
integertime_t
*
address_gravity
=
0
;
/*
integertime_t *address_hydro = 0;
*/
/*
integertime_t *address_gravity = 0;
*/
/**
* @brief Let the #engine loose to compute the forces.
...
...
@@ -4510,8 +4508,6 @@ void engine_unskip(struct engine *e) {
const
ticks
tic
=
getticks
();
message
(
"unskip"
);
/* Activate all the regular tasks */
threadpool_map
(
&
e
->
threadpool
,
runner_do_unskip_mapper
,
e
->
s
->
local_cells_top
,
e
->
s
->
nr_local_cells
,
sizeof
(
int
),
1
,
e
);
...
...
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