Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upstream #11

Merged
merged 63 commits into from
Aug 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
63 commits
Select commit Hold shift + click to select a range
02a7f7c
Remove the InteractiveUtils dependency by reimplementing subtypes
ChrisRackauckas Aug 12, 2024
669b3f2
add tstops API
isaacsas Aug 13, 2024
8a1af1e
Autocompat
ChrisRackauckas Aug 15, 2024
e98b7d4
Merge pull request #2382 from SciML/autocompat
ChrisRackauckas Aug 15, 2024
a3d1067
Split and inactivate increment functions
ChrisRackauckas Aug 17, 2024
3dee720
Handle all nf increments
ChrisRackauckas Aug 17, 2024
0305da2
Bump OrdinaryDiffEqCore requirements and import
ChrisRackauckas Aug 17, 2024
15776df
more core and 20 years ago
ChrisRackauckas Aug 17, 2024
fc5632c
more imports
ChrisRackauckas Aug 17, 2024
66bbe6f
more
ChrisRackauckas Aug 17, 2024
0b36dd7
another
ChrisRackauckas Aug 17, 2024
8e53448
import
ChrisRackauckas Aug 17, 2024
c62476c
more imports
ChrisRackauckas Aug 17, 2024
235545b
Update derivative_utils.jl
ChrisRackauckas Aug 17, 2024
bead708
Update lib/OrdinaryDiffEqDifferentiation/src/OrdinaryDiffEqDifferenti…
ChrisRackauckas Aug 17, 2024
fb5d9ea
Delete lib/OrdinaryDiffEqDifferentiation/src/utils.jl
ChrisRackauckas Aug 17, 2024
8c819cb
last one
ChrisRackauckas Aug 17, 2024
4f3730d
Merge pull request #2375 from SciML/interactiveutils
ChrisRackauckas Aug 17, 2024
a237513
Update Project.toml
ChrisRackauckas Aug 17, 2024
d88f255
Merge pull request #2389 from SciML/increments
ChrisRackauckas Aug 17, 2024
a57ef07
WIP: Refactor ODEIntegrator to not allow undef fsal states
ChrisRackauckas Aug 17, 2024
338d9a3
do a whole bunch of them
ChrisRackauckas Aug 18, 2024
b39af49
just rks left
ChrisRackauckas Aug 18, 2024
d4c8abc
done?
ChrisRackauckas Aug 18, 2024
fe4668e
a few fixes
ChrisRackauckas Aug 18, 2024
9d429ad
a few more fixes
ChrisRackauckas Aug 18, 2024
5eec4e3
fix default cache fsal
ChrisRackauckas Aug 18, 2024
d24852b
safer rosenbrock
ChrisRackauckas Aug 18, 2024
9fbeeff
fix
ChrisRackauckas Aug 18, 2024
dd4ac16
fix default handling
ChrisRackauckas Aug 18, 2024
5ca4d13
fix other composites
ChrisRackauckas Aug 18, 2024
99abecd
handle all
ChrisRackauckas Aug 18, 2024
e2c51e8
typo
ChrisRackauckas Aug 18, 2024
a176a62
handle constructors
ChrisRackauckas Aug 18, 2024
dd97b72
fix argument order
ChrisRackauckas Aug 18, 2024
619d49c
fix
ChrisRackauckas Aug 18, 2024
840e3b9
move things around
ChrisRackauckas Aug 18, 2024
d3829c1
flip
ChrisRackauckas Aug 18, 2024
645520f
pass u for allowing the creation of constant cache fsal
ChrisRackauckas Aug 18, 2024
34c390e
a few more
ChrisRackauckas Aug 18, 2024
091109a
more
ChrisRackauckas Aug 18, 2024
7119fa9
fix missing init
ChrisRackauckas Aug 18, 2024
9acf18b
a few fixes
ChrisRackauckas Aug 18, 2024
23cc8d5
fix resizing for new fsal memory
ChrisRackauckas Aug 18, 2024
25efbff
fix more typos
ChrisRackauckas Aug 18, 2024
0384d07
fix all solver specific tests
ChrisRackauckas Aug 18, 2024
e4f1328
fix composite fsals
ChrisRackauckas Aug 18, 2024
5fb9951
handle u
ChrisRackauckas Aug 18, 2024
6c6c838
update DiffEqBase
isaacsas Aug 18, 2024
59c253f
set fsal before initialization
ChrisRackauckas Aug 18, 2024
f43bcaf
Merge pull request #2377 from SciML/tstop_interface
ChrisRackauckas Aug 18, 2024
3537140
fix FSAL type?
ChrisRackauckas Aug 18, 2024
a0d1c9e
another
ChrisRackauckas Aug 18, 2024
eda0929
done
ChrisRackauckas Aug 18, 2024
4856d99
Setup for DelayDiffEq downstream
ChrisRackauckas Aug 19, 2024
cb87c1c
Merge pull request #2390 from SciML/undef_fsal
ChrisRackauckas Aug 19, 2024
3456aec
fix oop BDF gamma type and terk_tmp type
oscardssmith Aug 19, 2024
7f00225
tighten tols
oscardssmith Aug 19, 2024
f464308
Merge pull request #2394 from oscardssmith/os/fix-Float32-oop-bdf
ChrisRackauckas Aug 19, 2024
33915d3
bump all
ChrisRackauckas Aug 19, 2024
bd56fc5
update firk order
ChrisRackauckas Aug 20, 2024
83c55c9
Merge pull request #2405 from SciML/firk_order
ChrisRackauckas Aug 20, 2024
de394f3
Merge branch 'master' into upstream
Shreyas-Ekanathan Aug 21, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ ADTypes = "0.2, 1"
Adapt = "3.0, 4"
ArrayInterface = "7"
DataStructures = "0.18"
DiffEqBase = "6.147"
DiffEqBase = "6.154"
DocStringExtensions = "0.9"
EnumX = "1"
ExponentialUtilities = "1"
Expand Down
25 changes: 20 additions & 5 deletions lib/OrdinaryDiffEqAdamsBashforthMoulton/Project.toml
Original file line number Diff line number Diff line change
@@ -1,30 +1,45 @@
name = "OrdinaryDiffEqAdamsBashforthMoulton"
uuid = "89bda076-bce5-4f1c-845f-551c83cdda9a"
authors = ["ParamThakkar123 <[email protected]>"]
version = "1.0.0"
version = "1.1.0"

