Commit 77eabe80 authored by Matthieu Schaller's avatar Matthieu Schaller
Browse files

Do not specify the delta_time between snapshots when using an output list.

parent 18c66574
...@@ -27,8 +27,6 @@ TimeIntegration: ...@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots # Parameters governing the snapshots
Snapshots: Snapshots:
basename: eagle # Common part of the name of output files 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_on: 1
output_list: ./output_list.txt output_list: ./output_list.txt
......
...@@ -27,8 +27,6 @@ TimeIntegration: ...@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots # Parameters governing the snapshots
Snapshots: Snapshots:
basename: eagle # Common part of the name of output files 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_on: 1
output_list: ./output_list.txt output_list: ./output_list.txt
......
...@@ -27,8 +27,6 @@ TimeIntegration: ...@@ -27,8 +27,6 @@ TimeIntegration:
# Parameters governing the snapshots # Parameters governing the snapshots
Snapshots: Snapshots:
basename: eagle # Common part of the name of output files 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_on: 1
output_list: ./output_list.txt output_list: ./output_list.txt
......
...@@ -4948,7 +4948,7 @@ void engine_init(struct engine *e, struct space *s, struct swift_params *params, ...@@ -4948,7 +4948,7 @@ void engine_init(struct engine *e, struct space *s, struct swift_params *params,
e->time_first_snapshot = e->time_first_snapshot =
parser_get_opt_param_double(params, "Snapshots:time_first", 0.); parser_get_opt_param_double(params, "Snapshots:time_first", 0.);
e->delta_time_snapshot = 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; e->ti_next_snapshot = 0;
parser_get_param_string(params, "Snapshots:basename", e->snapshot_base_name); parser_get_param_string(params, "Snapshots:basename", e->snapshot_base_name);
e->snapshot_compression = e->snapshot_compression =
......
Supports Markdown
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