Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
ParamThakkar123 committed Jul 27, 2024
2 parents 7b87efc + 32e85f8 commit fef20be
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
13 changes: 13 additions & 0 deletions lib/OrdinaryDiffEqBDF/src/algorithms.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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}
Expand Down
6 changes: 6 additions & 0 deletions test/runtests.jl
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit fef20be

Please sign in to comment.