@@ -61,20 +61,24 @@ function get_coupler_args(config_dict::Dict)
61
61
date0 = date = Dates. DateTime (config_dict[" start_date" ], Dates. dateformat " yyyymmdd" )
62
62
Δt_cpl = Float64 (Utilities. time_to_seconds (config_dict[" dt_cpl" ]))
63
63
saveat = Float64 (Utilities. time_to_seconds (config_dict[" dt_save_to_sol" ]))
64
- saveat = promote (t_start: saveat: t_end... , t_end)
65
64
if use_itime
66
65
t_end = ITime (t_end, epoch = date0)
67
66
t_start = ITime (t_start, epoch = date0)
68
67
Δt_cpl = ITime (Δt_cpl, epoch = date0)
69
68
times = promote (t_end, t_start, Δt_cpl, ITime .(values (config_dict[" component_dt_dict" ]))... )
70
69
t_end, t_start, Δt_cpl = (times[1 ], times[2 ], times[3 ])
71
- saveat = ITime (Float64 (Utilities. time_to_seconds (config_dict[" dt_save_to_sol" ])))
72
- saveat = [promote ([t_start: saveat: t_end... , t_end]. .. )... ]
73
70
component_dt_dict =
74
71
Dict (component => first (promote (ITime (dt), t_end)) for (component, dt) in config_dict[" component_dt_dict" ])
75
72
else
76
73
component_dt_dict = config_dict[" component_dt_dict" ]
77
74
end
75
+ if saveat != Inf
76
+ use_itime && (saveat = ITime (saveat))
77
+ saveat = [promote ([t_start: saveat: t_end... , t_end]. .. )... ]
78
+ else
79
+ saveat = typeof (t_start)[]
80
+ end
81
+
78
82
# Checkpointing information
79
83
checkpoint_dt = config_dict[" checkpoint_dt" ]
80
84
0 commit comments