Skip to content

Commit ab4e714

Browse files
committed
Clean up the docs
1 parent e9cfdc6 commit ab4e714

File tree

2 files changed

+18
-19
lines changed

2 files changed

+18
-19
lines changed

README.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,12 +45,12 @@ For the list of available solvers, please refer to the [DifferentialEquations.jl
4545

4646
Precompilation can be controlled via `Preferences.jl`
4747

48-
- `PrecompileMIRK` -- Precompile the MIRK2 - MIRK6 algorithms (default: `true`).
49-
- `PrecompileShooting` -- Precompile the single shooting algorithms (default: `true`). This is triggered when `OrdinaryDiffEq` is loaded.
50-
- `PrecompileMultipleShooting` -- Precompile the multiple shooting algorithms (default: `true`). This is triggered when `OrdinaryDiffEq` is loaded.
51-
- `PrecompileMIRKNLLS` -- Precompile the MIRK2 - MIRK6 algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above).
52-
- `PrecompileShootingNLLS` -- Precompile the single shooting algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above). This is triggered when `OrdinaryDiffEq` is loaded.
53-
- `PrecompileMultipleShootingNLLS` -- Precompile the multiple shooting algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above). This is triggered when `OrdinaryDiffEq` is loaded.
48+
- `PrecompileMIRK` -- Precompile the MIRK2 - MIRK6 algorithms (default: `true`).
49+
- `PrecompileShooting` -- Precompile the single shooting algorithms (default: `true`). This is triggered when `OrdinaryDiffEq` is loaded.
50+
- `PrecompileMultipleShooting` -- Precompile the multiple shooting algorithms (default: `true`). This is triggered when `OrdinaryDiffEq` is loaded.
51+
- `PrecompileMIRKNLLS` -- Precompile the MIRK2 - MIRK6 algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above).
52+
- `PrecompileShootingNLLS` -- Precompile the single shooting algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above). This is triggered when `OrdinaryDiffEq` is loaded.
53+
- `PrecompileMultipleShootingNLLS` -- Precompile the multiple shooting algorithms for under-determined and over-determined BVPs (default: `true` on Julia Version 1.10 and above). This is triggered when `OrdinaryDiffEq` is loaded.
5454

5555
To set these preferences before loading the package, do the following (replacing `PrecompileShooting` with the preference you want to set, or pass in multiple pairs to set them together):
5656

src/algorithms.jl

Lines changed: 12 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ Single shooting method, reduces BVP to an initial value problem and solves the I
99
1010
## Arguments
1111
12-
- `ode_alg`: ODE algorithm to use for solving the IVP. Any `OrdinaryDiffEq.jl` or solvers
13-
that work with `SciMLBase.__solve(::ODEProblem, alg, args...; kwargs...)` can be used!
12+
- `ode_alg`: ODE algorithm to use for solving the IVP. Any solver which conforms to the
13+
SciML `ODEProblem` interface can be used!
1414
1515
## Keyword Arguments
1616
17-
- `nlsolve`: Internal Nonlinear solver. Any `NonlinearSolve.jl` solver or solvers that
18-
work with `SciMLBase.__solve(::NonlinearProblem, alg, args...; kwargs...)` can be used!
17+
- `nlsolve`: Internal Nonlinear solver. Any solver which conforms to the SciML
18+
`NonlinearProblem` interface can be used.
1919
2020
!!! note
2121
For type-stability, you need to specify the chunksize for autodiff. This can be done
@@ -39,15 +39,14 @@ Significantly more stable than Single Shooting.
3939
## Arguments
4040
4141
- `nshoots`: Number of shooting points.
42-
- `ode_alg`: ODE algorithm to use for solving the IVP. Any `OrdinaryDiffEq.jl` or solvers
43-
that work with `SciMLBase.__solve(::ODEProblem, alg, args...; kwargs...)` can be used!
42+
- `ode_alg`: ODE algorithm to use for solving the IVP. Any solver which conforms to the
43+
SciML `ODEProblem` interface can be used!
4444
4545
## Keyword Arguments
4646
47-
- `nlsolve`: Internal Nonlinear solver. Any `NonlinearSolve.jl` solver or solvers that
48-
work with `SciMLBase.__solve(::NonlinearProblem, alg, args...; kwargs...)` can be used!
49-
Note that any autodiff argument for the solver will be ignored and a custom jacobian
50-
algorithm will be used.
47+
- `nlsolve`: Internal Nonlinear solver. Any solver which conforms to the SciML
48+
`NonlinearProblem` interface can be used. Note that any autodiff argument for the solver
49+
will be ignored and a custom jacobian algorithm will be used.
5150
- `jac_alg`: Jacobian Algorithm used for the nonlinear solver. Defaults to
5251
`BVPJacobianAlgorithm()`, which automatically decides the best algorithm to use based
5352
on the input types and problem type.
@@ -115,9 +114,9 @@ for order in (2, 3, 4, 5, 6)
115114
116115
## Keyword Arguments
117116
118-
- `nlsolve`: Internal Nonlinear solver. Any `NonlinearSolve.jl` solver or
119-
solvers that work with
120-
`SciMLBase.__solve(::NonlinearProblem, alg, args...; kwargs...)` can be used!
117+
- `nlsolve`: Internal Nonlinear solver. Any solver which conforms to the SciML
118+
`NonlinearProblem` interface can be used. Note that any autodiff argument for
119+
the solver will be ignored and a custom jacobian algorithm will be used.
121120
- `jac_alg`: Jacobian Algorithm used for the nonlinear solver. Defaults to
122121
`BVPJacobianAlgorithm()`, which automatically decides the best algorithm to
123122
use based on the input types and problem type.

0 commit comments

Comments
 (0)