diff --git a/moment_kinetics/src/input_structs.jl b/moment_kinetics/src/input_structs.jl index dfc80b3f4..047167195 100644 --- a/moment_kinetics/src/input_structs.jl +++ b/moment_kinetics/src/input_structs.jl @@ -57,7 +57,6 @@ struct time_info{Terrorsum <: Real, T_debug_output, T_electron, Trkimp, Timpzero limit_caused_by::Vector{mk_int} nwrite_moments::mk_int nwrite_dfns::mk_int - exact_output_times::Bool moments_output_times::Vector{mk_float} dfns_output_times::Vector{mk_float} type::String @@ -66,6 +65,7 @@ struct time_info{Terrorsum <: Real, T_debug_output, T_electron, Trkimp, Timpzero implicit_coefficient_is_zero::Timpzero n_rk_stages::mk_int rk_order::mk_int + exact_output_times::Bool adaptive::Bool low_storage::Bool rtol::mk_float diff --git a/moment_kinetics/src/time_advance.jl b/moment_kinetics/src/time_advance.jl index d2c0e295a..d579c7461 100644 --- a/moment_kinetics/src/time_advance.jl +++ b/moment_kinetics/src/time_advance.jl @@ -483,12 +483,12 @@ function setup_time_info(t_input, n_variables, code_time, dt_reload, step_to_moments_output, step_to_dfns_output, write_moments_output, write_dfns_output, Ref(0), Ref(0), Ref{mk_float}(0.0), Ref(0), Ref(0), Ref(0), mk_int[], mk_int[], t_input["nwrite"], - t_input["nwrite_dfns"], - electron !== nothing && t_input["exact_output_times"], - moments_output_times, dfns_output_times, t_input["type"], rk_coefs, - rk_coefs_implicit, implicit_coefficient_is_zero, n_rk_stages, - rk_order, adaptive, low_storage, mk_float(t_input["rtol"]), - mk_float(t_input["atol"]), mk_float(t_input["atol_upar"]), + t_input["nwrite_dfns"], moments_output_times, dfns_output_times, + t_input["type"], rk_coefs, rk_coefs_implicit, + implicit_coefficient_is_zero, n_rk_stages, rk_order, + electron !== nothing && t_input["exact_output_times"], adaptive, + low_storage, mk_float(t_input["rtol"]), mk_float(t_input["atol"]), + mk_float(t_input["atol_upar"]), mk_float(t_input["step_update_prefactor"]), mk_float(t_input["max_increase_factor"]), mk_float(t_input["max_increase_factor_near_last_fail"]),