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
77eabe80
Commit
77eabe80
authored
Aug 16, 2019
by
Matthieu Schaller
Browse files
Do not specify the delta_time between snapshots when using an output list.
parent
18c66574
Changes
4
Hide whitespace changes
Inline
Side-by-side
examples/EAGLE_ICs/EAGLE_12/eagle_12.yml
View file @
77eabe80
...
...
@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots
Snapshots
:
basename
:
eagle
# Common part of the name of output files
scale_factor_first
:
0.05
delta_time
:
1.02
output_list_on
:
1
output_list
:
./output_list.txt
...
...
examples/EAGLE_ICs/EAGLE_25/eagle_25.yml
View file @
77eabe80
...
...
@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots
Snapshots
:
basename
:
eagle
# Common part of the name of output files
scale_factor_first
:
0.05
delta_time
:
1.02
output_list_on
:
1
output_list
:
./output_list.txt
...
...
examples/EAGLE_ICs/EAGLE_50/eagle_50.yml
View file @
77eabe80
...
...
@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots
Snapshots
:
basename
:
eagle
# Common part of the name of output files
scale_factor_first
:
0.05
delta_time
:
1.02
output_list_on
:
1
output_list
:
./output_list.txt
...
...
src/engine.c
View file @
77eabe80
...
...
@@ -4948,7 +4948,7 @@ void engine_init(struct engine *e, struct space *s, struct swift_params *params,
e
->
time_first_snapshot
=
parser_get_opt_param_double
(
params
,
"Snapshots:time_first"
,
0
.);
e
->
delta_time_snapshot
=
parser_get_param_double
(
params
,
"Snapshots:delta_time"
);
parser_get_
opt_
param_double
(
params
,
"Snapshots:delta_time"
,
-
1
.
);
e
->
ti_next_snapshot
=
0
;
parser_get_param_string
(
params
,
"Snapshots:basename"
,
e
->
snapshot_base_name
);
e
->
snapshot_compression
=
...
...
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