Skip to content

Add RK4 solver for OdeProblem #247

Description

@dyreby

Forward Euler landed in #242. This issue tracks the RK4 integrator.

Add transient::rk4 following the same structure as transient::euler:

  • solve / solve_unobserved API
  • Own Config, Solution, Error, Event, Action types
  • Event emitted after each accepted step
  • Action::StopEarly for observer-controlled termination

Design note

RK4 uses four intermediate evaluations per step (k1–k4), none of which should trigger finalize_step — that hook runs only on the accepted step, same as Euler.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions