Skip to content

Commit 431d0e3

Browse files
Merge branch 'master' into compathelper/new_version/2024-08-19-23-08-31-647-03785734854
2 parents 9fe376c + faccae0 commit 431d0e3

File tree

35 files changed

+89
-31
lines changed

35 files changed

+89
-31
lines changed

Project.toml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,8 +97,22 @@ Logging = "1.9"
9797
MacroTools = "0.5"
9898
MuladdMacro = "0.2.1"
9999
NonlinearSolve = "3"
100+
OrdinaryDiffEqAdamsBashforthMoulton = "1"
100101
OrdinaryDiffEqCore = "1"
102+
OrdinaryDiffEqDifferentiation = "1"
103+
OrdinaryDiffEqExtrapolation = "1"
104+
OrdinaryDiffEqFeagin = "1"
105+
OrdinaryDiffEqFunctionMap = "1"
106+
OrdinaryDiffEqLowOrderRK = "1"
101107
OrdinaryDiffEqLowStorageRK = "1"
108+
OrdinaryDiffEqHighOrderRK = "1"
109+
OrdinaryDiffEqNonlinearSolve = "1"
110+
OrdinaryDiffEqPRK = "1"
111+
OrdinaryDiffEqQPRK = "1"
112+
OrdinaryDiffEqRKN = "1"
113+
OrdinaryDiffEqStabilizedRK = "1"
114+
OrdinaryDiffEqTsit5 = "1"
115+
OrdinaryDiffEqVerner = "1"
102116
Polyester = "0.7"
103117
PreallocationTools = "0.4"
104118
PrecompileTools = "1"

lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqAdamsBashforthMoulton"
22
uuid = "89bda076-bce5-4f1c-845f-551c83cdda9a"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

lib/OrdinaryDiffEqBDF/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqBDF"
22
uuid = "6ad6398a-0878-4a85-9266-38940aa047c8"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
ArrayInterface = "4fba245c-0d91-5ea0-9b3e-6abc04ee57a9"

lib/OrdinaryDiffEqCore/src/interp_func.jl

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,29 @@ function InterpolationData(id::InterpolationData, f)
5959
id.differential_vars,
6060
id.sensitivitymode)
6161
end
62+
63+
# strip interpolation of function information
64+
function SciMLBase.strip_interpolation(id::InterpolationData)
65+
66+
cache = strip_cache(id.cache)
67+
68+
InterpolationData(nothing, id.timeseries,
69+
id.ts,
70+
id.ks,
71+
id.alg_choice,
72+
id.dense,
73+
cache,
74+
id.differential_vars,
75+
id.sensitivitymode)
76+
end
77+
78+
function strip_cache(cache)
79+
if hasfield(typeof(cache), :jac_config) || hasfield(typeof(cache), :grad_config)
80+
fieldnums = length(fieldnames(typeof(cache)))
81+
noth_list = fill(nothing,fieldnums)
82+
cache_type_name = Base.typename(typeof(cache)).wrapper
83+
cache_type_name(noth_list...)
84+
else
85+
cache
86+
end
87+
end

lib/OrdinaryDiffEqDefault/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqDefault"
22
uuid = "50262376-6c5a-4cf5-baba-aaf4f84d72d7"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

lib/OrdinaryDiffEqDifferentiation/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqDifferentiation"
22
uuid = "4302a76b-040a-498a-8c04-15b101fed76b"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>", "Yingbo Ma <mayingbo5@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"

lib/OrdinaryDiffEqExplicitRK/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqExplicitRK"
22
uuid = "9286f039-9fbf-40e8-bf65-aa933bdc4db0"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

lib/OrdinaryDiffEqExponentialRK/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqExponentialRK"
22
uuid = "e0540318-69ee-4070-8777-9e2de6de23de"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

lib/OrdinaryDiffEqExtrapolation/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqExtrapolation"
22
uuid = "becaefa8-8ca2-5cf9-886d-c06f3d2bd2c4"
33
authors = ["Chris Rackauckas <accounts@chrisrackauckas.com>", "Yingbo Ma <mayingbo5@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

lib/OrdinaryDiffEqFIRK/Project.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name = "OrdinaryDiffEqFIRK"
22
uuid = "5960d6e9-dd7a-4743-88e7-cf307b64f125"
33
authors = ["ParamThakkar123 <paramthakkar864@gmail.com>"]
4-
version = "1.0.0"
4+
version = "1.1.0"
55

66
[deps]
77
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

0 commit comments

Comments
 (0)