Elsevier Science Home
Computer Physics Communications Program Library
Full text online from Science Direct
Programs in Physics & Physical Chemistry
CPC Home

[Licence| Download | New Version Template] aelk_v1_0.tar.gz(448 Kbytes)
Manuscript Title: ELMAG: A Monte Carlo simulation of electromagnetic cascades on the extragalactic background light and in magnetic fields
Authors: M. Kachelriess, S. Ostapchenko, R. Tomás
Program title: ELMAG 1.01
Catalogue identifier: AELK_v1_0
Distribution format: tar.gz
Journal reference: Comput. Phys. Commun. 183(2012)1036
Programming language: Fortran 95.
Computer: Any computer with Fortran 95 compiler.
Operating system: Any system with Fortran 95 compiler.
Has the code been vectorised or parallelized?: Yes, using the MPI version.
RAM: 4 Mbytes
Keywords: Electromagnetic cascades, extragalactic background light, extragalactic magnetic fields.
Classification: 11.3, 11.4.

Nature of problem:
Calculation of secondaries produced by electromagnetic cascades on the extragalactic background light (EBL)

Solution method:
Monte Carlo simulation of pair production and inverse Compton scattering on EBL photons; two parametrisations from Ref. [1] can be chosen as EBL; weighted sampling of the cascading secondaries; recording of energy, observation angle and time delay of secondary particles at the present epoch.

Deflections and time-delays are calculated in the small-angle approximation.

Running time:
400 seconds for 103 photons injected at redshift z = 0.2 with energy E = 100 TeV using one Intel(R) Core(TM) i7 CPU with 2.8GHz.

[1] T. M. Kneiske and H. Dole, Astron. Astrophys. 515 (2010) A19 [arXiv:1001.2132 [astro-ph.CO]].