Skip to content

Commit caf9dc0

Browse files
Merge pull request #603 from SciML/detailed_solver
setup more detailed solver API pages
2 parents 84d5f0f + 8466b3c commit caf9dc0

File tree

5 files changed

+25
-21
lines changed

5 files changed

+25
-21
lines changed

docs/Project.toml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
BSON = "fbb218c0-5317-5bc6-957e-2ee96dd4b1f0"
33
CSV = "336ed68f-0bac-5ca0-87d4-7b16caf5d00b"
44
DAEProblemLibrary = "dfb8ca35-80a1-48ba-a605-84916a45b4f8"
5+
DASKR = "165a45c3-f624-5814-8e85-3bdf39a7becd"
56
DDEProblemLibrary = "f42792ee-6ffc-4e2a-ae83-8ee2f22de800"
67
DataFrames = "a93c6f00-e57d-5684-b7b6-d8193f3e46c0"
78
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
@@ -21,6 +22,7 @@ Sundials = "c3572dad-4567-51f8-b174-8c6c989267f4"
2122
BSON = "0.3"
2223
CSV = "0.10"
2324
DAEProblemLibrary = "0.1"
25+
DASKR = "2.9.1"
2426
DDEProblemLibrary = "0.1"
2527
DataFrames = "1.4"
2628
DiffEqBase = "6.106"

docs/make.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ makedocs(modules = [
1515
DDEProblemLibrary,
1616
DAEProblemLibrary,
1717
OrdinaryDiffEq,
18-
Sundials
18+
Sundials,
1919
],
2020
strict = [
2121
:doctest,

docs/pages.jl

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@ pages = Any["index.md",
5858
"features/io.md",
5959
"features/low_dep.md",
6060
"features/progress_bar.md"],
61-
"Detailed Solver APIs" => Any["api/sundials.md"],
61+
"Detailed Solver APIs" => Any["api/sundials.md",
62+
"api/daskr.md"],
6263
"Extra Details" => Any["extras/timestepping.md"]]

docs/src/api/daskr.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# [DASKR.jl](@id daskr)
2+
3+
This is a wrapper package for importing solvers from DASKR into the SciML interface.
4+
DASKR.jl is not automatically included by DifferentialEquations.jl. To use this
5+
algorithm, you will need to install and use the package:
6+
7+
```julia
8+
]add DASKR
9+
using DASKR
10+
```
11+
12+
These methods can be used independently of the rest of DifferentialEquations.jl.
13+
14+
## DAE Solver APIs
15+
16+
```@docs
17+
daskr
18+
```

docs/src/solvers/dae_solve.md

Lines changed: 2 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -161,25 +161,8 @@ using DASKR
161161

162162
- `daskr` - This is a wrapper for the well-known DASKR algorithm.
163163

164-
All additional options are available. The constructor is:
165-
166-
```julia
167-
function daskr(;linear_solver=:Dense,
168-
jac_upper=0,jac_lower=0,max_order = 5,
169-
non_negativity_enforcement = 0,
170-
non_negativity_enforcement_array = nothing,
171-
max_krylov_iters = nothing,
172-
num_krylov_vectors = nothing,
173-
max_number_krylov_restarts = 5,
174-
krylov_convergence_test_constant = 0.05,
175-
exclude_algebraic_errors = false)
176-
```
177-
178-
Choices for the linear solver are:
179-
180-
- `:Dense`
181-
- `:Banded`
182-
- `:SPIGMR`, a Krylov method
164+
For more details on controlling the DASKR.jl solvers, see the
165+
[DASKR detailed solver API page](@ref daskr)
183166

184167
### DASSL.jl
185168

0 commit comments

Comments
 (0)