[deps]
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
MuladdMacro = "46d2c3a1-f734-5fdb-9937-b9b9aeba4221"
OrdinaryDiffEqCore = "bbf590c4-e513-4bbe-9b18-05decba2e5d8"
OrdinaryDiffEqLowOrderRK = "1344f307-1e59-4825-a18e-ace9aa3fa4c6"
Polyester = "f517fe37-dbe3-4b94-8317-1923a5111588"
RecursiveArrayTools = "731186ca-8d62-57ce-b412-fbd966d074cd"
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"
ADTypes = "47edcb42-4c32-4615-8424-f2b9edc5f35b"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
Reexport = "189a3867-3050-52da-a836-e630ba90ab69"
Static = "aedffcd0-7271-4cad-89d0-dc628f76c6d3"

[compat]
ADTypes = "1.7.1"
DiffEqBase = "6.152.2"
DiffEqDevTools = "2.44.4"
FastBroadcast = "0.3.5"
MuladdMacro = "0.2.4"
ODEProblemLibrary = "0.1.8"
OrdinaryDiffEqCore = "1.1"
OrdinaryDiffEqLowOrderRK = "<0.0.1, 1"
Polyester = "0.7.16"
Random = "<0.0.1, 1"
RecursiveArrayTools = "3.27.0"
Reexport = "1.2.2"
SafeTestsets = "0.1.0"
Static = "1.1.1"
Test = "<0.0.1, 1"
julia = "1.10"

[extras]
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"
DiffEqDevTools = "f3b72e0c-5b89-59e1-b016-84e28bfd966d"
ODEProblemLibrary = "fdc4e326-1af4-4b90-96e7-779fcce2daa5"
Random = "9a3f8284-a2c9-5f02-9a11-845980a1fd5c"
SafeTestsets = "1bc83da4-3b8d-516f-aca4-4fe02f6d838f"
Test = "8dfed614-e22c-5e08-85e1-65c5234f0b40"
DiffEqBase = "2b5f629d-d688-5b77-993f-72d75c75574e"

