diff --git a/lib/OrdinaryDiffEqBDF/src/algorithms.jl b/lib/OrdinaryDiffEqBDF/src/algorithms.jl index 71900e4925..0ed740a489 100644 --- a/lib/OrdinaryDiffEqBDF/src/algorithms.jl +++ b/lib/OrdinaryDiffEqBDF/src/algorithms.jl @@ -426,6 +426,19 @@ function DABDF2(; chunk_size = Val{0}(), autodiff = Val{true}(), standardtag = V nlsolve, precs, extrapolant, controller) end +#= +struct DBDF{CS,AD,F,F2,P,FDT,ST,CJ} <: DAEAlgorithm{CS,AD,FDT,ST,CJ} + linsolve::F + nlsolve::F2 + precs::P + extrapolant::Symbol +end + +DBDF(;chunk_size=Val{0}(),autodiff=Val{true}(), standardtag = Val{true}(), concrete_jac = nothing,diff_type=Val{:forward}, + linsolve=nothing,precs = DEFAULT_PRECS,nlsolve=NLNewton(),extrapolant=:linear) = + DBDF{_unwrap_val(chunk_size),_unwrap_val(autodiff),typeof(linsolve),typeof(nlsolve),typeof(precs),diff_type,_unwrap_val(standardtag),_unwrap_val(concrete_jac)}( + linsolve,nlsolve,precs,extrapolant) +=# struct DFBDF{MO, CS, AD, F, F2, P, FDT, ST, CJ, K, T} <: DAEAlgorithm{CS, AD, FDT, ST, CJ} max_order::Val{MO} diff --git a/test/runtests.jl b/test/runtests.jl index 1edccc79e5..337ac4fa19 100644 --- a/test/runtests.jl +++ b/test/runtests.jl @@ -83,6 +83,12 @@ function activate_dae() Pkg.instantiate() end +function activate_dae() + Pkg.activate("../lib/OrdinaryDiffEqDAE") + Pkg.develop(PackageSpec(path = dirname(@__DIR__))) + Pkg.instantiate() +end + #Start Test Script @time begin