diff --git a/src/common_interface/algorithms.jl b/src/common_interface/algorithms.jl index f05269d..91e5bbf 100644 --- a/src/common_interface/algorithms.jl +++ b/src/common_interface/algorithms.jl @@ -5,6 +5,8 @@ abstract type SundialsODEAlgorithm{Method, LinearSolver} <: DiffEqBase.AbstractO abstract type SundialsDAEAlgorithm{LinearSolver} <: DiffEqBase.AbstractDAEAlgorithm end abstract type SundialsNonlinearSolveAlgorithm{LinearSolver} end +SciMLBase.alg_order(alg::Union{SundialsODEAlgorithm,SundialsDAEAlgorithm}) = alg.max_order + # ODE Algorithms """ ```julia @@ -554,6 +556,8 @@ Base.@pure function ARKODE(stiffness = Implicit(); prec_side) end +SciMLBase.alg_order(alg::Union{SundialsODEAlgorithm,SundialsDAEAlgorithm}) = 5 + # DAE Algorithms """ ```julia