Expand description
ODE Solver for coupled differential equations
Implements Runge-Kutta 4th order (RK4) solver for systems of ordinary differential equations, with GPU acceleration via PlatformGpuIntegrator.
§Architecture
- Iterative Workload: Chains thousands of RK4 steps through the production queue
- Kahan Accumulation: f64 precision for error propagation control
- GPU Acceleration: Uses PlatformGpuIntegrator for batch step computation
- WAL Persistence: Each step persisted to NVMe WAL for fault tolerance
§Usage
use qualia_core_db::modalities::calculus::ode_solver::{ExponentialDecay, Rk4Solver};
let system = ExponentialDecay::new(0.5);
let mut solver = Rk4Solver::new(system, 0.001);
let solution = solver.solve(0.0, 10.0, 1.0);Structs§
- Chaoiton
Profile - Chaoiton radial profile β(r) for astrophysics applications
- Coupled
Boltzmann - Coupled Boltzmann equations for step-size sensitivity analysis
- Exponential
Decay - Exponential decay: dy/dt = -λy
- Harmonic
Oscillator - Simple harmonic oscillator: d²x/dt² + ω²x = 0
- Linear
Decay Bvp - Simple linear BVP for testing: dy/dt = -y
- Quantization
Mapper - Canonical quantization equivalence mapper
- Rk4Solver
- Runge-Kutta 4th order ODE solver with GPU acceleration
- Shooting
Method - Boundary Value Problem solver using the Shooting Method
- Standard
Model Masses - Standard Model particle mass constants for validation
- Step
Size Analyzer - Step-size sensitivity analyzer for ODE solvers
Traits§
- BvpSystem
- Represents a Boundary Value Problem system
- OdeSystem
- Represents a system of first-order ODEs: dy/dt = f(t, y)
Functions§
- create_
ode_ step_ quin - Creates a Quin for an ODE solver step
- extract_
ode_ state - Extracts ODE state from a Quin
- pack_
ode_ state - Packs ODE state into a Quin