@@ -81,9 +81,9 @@ function shrink_y(y, N, stage)
8181 return y_shrink
8282end
8383
84- function SciMLBase. __init (prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 ,
85- adaptive = true , controller = DefectControl () ,
86- nlsolve_kwargs = (; abstol = abstol / 100 ), kwargs... )
84+ function SciMLBase. __init (
85+ prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 , adaptive = true ,
86+ controller = DefectControl (), nlsolve_kwargs = (; abstol = abstol), kwargs... )
8787 if alg. nested_nlsolve
8888 return init_nested (prob, alg; dt = dt, abstol = abstol, adaptive = adaptive,
8989 controller = controller, nlsolve_kwargs = nlsolve_kwargs, kwargs... )
@@ -93,9 +93,9 @@ function SciMLBase.__init(prob::BVProblem, alg::AbstractFIRK; dt = 0.0, abstol =
9393 end
9494end
9595
96- function init_nested (prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 ,
97- adaptive = true , controller = DefectControl () ,
98- nlsolve_kwargs = (; abstol = abstol / 100 ), kwargs... )
96+ function init_nested (
97+ prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 , adaptive = true ,
98+ controller = DefectControl (), nlsolve_kwargs = (; abstol = abstol), kwargs... )
9999 @set! alg. jac_alg = concrete_jacobian_algorithm (alg. jac_alg, prob, alg)
100100
101101 iip = isinplace (prob)
@@ -187,9 +187,9 @@ function init_nested(prob::BVProblem, alg::AbstractFIRK; dt = 0.0, abstol = 1e-6
187187 nlsolve_kwargs, (; abstol, dt, adaptive, controller, kwargs... ))
188188end
189189
190- function init_expanded (prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 ,
191- adaptive = true , controller = DefectControl () ,
192- nlsolve_kwargs = (; abstol = abstol / 100 ), kwargs... )
190+ function init_expanded (
191+ prob :: BVProblem , alg :: AbstractFIRK ; dt = 0.0 , abstol = 1e-6 , adaptive = true ,
192+ controller = DefectControl (), nlsolve_kwargs = (; abstol = abstol), kwargs... )
193193 @set! alg. jac_alg = concrete_jacobian_algorithm (alg. jac_alg, prob, alg)
194194
195195 if adaptive && isa (alg, FIRKNoAdaptivity)
0 commit comments