Skip to content

Commit bda6375

Browse files
Merge pull request #94 from JuliaDiffEq/common
Move algs to Sundials
2 parents 1c6ac74 + 534fad0 commit bda6375

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

src/Sundials.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ else
1212
error("Sundials is not properly installed. Please run Pkg.build(\"Sundials\")")
1313
end
1414

15-
export solve
15+
export solve, SundialsAlgorithm, CVODE_BDF, CVODE_Adams
1616

1717
# some definitions from the system C headers wrapped into the types_and_consts.jl
1818
const DBL_MAX = prevfloat(Inf)

src/common.jl

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
# Sundials.jl algorithms
2+
3+
abstract SundialsAlgorithm <: AbstractODEAlgorithm
4+
immutable CVODE_BDF <: SundialsAlgorithm end
5+
immutable CVODE_Adams <: SundialsAlgorithm end
6+
17
function solve{uType,tType,isinplace,algType<:SundialsAlgorithm,F}(
28
prob::AbstractODEProblem{uType,tType,isinplace,F},
39
alg::Type{algType},timeseries=[],ts=[],ks=[];

0 commit comments

Comments
 (0)