Skip to content

Commit 1396efb

Browse files
Move BVP default solver from DifferentialEquations.jl to BoundaryValueDiffEq.jl
Matches https://github.com/SciML/DifferentialEquations.jl/blob/master/src/bvp_default_alg.jl. This definitely isn't what the final form should be, but it's a step towards splitting DifferentialEquations.jl so we should follow up later on this. I think we should in this day and age make one of the FIRKs the default, but without autodiff requirements? Or auto-autodiff.
1 parent 94e24c5 commit 1396efb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/BoundaryValueDiffEq.jl

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,14 @@ using SciMLBase
1313

1414
@reexport using ADTypes, SciMLBase
1515

16+
function SciMLBase.__init(prob::BVProblem; kwargs...)
17+
SciMLBase.__init(prob, Shooting(Tsit5()); kwargs...)
18+
end
19+
20+
function SciMLBase.__solve(prob::BVProblem; kwargs...)
21+
SciMLBase.__solve(prob, Shooting(Tsit5()); kwargs...)
22+
end
23+
1624
include("extension_algs.jl")
1725

1826
export MIRK2, MIRK3, MIRK4, MIRK5, MIRK6

0 commit comments

Comments
 (0)