CRPropa / CRPropa3

CRPropa is a public astrophysical simulation framework for propagating extraterrestrial ultra-high energy particles. https://crpropa.github.io/CRPropa3/
https://crpropa.desy.de
GNU General Public License v3.0
72 stars 69 forks source link

How to set 'limit' parameter for EMPairProduction() #477

Closed Eobard828 closed 8 months ago

Eobard828 commented 8 months ago

I am doing an EBL simulation. My question is what the strategy is to set the 'limit' parameter for EMPairProduction(), since it seems that it has huge influence on the computational time and accuracy.

rafaelab commented 8 months ago

Hi @Eobard828, As described in the documentation, this flag enables the user to control the size of the next propagation step. Since CRPropa is versatile and can simulate various processes, users should determine the value of limit based on their specific requirements, probably by running a few convergence tests themselves.