Dear all,
After looking into a pusher code I realized that the relativistic correction is applied during the new momentum calculations. So my question is irrelevant.
Initially I got confused by the BinEnergyParticles.hpp file where there are two branches of code for energy: relativistic and non-relativistic. I guess the non-relativistic case represents a limit of low gamma
(while the momentum is kept to be relativistic) and introduced for the sake of accuracy.
Thanks,
Danila.
From: picongpu-users@hzdr.de [mailto:picongpu-users@hzdr.de]
On Behalf Of Khikhlukha Danila
Sent: Tuesday, January 10, 2017 11:38 AM
To: picongpu-users@hzdr.de
Subject: [PIConGPU-Users] Relativistic momentum
Dear all,
I have a bit naïve question regarding data in h5 files for the version 0.2.2. Am I correct that the moment of particles saved in simulations dumps is not relativistic corrected?
And then if I want to calculate the kinetic energy histogram, for instance, I need to calculate gamma manually? There is a plugin to calculate energy histogram while simulation is running. However I wasn’t using it, so I need to calculate
it during my post-processing.
Thanks,
Danila.