Skip to content

Developer & Specifications Archive

This historical archive preserves the initial pre-audit scoping census, dependency DAG analysis, stage-by-stage technical specifications, and pre-audit benchmark reports written before FlexMESA re-baselined its single active reference to MESA release 26.4.1 (DECISIONS #22, #141).

Pre-Audit Historical Archive (#140, #142, #145, #165, #166)

The Wave 0 through Wave 5 specifications linked below are historical pre-audit records written against MESA 0b2e6bb. Statements inside them regarding verification, parity, 0 ULP end-to-end checks, or unconditional #![forbid(unsafe_code)] across every crate are superseded by the post-audit MESA 26.4.1 governance in notes/SCOPE.md and notes/DECISIONS.md (including flexmesa-crlibm-sys as the sole unsafe FFI wrapper crate under #165, and canonical Rust vs. derived JAX roles under #166). The six benchmark reports at the bottom of this page have been updated against the committed MESA r26.4.1 raw outputs in benchmarks/raw/26.4.1/ (#146).

For user-facing domain physics, governing equations, and usage examples, see the Background & Physics section. For current MESA 26.4.1 progress, declared gaps, and provenance-backed benchmark tables, see Live Progress Dashboard, Declared Known Gaps, Port Coverage Map, Verification & Benchmarks Overview, Kernel Performance Scorecards, and Tolerance & Discrepancy Ledger.


Scoping & Architectural Specifications

  • Master Scoping & Architecture: Line-of-code census of upstream MESAHub/mesa, the 12-tier acyclic module dependency DAG, the Index & Memory-Order Contract (1..nz column-major Fortran vs. 0..nz-1 C-contiguous row-major FlexMESA), and explicit scope boundaries (PGSTAR \(\to\) flexmesa.plotting, pulsation export boundary for GYRE/FGONG/OSC, and unified TDC/RSP2).
  • Wave 0 Infrastructure Specification: Declarative .defaults and Fortran inlist schema validation (flexmesa.schema), deterministic .safetensors physics table encoding and SHA-256 manifest verification (flexmesa.data), and upstream <pkg>/test/test_output reference comparators (flexmesa.testing).
  • Wave 1 Foundation & Microphysics Specification: Physical constants (const), utilities (utils), IEEE-754 elementary intrinsics (math), const-generic forward-mode dual and hyperdual numbers (auto_diff), 1D monotonic and 2D bicubic splines (interp_1d, interp_2d), dense/banded/block-tridiagonal linear solvers (mtx), root-finders and stiff ODE integrators (num), 5-channel thermal neutrinos (neu), and local/time-dependent turbulent convection (turb).
  • Wave 1.5 Hybrid Consolidation Specification: Unification of the Three-Tier Hybrid Architecture (Tier A canonical Safe Rust, Tier B dual Safe Rust + @jax.jit microphysics, Tier C Hirshman bcyclic + GPU Parallel Cyclic Reduction + @jax.custom_vjp), zero-copy PyO3 bindings, and the 4-way Fortran MESA benchmark harness.
  • Wave 2 Atomic & Photometric Specification: 347 built-in reference nuclides (plus full isotopes.data parser), 286 solar isotopes, and 10 solar abundance scales (AG89 through AAG21) (chem), partial ionization and effective ionic charges (ionization), and 32-gather 3D cubic Hermite Kurucz SED synthesis and non-uniform Simpson filter photometry (colors).
  • Wave 3a Analytical & Single-Table EOS Specification: Canonical 26-slot thermodynamic state vector, Aparicio (1998) Gauss-Fermi integrals, neutral Ideal gas, Timmes & Swesty (2000) biquintic/bicubic HELM, Potekhin & Chabrier (2010) PC, Jermyn et al. (2021) third-order Skye crystallization EOS, \(C^2\) polygonal quintic blending (eos_dt_get), and \((P_{\mathrm{gas}}, T)\) root-finding inversions (eos_pt_get).
  • Wave 3b 4D Tabulated EOS, Opacity, Rates, Networks & Atmospheres Specification: 4D \((X, Z, \log_{10} Q, \log_{10} T)\) tabulated equations of state (OPAL/SCVH, FreeEOS, CMS), radiative/conductive/Compton opacities (kap), 316 REACLIB rates and plasma screening (rates), SIMD dual-number reaction networks and stiff 1-zone burners (net), and grey/irradiated/tabulated model atmospheres (atm).
  • Wave 4 1D Stellar Structure & Evolution Specification: Staggered 1D Lagrangian stellar structure (star_data, star), 8-mass ZAMS catalog, 3-cell stencil automatic differentiation (StarAdOrder1), coupled Henyey Newton-Raphson solver, overshooting, stellar winds, adaptive remeshing (mesh_adjust), and Söderlind-Wang H211 timestep control (varcontrol).
  • Wave 5 Advanced Stellar Physics, Interacting Binaries & Asteroseismology Specification: Burgers multi-fluid atomic diffusion, Caplan OCP strong coupling, crystallization phase separation, Roche shellular rotation and Spruit-Tayler dynamo, well-balanced 1D spherical HLLC Riemann hydrodynamics, RSP2 radial pulsation, GYRE/FGONG/OSC exporters, coupled interacting binary evolution (binary), and asteroseismic scaling, surface corrections, and optimization (astero).

MESA 26.4.1 Four-Way Benchmark Reports (benchmarks/raw/26.4.1/)