Skip to content

Commit 4fcca63

Browse files
docs: remove DifferentialEquations.jl from docs environment
1 parent 727cd9e commit 4fcca63

9 files changed

+11
-13
lines changed

docs/Project.toml

-2
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ BenchmarkTools = "6e4b80f9-dd63-53aa-95a3-0cdb28fa8baf"
33
BifurcationKit = "0f109fa4-8a5d-4b75-95aa-f515264e7665"
44
ControlSystemsBase = "aaaaaaaa-a6ca-5380-bf3e-84a91bcd477e"
55
DataInterpolations = "82cc6244-b520-54b8-b5a6-8a565e85f1d0"
6-
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
76
Distributions = "31c24e10-a181-5473-b8eb-7969acd0382f"
87
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
98
DynamicQuantities = "06fc5a27-2a28-4c7c-a15d-362465fb6821"
@@ -28,7 +27,6 @@ Unitful = "1986cc42-f94f-5a68-af5c-568840ba703d"
2827
BenchmarkTools = "1.3"
2928
BifurcationKit = "0.4"
3029
DataInterpolations = "6.5"
31-
DifferentialEquations = "7.6"
3230
Distributions = "0.25"
3331
Documenter = "1"
3432
DynamicQuantities = "^0.11.2, 0.12, 1"

docs/src/basics/Composition.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ x0 = [decay1.x => 1.0
5656
p = [decay1.a => 0.1
5757
decay2.a => 0.2]
5858
59-
using DifferentialEquations
59+
using OrdinaryDiffEq
6060
prob = ODEProblem(simplified_sys, x0, (0.0, 100.0), p)
6161
sol = solve(prob, Tsit5())
6262
sol[decay2.f]

docs/src/examples/perturbation.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ These are the ODEs we want to solve. Now construct an `ODESystem`, which automat
4949
To solve the `ODESystem`, we generate an `ODEProblem` with initial conditions $x(0) = 0$, and $ẋ(0) = 1$, and solve it:
5050

5151
```@example perturbation
52-
using DifferentialEquations
52+
using OrdinaryDiffEq
5353
u0 = Dict([unknowns(sys) .=> 0.0; D(y[0]) => 1.0]) # nonzero initial velocity
5454
prob = ODEProblem(sys, u0, (0.0, 3.0))
5555
sol = solve(prob)

docs/src/examples/sparse_jacobians.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ First, let's start out with an implementation of the 2-dimensional Brusselator
1111
partial differential equation discretized using finite differences:
1212

1313
```@example sparsejac
14-
using DifferentialEquations, ModelingToolkit
14+
using OrdinaryDiffEq, ModelingToolkit
1515
1616
const N = 32
1717
const xyd_brusselator = range(0, stop = 1, length = N)

docs/src/examples/spring_mass.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ In this tutorial, we will build a simple component-based model of a spring-mass
55
## Copy-Paste Example
66

77
```@example component
8-
using ModelingToolkit, Plots, DifferentialEquations, LinearAlgebra
8+
using ModelingToolkit, Plots, OrdinaryDiffEq, LinearAlgebra
99
using ModelingToolkit: t_nounits as t, D_nounits as D
1010
using Symbolics: scalarize
1111

docs/src/tutorials/acausal_components.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ equalities before solving. Let's see this in action.
2020
## Copy-Paste Example
2121

2222
```@example acausal
23-
using ModelingToolkit, Plots, DifferentialEquations
23+
using ModelingToolkit, Plots, OrdinaryDiffEq
2424
using ModelingToolkit: t_nounits as t, D_nounits as D
2525
2626
@connector Pin begin

docs/src/tutorials/modelingtoolkitize.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,10 @@ to improve a simulation code before it's passed to the solver.
3333
## Example Usage: Generating an Analytical Jacobian Expression for an ODE Code
3434

3535
Take, for example, the Robertson ODE
36-
defined as an `ODEProblem` for DifferentialEquations.jl:
36+
defined as an `ODEProblem` for OrdinaryDiffEq.jl:
3737

3838
```@example mtkize
39-
using DifferentialEquations, ModelingToolkit
39+
using OrdinaryDiffEq, ModelingToolkit
4040
function rober(du, u, p, t)
4141
y₁, y₂, y₃ = u
4242
k₁, k₂, k₃ = p

docs/src/tutorials/ode_modeling.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ using ModelingToolkit: t_nounits as t, D_nounits as D
3434
end
3535
end
3636
37-
using DifferentialEquations: solve
37+
using OrdinaryDiffEq
3838
@mtkbuild fol = FOL()
3939
prob = ODEProblem(fol, [], (0.0, 10.0), [])
4040
sol = solve(prob)
@@ -84,10 +84,10 @@ Note that equations in MTK use the tilde character (`~`) as equality sign.
8484

8585
`@mtkbuild` creates an instance of `FOL` named as `fol`.
8686

87-
After construction of the ODE, you can solve it using [DifferentialEquations.jl](https://docs.sciml.ai/DiffEqDocs/stable/):
87+
After construction of the ODE, you can solve it using [OrdinaryDiffEq.jl](https://docs.sciml.ai/DiffEqDocs/stable/):
8888

8989
```@example ode2
90-
using DifferentialEquations
90+
using OrdinaryDiffEq
9191
using Plots
9292
9393
prob = ODEProblem(fol, [], (0.0, 10.0), [])

docs/src/tutorials/programmatically_generating.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ eqs = [D(x) ~ (h - x) / τ] # create an array of equations
4949
# Note: Complete models cannot be subsystems of other models!
5050
fol = structural_simplify(model)
5151
prob = ODEProblem(fol, [], (0.0, 10.0), [])
52-
using DifferentialEquations: solve
52+
using OrdinaryDiffEq
5353
sol = solve(prob)
5454
5555
using Plots

0 commit comments

Comments
 (0)