GALPROP
https://galprop.stanford.edu/forum/

A bug in gen_DM_source.cc of v57
https://galprop.stanford.edu/forum/viewtopic.php?f=7&t=958
Page 1 of 1

Author:  WangXiao [ Sun Jun 15, 2025 7:58 pm ]
Post subject:  A bug in gen_DM_source.cc of v57

In the line 93 of gen_DM_source.cc of v57:
Code:
dndp[ip] = (darkmatter)(DMmass, particle.Etot[ip]*1e-3) * particle.beta[ip] * 1e-3;


This is an operation that gets dndp of antiproton from a table of PPPC4. However, I checked the table, AtProduction_antiprotons.dat, and found that we should pass the mass and kinetic energy instead of total energy.
Perhaps this is a minor error, but I hope you can correct it.

Page 1 of 1 All times are UTC - 8 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/