From 3ab9e67d2a809f6b16c23de86b2570522ddfe9c9 Mon Sep 17 00:00:00 2001 From: Benjamin Chung Date: Thu, 31 Oct 2024 15:36:42 -0700 Subject: [PATCH 1/2] Add reinitialization argument for change_t_via_interpolation to support reinit configuration for affects --- src/integrator_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrator_interface.jl b/src/integrator_interface.jl index 9f042681f..3de57d688 100644 --- a/src/integrator_interface.jl +++ b/src/integrator_interface.jl @@ -308,7 +308,7 @@ function auto_dt_reset!(integrator::DEIntegrator) end """ - change_t_via_interpolation!(integrator::DEIntegrator,t,modify_save_endpoint=Val{false}) + change_t_via_interpolation!(integrator::DEIntegrator,t,modify_save_endpoint=Val{false},reinitialization_method=nothing) Modifies the current `t` and changes all of the corresponding values using the local interpolation. If the current solution has already been saved, one can provide the optional value `modify_save_endpoint` to also modify the endpoint of `sol` in the From 8efe9a451ff7fd33e8caf76ce07de0ed1dff299e Mon Sep 17 00:00:00 2001 From: Benjamin Chung Date: Mon, 4 Nov 2024 15:04:48 -0800 Subject: [PATCH 2/2] Rename reinitialization_method to reinitialize_alg --- src/integrator_interface.jl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrator_interface.jl b/src/integrator_interface.jl index 3de57d688..45777a27c 100644 --- a/src/integrator_interface.jl +++ b/src/integrator_interface.jl @@ -308,7 +308,7 @@ function auto_dt_reset!(integrator::DEIntegrator) end """ - change_t_via_interpolation!(integrator::DEIntegrator,t,modify_save_endpoint=Val{false},reinitialization_method=nothing) + change_t_via_interpolation!(integrator::DEIntegrator,t,modify_save_endpoint=Val{false},reinitialize_alg=nothing) Modifies the current `t` and changes all of the corresponding values using the local interpolation. If the current solution has already been saved, one can provide the optional value `modify_save_endpoint` to also modify the endpoint of `sol` in the