Public repository of the Cosmic Linear Anisotropy Solving System (master for the most recent version of the standard code; GW_CLASS to include Cosmic Gravitational Wave Background anisotropies; classnet branch for acceleration with neutral networks; ExoCLASS branch for exotic energy injection; class_matter branch for FFTlog)
I am testing some kind of decaying dark matter that evolves in stages, and I added piecewise differential equations to background_derivs. But the following error occurred:
Is it because the function is not smooth? Are there other ways to integrate piecewise differential equations?
Hi all,
I am testing some kind of decaying dark matter that evolves in stages, and I added piecewise differential equations to background_derivs. But the following error occurred:
Is it because the function is not smooth? Are there other ways to integrate piecewise differential equations?
Thanks a lot! Zixuan