Skip to content

v0.9.0 — Mudflow Momentum

Choose a tag to compare

@github-actions github-actions released this 16 Sep 11:55

Summary

Per-site parallel dispatch calibration, a four-model Criterion benchmark suite, a new physically-representative lahar model, and SVG reference plots for all four benchmark models.

Added

Parallel dispatch (DD-014, DD-048) Per-site calibration rather than a single crate-wide threshold — measured, not assumed, for every site:

Site Default threshold Crossover measured
fd.rs stencils 49_999 10M–30M nodes
langmuir_multi row loop 1_000 100–1,000
lahar_multifield friction/erosion loop 1_000 100–1,000
lahar_multifield flux divergence 10_000 1,000–10,000 (unstable at 1,000)

Shared ParallelThreshold/calibrate_parallel_threshold mechanism (src/solver/parallel.rs) added for future src/-internal sites.

Criterion benchmark suite (#53) benches/oxiflow_parallel (renamed from oxiflow_benchmarks), four models — diffusion_1d, viscous_burgers, langmuir_multi, lahar_multifield.

Lahar multi-field model (DD-032, #139) Woodhouse, Hogg & Phillips' shallow-layer equations, reduced to 1D: four coupled conservative quantities — mass, momentum, solids, and bed elevation — rather than three, since the bed genuinely evolves and feeds back into the flow. Rusanov flux with MinMod-limited MUSCL reconstruction, full Pouliquen-Forterre + Chézy blended friction, Shields-threshold erosion, Soulsby/Richardson-Zaki hindered-settling deposition. Validated against three independent regimes: an early-inertial scaling law (0.3% error), a Chézy-drag-dominated scaling law (7.7% at t=10s), and a qualitative slump-and-stall pattern for constant-Coulomb friction, matching the paper's own documented behaviour.

SVG reference plots (#145) One dedicated example per benchmark model, each matching its literature figure or chrom-rs's own chromatogram output: diffusion_1d_plot, viscous_burgers_plot, langmuir_multi_plot, lahar_multifield_plot.

Changed

  • Criterion bench target renamed oxiflow_benchmarks → oxiflow_parallel.
  • CI: clippy/test --features parallel jobs enabled (previously commented out pending real use of the feature).

Not in this release

  • Dirty-flag caching (DD-015, #52) — closed without implementation this sprint.

Full changelog

See CHANGELOG.md for the complete entry.

Install:

[dependencies]
oxiflow = "0.9"