Skip to content

CRPropa 3.1.7

Compare
Choose a tag to compare
@rafaelab rafaelab released this 11 Feb 16:20
· 953 commits to master since this release

Bug fixes:

  • Re-add URB that was temporarily not available in the (unreleased) master branch. [#315]
  • Turbulent fields generated on a grid were limited up to 2048 grid-size due to an integer overflow (i.e. 2048^3 index > signed int); solved by replacing int with size_t

New features:

  • New model for the radio background added: Nitu et al. 2021 measurements (see pull request #315)
  • New model for the radio background added: Fixsen et al. 2011 (ARCADE-2) measurements.
  • Weighted sampling thinning of electromagnetic processes (EMPairProduction, EMInverseComptonScattering, EMDoublePairProduction, EMTripletPairProduction) (see pull request #281 )
  • Planck JF12b variant of the JF12Field. See arXiv:1601.00546. Thanks to Mikhail Zotov for contributing (see pull request #273 )
  • ParticleCollector can provide Candidates directly to ModuleList::run
  • Basic file versioning of the data archive in CMakeLists.txt
  • Python docstrings are generated automatically from doxygen documentation (see pull request #301)
  • New method to discard particles with minimum energy below a given threshold, depending on the type of particle (see pull request #289)
  • Photon field classes replaced the photon field enumerator, consequently, the new photon fields implementation follows the same logic as of the other modules making it is easier to introduce custom ones (see pull request #286 )
  • New class-based interface for turbulent fields introduced
  • New turbulence modules implemented: (see pull request #287)
    • GridTurbulence (with the bendover scale) which should in general be used instead of initTurbulence (before, it was implemented as initTurbulenceWithBendover);
    • SimpleGridTurbulence which provides the exact field as initTurbulence;
    • HelicalGridTurbulence which provides the exact field as initHelicalTurbulence
    • PlaneWaveTurbulence a new algorithm based on Giacalone & Jokipii, 1999 and Tautz & Dosch, 2013.
  • New CMake option: BUILD_DOC for building Doxygen & Sphinx docs

Interface change:

  • ParticleCollector::getAll() -> ParticleCollector::getContainer()
  • Photon fields are no longer items of the PhotonField enumerator but independent classes that share the same interface, so instead of CMB one should use CMB(), instead of IRB_Kneiske04 - IRB_Kneiske04(), etc.
  • initTurbulenceWithBendover() removed (as it was just briefly present in the code) and replaced with GridTurbulence

Features that are deprecated and will be removed after this release:

  • Turbulence-related functions: initTurbulence, turbulentCorrelationLength, initHelicalTurbulence