-
-
Notifications
You must be signed in to change notification settings - Fork 221
WIP: add fixed-step RKV87-IIa (not yet working) #2693
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?
Conversation
alg_order(::RKV87) = 8 # primary solution order | ||
embedded_order(::RKV87) = 7 # will matter once adaptivity is added | ||
isfsal(::RKV87) = false # pair is NOT FSAL | ||
has_dense_output(::RKV87)= false # we haven’t wired the interpolant yet |
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.
that's not a trait, also it has a fallback to linear.
# ------------------------------------------------------------------ | ||
# Cache for Verner RKV87-IIa (13 stage values + 1 work vector) | ||
# ------------------------------------------------------------------ | ||
@cache RKV87ConstantCache begin | ||
k1::K ; k2::K ; k3::K ; k4::K ; k5::K ; k6::K ; k7::K | ||
k8::K ; k9::K ; k10::K ; k11::K ; k12::K ; k13::K | ||
tmp::K # work vector for low-storage kernel | ||
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.
You're missing the alg_cache dispatches and the definition of the working cache.
perform_step!(integrator, | ||
cache::RKV87ConstantCache, | ||
tab::ExplicitRKTableau{13}) = | ||
verner_lowstorage_step!(integrator, cache, tab) |
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 function doesn't exist? Is this outputted by an LLM?
This PR adds the Verner 8/7 (RKV87-IIa) method following issue #2621.
It compiles without errors, but RKV87 doesn’t show up in the REPL and I haven’t gotten the test to pass yet.
Would appreciate help debugging what’s missing — I suspect it’s not being registered properly.
@ChrisRackauckas