Skip to content

Commit a32737b

Browse files
authored
Merge pull request #38 from WIAS-PDELib/docs/enable-examples
Enable Examples again in docs
2 parents 388e6ee + e6fab32 commit a32737b

5 files changed

Lines changed: 7 additions & 6 deletions

File tree

docs/Project.toml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
[deps]
22
CairoMakie = "13f3f980-e62b-5c42-98c6-ff1f3baf88f0"
33
DiffResults = "163ba53b-c6d8-5494-b064-1a9d43ac40c5"
4-
DifferentialEquations = "0c46a032-eb83-5123-abaf-570d42b7fbaa"
54
Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
65
ExampleJuggler = "3bbe58f8-ed81-4c4e-a134-03e85fcf4a1a"
76
ExtendableFEMBase = "12fb9182-3d4c-4424-8fd1-727a0899810c"
@@ -14,13 +13,16 @@ LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
1413
LinearSolve = "7ed4a6bd-45f5-4d41-b270-4a48e9bafcae"
1514
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
1615
Metis = "2679e427-3c69-5b7f-982b-ece356f1e94b"
16+
OrdinaryDiffEqRosenbrock = "43230ef6-c299-4910-a778-202eb28ce4ce"
17+
OrdinaryDiffEqSDIRK = "2d112036-d095-4a1e-ab9a-08536f3ecdbf"
1718
Pluto = "c3e4b0f8-55cb-11ea-2926-15256bba5781"
1819
PlutoSliderServer = "2fc8631c-6f24-4c5b-bca7-cbb509c42db4"
1920
SimplexGridFactory = "57bfcd06-606e-45d6-baf4-4ba06da0efd5"
2021
SparseArrays = "2f01184e-e22b-5df5-ae63-d93ebab69eaf"
2122
Symbolics = "0c5d862f-8b57-4792-8d23-62f2024744c7"
2223
TetGen = "c5d3f3f7-f850-59f6-8a2e-ffc6dc1317ea"
2324
Triangulate = "f7e6ffb2-c36d-4f8f-a77e-16e897189344"
25+
UnicodePlots = "b8865327-cd53-5732-bb35-84acbb429228"
2426

2527
[compat]
2628
Literate = ">=0.2.7"

docs/make.jl

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -105,8 +105,7 @@ function make_all(; with_examples::Bool = true, modules = :all, run_examples::Bo
105105

106106
end
107107

108-
#make_all(; with_examples = true, run_examples = true, run_notebooks = true)
109-
make_all(; with_examples = false, run_examples = false, run_notebooks = false)
108+
make_all(; with_examples = true, run_examples = true, run_notebooks = false)
110109

111110
deploydocs(
112111
repo = "github.com/WIAS-PDELib/ExtendableFEM.jl",

examples/Example103_BurgersEquation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ function main(;
7979
prob = ExtendableFEM.generate_ODEProblem(PD, FES, (0.0, T); init = sol, mass_matrix = M)
8080

8181
## solve ODE problem
82-
de_sol = DifferentialEquations.solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-6, adaptive = true)
82+
de_sol = solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-6, adaptive = true)
8383
@info "#tsteps = $(length(de_sol))"
8484

8585
## extract final solution

examples/Example106_NonlinearDiffusion.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ function main(;
9595
prob = ExtendableFEM.generate_ODEProblem(PD, FES, (t0, T); init = sol, mass_matrix = M.entries.cscmatrix)
9696

9797
## solve ODE problem
98-
de_sol = DifferentialEquations.solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-8, adaptive = true)
98+
de_sol = solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-8, adaptive = true)
9999
@info "#tsteps = $(length(de_sol))"
100100

101101
## get final solution

examples/Example205_HeatEquation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ function main(;
6060
prob = generate_ODEProblem(PD, FES, (0.0, T); init = sol, constant_matrix = true)
6161

6262
## solve ODE problem
63-
de_sol = DifferentialEquations.solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-6, adaptive = true)
63+
de_sol = solve(prob, solver, abstol = 1.0e-6, reltol = 1.0e-3, dt = τ, dtmin = 1.0e-6, adaptive = true)
6464
@info "#tsteps = $(length(de_sol))"
6565

6666
## get final solution

0 commit comments

Comments
 (0)