Skip to content

Commit

Permalink
Merge pull request #1976 from CliMA/ck/reduce_deps_iter1
Browse files Browse the repository at this point in the history
Remove dependence on OrdinaryDiffEq in docs env
  • Loading branch information
charleskawczynski authored Sep 6, 2024
2 parents fde6717 + e182ae1 commit 9eb9662
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 9 deletions.
2 changes: 1 addition & 1 deletion docs/Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ FFTW = "7a1cc6ca-52ef-59f5-83cd-3a7055c09341"
IntervalSets = "8197267c-284f-5f27-9208-e0e47529a953"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Literate = "98b081ad-f1c9-55d3-8b20-4c87d4299306"
OrdinaryDiffEq = "1dea7af3-3e70-54e6-95c3-0bf5283fa5ed"
OrdinaryDiffEqSSPRK = "669c94d9-1f4b-4b64-b377-1aa079aa2388"
Plots = "91a5bcdd-55d7-5caf-9e0b-520d859cae80"
11 changes: 3 additions & 8 deletions docs/tutorials/introduction.jl
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,8 @@
# - staggered finite difference in the vertical
# - currently under development

using ClimaComms,
ClimaCore,
ClimaCorePlots,
LinearAlgebra,
IntervalSets,
Plots,
OrdinaryDiffEq
using ClimaComms, ClimaCore, ClimaCorePlots, LinearAlgebra, IntervalSets, Plots

#----------------------------------------------------------------------------

# ## 1. Constructing a discretization
Expand Down Expand Up @@ -362,7 +357,7 @@ plot(∇∇sinz, ylim = (0, 10))
#
# ClimaCore can be used for spatial discretizations of PDEs. For temporal discretization, we can use the OrdinaryDiffEq package, which we aim to be compatibile with.

using OrdinaryDiffEq
import OrdinaryDiffEqSSPRK: ODEProblem, solve, SSPRK33
#----------------------------------------------------------------------------

# ### 3.1 Heat equation using finite differences
Expand Down

0 comments on commit 9eb9662

Please sign in to comment.