Skip to content

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Irura-Coder
Copy link

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

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
Copy link
Member

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.

Comment on lines +266 to 273
# ------------------------------------------------------------------
# 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
Copy link
Member

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)
Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants