differential_equations/methods/
mod.rs

1//! Numerical Methods for Differential Equations
2
3mod h_init;
4
5// --- Explicit Runge-Kutta Methods ---
6mod erk;
7pub use erk::ExplicitRungeKutta;
8
9// --- Implicit Runge-Kutta Methods ---
10mod irk;
11pub use irk::ImplicitRungeKutta;
12
13// --- Adams Predictor-Corrector Methods ---
14mod apc;
15pub use apc::AdamsPredictorCorrector;
16
17// --- Typestate Categories for Differential Equations Types ---
18pub struct Ordinary;
19pub struct Delay;
20pub struct Stochastic;
21
22// --- Typestate Categories for Numerical Methods Families ---
23
24/// Fixed-step methods
25pub struct Fixed;
26
27/// Adaptive-step methods
28pub struct Adaptive;
29
30/// Explicit Adaptive-step methods by Dormand-Prince
31/// 
32/// Note that technically, Dormand-Prince is a specific adaptive method, but we keep it as a separate category 
33/// because the there are optimizations for the primary stages, error estimation, and dense output interpolation
34/// that can not be generalized to all adaptive methods and thus requires it's own category. 
35/// Non Dormand-Prince adaptive methods might also be implemented in this category that share the same optimizations.
36pub struct DormandPrince;