Skip to content

Commit

Permalink
Remove DiffEqCallbacks from src
Browse files Browse the repository at this point in the history
The only place where DiffEqCallbacks was used is to use SavedValues, but
SavedValues is only used in NonInterplatingSavingCallback. Here, I
copied over the definition of SavedValues from DiffEqCallbacks and
removed the direct dependency.

There is still some dependency in the tests, but that can be removed too
if a small amount of work.
  • Loading branch information
Sbozzolo committed Jul 29, 2024
1 parent 7cc8f91 commit 9d8c374
Show file tree
Hide file tree
Showing 9 changed files with 423 additions and 939 deletions.
6 changes: 3 additions & 3 deletions .dev/Manifest.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# This file is machine-generated - editing it directly is not advised

julia_version = "1.10.3"
julia_version = "1.10.4"
manifest_format = "2.0"
project_hash = "b280bcf3b481823c97fa1a62c1b5e65114b8fa18"

Expand Down Expand Up @@ -79,9 +79,9 @@ version = "0.21.4"

[[deps.JuliaFormatter]]
deps = ["CSTParser", "CommonMark", "DataStructures", "Glob", "Pkg", "PrecompileTools", "Tokenize"]
git-tree-sha1 = "1c4880cb70a5c6c87ea36deccc3d7f9e7969c18c"
git-tree-sha1 = "4b0b04fe63e02eed776181e14ebc1f48d787ceec"
uuid = "98e50ef6-434e-11e9-1051-2b60c6c9e899"
version = "1.0.56"
version = "1.0.59"

[[deps.LibCURL]]
deps = ["LibCURL_jll", "MozillaCACerts_jll"]
Expand Down
4 changes: 1 addition & 3 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ ClimaComms = "3a4d1b5c-c61d-41fd-a00a-5873ba7a1b0d"
Colors = "5ae59095-9a9b-59fe-a467-6f913c188581"
DataStructures = "864edb3b-99cc-5e75-8d2d-829cb0a9cfe8"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
DiffEqCallbacks = "459566f4-90b8-5000-8ac3-15dfb0a30def"
KernelAbstractions = "63c18a36-062a-441e-b654-da1e3ab1ce7c"
Krylov = "ba0b0d4f-ebba-5204-a429-3ac8c609bfb7"
LinearAlgebra = "37e2e46d-f89d-539d-b4ee-838fcccc9c8e"
Expand All @@ -34,7 +33,6 @@ CUDA = "3, 4, 5"
Colors = "0.12"
DataStructures = "0.18"
DiffEqBase = "6"
DiffEqCallbacks = "2, 3"
KernelAbstractions = "0.7, 0.8, 0.9"
Krylov = "0.8, 0.9"
LinearAlgebra = "1"
Expand All @@ -45,4 +43,4 @@ NVTX = "0.3"
SciMLBase = "1, 2"
StaticArrays = "1"
StatsBase = "0.33, 0.34"
julia = "1.8"
julia = "1.9"
Loading

0 comments on commit 9d8c374

Please sign in to comment.