Cosmic Ray Interstellar Propagation Tool using Itô Calculus (criptic): software for simultaneous calculation of cosmic ray transport and observational signatures
arXiv:2207.13838 · doi:10.1093/mnras/stac2712
Abstract
We present criptic, the Cosmic Ray Interstellar Propagation Tool using Itô Calculus, a new open-source software package to simulate the propagation of cosmic rays through the interstellar medium and to calculate the resulting observable non-thermal emission. Criptic solves the Fokker-Planck equation describing transport of cosmic rays on scales larger than that on which their pitch angles become approximately isotropic, and couples this to a rich and accurate treatment of the microphysical processes by which cosmic rays in the energy range MeV to PeV lose energy and produce emission. Criptic is deliberately agnostic as to both the cosmic ray transport model and the state of the background plasma through which cosmic rays travel. It can solve problems where cosmic rays stream, diffuse, or perform arbitrary combinations of both, and the coefficients describing these transport processes can be arbitrary functions of the background plasma state, the properties of the cosmic rays themselves, and local integrals of the cosmic ray field itself (e.g., the local cosmic ray pressure or pressure gradient). The code is parallelised using a hybrid OpenMP-MPI paradigm, allowing rapid calculations exploiting multiple cores and nodes on modern supercomputers. Here we describe the numerical methods used in the code, our treatment of the microphysical processes, and the set of code tests and validations we have performed.
29 pages, 15 figures, accepted to MNRAS; very minor changes from first version. The software described is available from https://bitbucket.org/krumholz/criptic/src/master/, and a users' guide can be found at https://criptic.readthedocs.io/
References in corpus (15)
- Array Programming with NumPy
- Parametrization of gamma-ray production cross-sections for pp interactions in a broad proton energy range from the kinematic threshold to PeV energies
- Magnetic Fields in Starburst Galaxies and The Origin of the FIR-Radio Correlation
- Cosmic-ray propagation with DRAGON2: I. numerical solver and astrophysical ingredients
- Effective destruction of CO by cosmic rays: implications for tracing H gas in the Universe
- Cosmic ray physics in calculations of cosmological structure formation
- Cosmic ray-driven galactic winds: streaming or diffusion?
- Cosmic ray transport in starburst galaxies
- The Central 300 pc of the Galaxy probed by infrared spectra of H and CO: part I. Predominance of warm and diffuse gas and high H ionization rate
- The diffuse -ray background is dominated by star-forming galaxies
- Cosmic rays and non-thermal emission in simulated galaxies: III. probing cosmic ray calorimetry with radio spectra and the FIR-radio correlation
- Cosmic rays and non-thermal emission in simulated galaxies. II. -ray maps, spectra and the far infrared--ray relation
- Cosmic-Ray Transport in Varying Galactic Environments
- Rigorous theory for secondary cosmic-ray ionization
- Parametrization of the nucleus-nucleus gamma-ray production cross sections below 100 GeV/nucleon: Subthreshold pions and Hard photons