-
-
Notifications
You must be signed in to change notification settings - Fork 220
add DAETS integrator #2609
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
base: master
Are you sure you want to change the base?
add DAETS integrator #2609
Conversation
ui = make_taylor(uprev, us[1:i]...) | ||
ti = TaylorScalar{i}(t, one(t)) | ||
outi = make_taylor(ks[1:i+1]...) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
For the in place versions, these should be part of the cache and mutated rather than allocating new ones each time.
dti *= dt | ||
@.. u += dti * us[i + 1] | ||
end | ||
OrdinaryDiffEqCore.increment_nf!(integrator.stats, 3) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should increment by P
(or something like that), right?
@@ -0,0 +1,257 @@ | |||
# struct Tsit5ConstantCache <: OrdinaryDiffEqConstantCache end |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this file isn't supposed to be here, right?
@@ -0,0 +1,352 @@ | |||
RK_WITH_SPECIAL_INTERPOLATIONS = Union{Tsit5ConstantCache, Tsit5Cache} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
all of the stuff here is wrong (we should probably delete the file for now)
@test Σ[2, 2] == 2 | ||
end | ||
|
||
println("DONE Signature Matrix Tests") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
the @testset
will do the printing, no need to add println
s manually.
return nothing | ||
end | ||
|
||
@muladd function perform_step!(integrator, cache::DAETSCache, repeat_step = false) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is just the ExplicitTaylor2
implimentation? is the DAETS step missing?
Checklist
contributor guidelines, in particular the SciML Style Guide and
COLPRAC.
Additional context
see #524
Add any other context about the problem here.