|
1 | 1 | module PositiveIntegrators |
2 | 2 |
|
3 | 3 | # 1. Load dependencies |
4 | | -using LinearAlgebra: LinearAlgebra, Tridiagonal, I, diag, diagind, mul! |
| 4 | +using LinearAlgebra: LinearAlgebra, Tridiagonal, I, diag, mul! |
5 | 5 | using SparseArrays: SparseArrays, AbstractSparseMatrix, |
6 | 6 | issparse, nonzeros, nzrange, rowvals, spdiagm |
7 | | -using StaticArrays: SVector, MVector, SMatrix, StaticArray, @SVector, @SMatrix |
| 7 | +using StaticArrays: SVector, SMatrix, StaticArray, @SVector, @SMatrix |
8 | 8 |
|
9 | 9 | using FastBroadcast: @.. |
10 | 10 | using MuladdMacro: @muladd |
11 | 11 | using SimpleUnPack: @unpack |
12 | 12 |
|
13 | 13 | using Reexport: @reexport |
14 | 14 |
|
15 | | -@reexport using SciMLBase: ODEFunction, ODEProblem, init, solve |
| 15 | +@reexport using SciMLBase: ODEProblem, init, solve |
16 | 16 |
|
17 | | -using SciMLBase: AbstractODEFunction, NullParameters, FullSpecialize, NoSpecialize, |
| 17 | +using SciMLBase: AbstractODEFunction, NullParameters, FullSpecialize, |
18 | 18 | isinplace |
19 | 19 |
|
20 | 20 | # TODO: Check imports and using statements below, reduce if possible |
21 | 21 | using OrdinaryDiffEq: OrdinaryDiffEq, OrdinaryDiffEqAlgorithm, ODESolution |
22 | 22 |
|
23 | | -using SymbolicIndexingInterface |
| 23 | +using SymbolicIndexingInterface: SymbolicIndexingInterface |
24 | 24 |
|
25 | 25 | using LinearSolve: LinearSolve, LinearProblem, LUFactorization, solve! |
26 | 26 |
|
27 | | -using SciMLBase: DEFAULT_OBSERVED |
28 | | -import SciMLBase: interp_summary, |
29 | | - __has_mass_matrix, __has_analytic, __has_tgrad, |
30 | | - __has_jac, __has_jvp, __has_vjp, __has_jac_prototype, |
31 | | - __has_sparsity, __has_Wfact, __has_Wfact_t, |
32 | | - __has_paramjac, __has_syms, __has_indepsym, __has_paramsyms, |
33 | | - __has_observed, __has_colorvec, __has_sys |
| 27 | +import SciMLBase: interp_summary |
34 | 28 |
|
35 | 29 | using OrdinaryDiffEq: @cache, |
36 | | - DEFAULT_PRECS, |
37 | 30 | OrdinaryDiffEqAdaptiveAlgorithm, |
38 | 31 | OrdinaryDiffEqConstantCache, OrdinaryDiffEqMutableCache, |
39 | 32 | False, |
40 | | - recursivefill!, _vec, wrapprecs, dolinsolve |
| 33 | + _vec |
41 | 34 | import OrdinaryDiffEq: alg_order, isfsal, |
42 | 35 | calculate_residuals, calculate_residuals!, |
43 | 36 | alg_cache, get_tmp_cache, |
@@ -68,6 +61,7 @@ include("mprk.jl") |
68 | 61 | # modified Patankar-Runge-Kutta based on the SSP formulation of RK methods (SSPMPRK) |
69 | 62 | include("sspmprk.jl") |
70 | 63 |
|
| 64 | +# interpolation for dense output |
71 | 65 | include("interpolation.jl") |
72 | 66 |
|
73 | 67 | # predefined PDS problems |
|
0 commit comments