[targets]
test = ["DiffEqDevTools", "ODEProblemLibrary", "Random", "SafeTestsets", "Test", "DiffEqBase"]
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,14 @@ import OrdinaryDiffEqCore: OrdinaryDiffEqMutableCache, OrdinaryDiffEqConstantCac
OrdinaryDiffEqAdaptiveAlgorithm,
OrdinaryDiffEqAdamsVarOrderVarStepAlgorithm,
constvalue, calculate_residuals, calculate_residuals!,
trivial_limiter!,
trivial_limiter!, get_fsalfirstlast,
full_cache
import OrdinaryDiffEqLowOrderRK: BS3ConstantCache, BS3Cache, RK4ConstantCache, RK4Cache
import RecursiveArrayTools: recursivefill!
using MuladdMacro, FastBroadcast
import Static: False
import ADTypes: AutoForwardDiff
import OrdinaryDiffEqCore

using Reexport
@reexport using DiffEqBase
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
@cache mutable struct AB3Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
abstract type ABMMutableCache <: OrdinaryDiffEqMutableCache end
abstract type ABMVariableCoefficientMutableCache <: OrdinaryDiffEqMutableCache end
get_fsalfirstlast(cache::ABMMutableCache,u) = (cache.fsalfirst, cache.k)
get_fsalfirstlast(cache::ABMVariableCoefficientMutableCache,u) = (cache.fsalfirst, cache.k4)
@cache mutable struct AB3Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -38,7 +42,7 @@ function alg_cache(alg::AB3, u, rate_prototype, ::Type{uEltypeNoUnits},
AB3ConstantCache(k2, k3, 1)
end

@cache mutable struct ABM32Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
@cache mutable struct ABM32Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -78,7 +82,7 @@ function alg_cache(alg::ABM32, u, rate_prototype, ::Type{uEltypeNoUnits},
ABM32ConstantCache(k2, k3, 1)
end

@cache mutable struct AB4Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
@cache mutable struct AB4Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -128,7 +132,7 @@ function alg_cache(alg::AB4, u, rate_prototype, ::Type{uEltypeNoUnits},
AB4ConstantCache(k2, k3, k4, 1)
end

@cache mutable struct ABM43Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
@cache mutable struct ABM43Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -184,7 +188,7 @@ function alg_cache(alg::ABM43, u, rate_prototype, ::Type{uEltypeNoUnits},
ABM43ConstantCache(k2, k3, k4, 1)
end

@cache mutable struct AB5Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
@cache mutable struct AB5Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -236,7 +240,7 @@ function alg_cache(alg::AB5, u, rate_prototype, ::Type{uEltypeNoUnits},
AB5ConstantCache(k2, k3, k4, k5, 1)
end

@cache mutable struct ABM54Cache{uType, rateType} <: OrdinaryDiffEqMutableCache
@cache mutable struct ABM54Cache{uType, rateType} <: ABMMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -312,7 +316,7 @@ end

@cache mutable struct VCAB3Cache{uType, rateType, TabType, bs3Type, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -408,7 +412,7 @@ end

@cache mutable struct VCAB4Cache{uType, rateType, rk4cacheType, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -504,7 +508,7 @@ end

@cache mutable struct VCAB5Cache{uType, rateType, rk4cacheType, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -602,7 +606,7 @@ end
@cache mutable struct VCABM3Cache{
uType, rateType, TabType, bs3Type, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -708,7 +712,7 @@ end

@cache mutable struct VCABM4Cache{uType, rateType, rk4cacheType, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -813,7 +817,7 @@ end

@cache mutable struct VCABM5Cache{uType, rateType, rk4cacheType, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down Expand Up @@ -919,7 +923,7 @@ end

@cache mutable struct VCABMCache{uType, rateType, dtType, tArrayType, cArrayType,
uNoUnitsType, coefType, dtArrayType} <:
OrdinaryDiffEqMutableCache
ABMVariableCoefficientMutableCache
u::uType
uprev::uType
fsalfirst::rateType
Expand Down
Loading
Loading