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

Linear interpolation for algebraic variables #2048

Merged
merged 40 commits into from
Dec 11, 2023
Merged
Show file tree
Hide file tree
Changes from 26 commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
16b5756
oscar wip
Nov 2, 2023
6c29846
more WIP
Nov 7, 2023
55b2c6f
add differential_vars arguments
Nov 9, 2023
bc34d5e
attempts to slice and splice hermite
Nov 9, 2023
7bbcae4
first working prototype
Nov 13, 2023
41ab489
don't error on QR
Nov 13, 2023
85d55b5
catch one additional entry point
Nov 13, 2023
ce3dd85
try to handle more cases
Nov 13, 2023
9efb245
default to nothing
Nov 14, 2023
e895c2f
handle noindex_tests
Nov 14, 2023
83134e1
remove debug prints
Nov 14, 2023
96cc3a1
actually return the thing
Nov 14, 2023
de537cf
fix linear method tests
Nov 14, 2023
2bab611
broadcastable algebraic aware interpolation
Nov 15, 2023
6829d14
add broadcast for dv
Nov 15, 2023
c19e12b
use a view to build differential vars
Nov 16, 2023
f7abf08
apparently type inference doesn't like the broadcast macro thing
Nov 16, 2023
93df452
add parameter to rosenbrock interpolants
Nov 28, 2023
1c961f4
use diag function
pepijndevos Nov 28, 2023
04ab983
add derivative implementations
Nov 28, 2023
223a885
add differential_vars to evaluate_interpolant
Nov 28, 2023
f138d63
add and fix algebraic interpolation tests
Nov 29, 2023
deded50
add sanity check for interpolation used
Nov 29, 2023
c334bca
Update src/dense/generic_dense.jl
ChrisRackauckas Dec 10, 2023
e4ba508
clean up
ChrisRackauckas Dec 10, 2023
4580a96
don't enforce fallbacks: be safer than that
ChrisRackauckas Dec 10, 2023
9ab430e
Fix definitions to always pass and make missing more robust
ChrisRackauckas Dec 10, 2023
174a6a2
Move differential_vars calculation to the integrator
ChrisRackauckas Dec 10, 2023
699143d
typo
ChrisRackauckas Dec 10, 2023
42944d6
fix static array nesting
ChrisRackauckas Dec 10, 2023
6c5bb8c
fix generated odeinterpolant call
ChrisRackauckas Dec 10, 2023
6868829
one more
ChrisRackauckas Dec 10, 2023
de3e86d
fix typo again...
ChrisRackauckas Dec 10, 2023
c190753
handle idxs number case
ChrisRackauckas Dec 10, 2023
f9c38ba
typo
ChrisRackauckas Dec 10, 2023
ce6980f
fix a few last cases
ChrisRackauckas Dec 10, 2023
6ec50f5
handle SciMLOperators
ChrisRackauckas Dec 10, 2023
739a16d
typo
ChrisRackauckas Dec 11, 2023
e132302
fix some convergence tests
ChrisRackauckas Dec 11, 2023
690cd29
Update test/interface/inplace_interpolation.jl
ChrisRackauckas Dec 11, 2023
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
1 change: 1 addition & 0 deletions Project.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ DocStringExtensions = "ffbed154-4ef7-542d-bbb7-c09d3a79fcae"
ExponentialUtilities = "d4d017d3-3776-5f7e-afef-a10c40355c18"
FastBroadcast = "7034ab61-46d4-4ed7-9d0f-46aef9175898"
FastClosures = "9aa1b823-49e4-5ca5-8b0f-3971ec8bab6a"
FillArrays = "1a297f60-69ca-5386-bcde-b61e274b549b"
FiniteDiff = "6a86dc24-6348-571c-b903-95158fe2bd41"
ForwardDiff = "f6369f11-7733-5829-9624-2563aa707210"
FunctionWrappersWrappers = "77dc65aa-8811-40c2-897b-53d922fa7daf"
Expand Down
2 changes: 2 additions & 0 deletions src/OrdinaryDiffEq.jl
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ using LinearSolve, SimpleNonlinearSolve

using LineSearches

import FillArrays: Trues

# Interfaces
import DiffEqBase: solve!, step!, initialize!, isadaptive

Expand Down
252 changes: 160 additions & 92 deletions src/dense/generic_dense.jl

Large diffs are not rendered by default.

Loading
Loading