-
Notifications
You must be signed in to change notification settings - Fork 13
/
LSODA.jl
33 lines (24 loc) · 846 Bytes
/
LSODA.jl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
__precompile__()
module LSODA
using Compat, DiffEqBase
import DiffEqBase: solve
using LinearAlgebra, Printf
using LSODA_jll
const warnkeywords =
(:save_idxs, :d_discontinuities, :isoutofdomain, :unstable_check,
:calck, :progress, :timeseries_steps, :dense,
:dtmin, :dtmax,
:internalnorm, :gamma, :beta1, :beta2, :qmax, :qmin, :qoldinit)
function __init__()
global warnlist = Set(warnkeywords)
end
abstract type LSODAAlgorithm <: DiffEqBase.AbstractODEAlgorithm end
struct lsoda <: LSODAAlgorithm end
SciMLBase.alg_order(alg::lsoda) = 12
export lsoda, lsoda_0, lsoda_opt_t, lsoda_context_t, lsoda_prepare, lsoda_reset, lsoda_opt_t, lsoda_free, lsoda_evolve!, UserFunctionAndData
export LSODAAlgorithm, solve
include("types_and_consts.jl")
include("handle.jl")
include("solver.jl")
include("common.jl")
end # module