secrethilt.blogg.se

All dragon project codes
All dragon project codes







Therefore we wrote DRAGON as a library that can be coupled to, e.g., DarkSUSY. we wanted to propagate DM originated cosmic rays.

All dragon project codes code#

Therefore we wrote the code aiming at performances and with an efficient memory management.

  • in order to find good propagation models one needs to run the code thousand times.
  • The code was built having in mind a few motivations: The code is then very flexible and easy to manage and to modify or update. This is done very easily using the well known C++ structure of abstract/derived classes. However, each of these models is accompanied by other models, which can be selected by setting the appropriate switch.

    all dragon project codes

    Therefore, we kept in the code some features and models used in Galprop, like nuclear cross-sections, the gas distribution, the convergence technique. The second reason is that it is essential to be able to compare our predictions with that of the Galprop code, and this can be done only by following the details of its implementation. The first reason is that it is a waste of time to reimplement standard parts, like energy losses, in which nothing new has to be found. Some parts of DRAGON are built following GALPROP, v50p. To enable this feature, users may get close to the accurate solution by using the fast method, and then switch to a more accurate solution scheme, featuring the Alternating-Direction-Implicit (ADI) Cranck-Nicholson scheme. Occasionally, users may want to have very accurate solutions to their problem.

    all dragon project codes

    This provides fast a solution that is enough accurate for the average user. Diffusion Reacceleration and Advection of Galactic cosmic rays: an Open New code IntroductionĭRAGON adopts a second-order Cranck-Nicholson scheme with Operator Splitting and time overrelaxation to solve the diffusion equation.







    All dragon project codes