ASCL.net

Astrophysics Source Code Library

Making codes discoverable since 1999

ASCL Code Record

[ascl:2510.026] DISCO-DJ: Differentiable Simulations for Cosmology, Done with JAX
DISCO-DJ performs large-scale structure (LSS) cosmological simulations with full support for automatic differentiation via the JAX (ascl:2111.002) ecosystem. It integrates a suite of modern cosmological modelling tools, including a fast particle-mesh (PM) N-body solver enhanced by theory-informed time integrators, such as BullFrog and FastPM (ascl:1905.010), and discreteness-suppression techniques (e.g., de-aliasing, sheet-based resampling, higher-order mass assignment kernels). The code also provides an interface to a differentiable Einstein–Boltzmann solver, high-order Lagrangian perturbation theory (nLPT) recursion relations, and semi-classical propagator perturbation theory (PPT). By utilizing JAX’s forward- and reverse-mode automatic differentiation (including memory-efficient adjoint methods), DISCO-DJ enables cosmological inference scenarios where differentiable pipelines from initial conditions to late-time observables are required.
Code site:
https://github.com/cosmo-sims/DISCO-DJ
Used in:
https://ui.adsabs.harvard.edu/abs/2025PhRvD.112f3531G
Described in:
https://ui.adsabs.harvard.edu/abs/2025arXiv251005206L
Bibcode:
2025ascl.soft10026L


ascl:2510.026
Add this shield to your page
Copy the above HTML to add this shield to your code's website.