|
Dear Danila,
you are right, `BinEnergyPraticles` works with a threshold to calculate the energy with more accuracy in the case that the particle is non-relativistic.
The threshold (GAMMA_THRESH) can be changed in the file `speciesConstants.param`
René
On 01/10/2017 04:30 PM, Khikhlukha Danila wrote:
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.
--
René Widera
Abteilung Laser-Teilchenbeschleunigung (FWKT)
Helmholtz-Zentrum Dresden-Rossendorf
Tel: +49 (0351) 260 3543
r.widera@hzdr.de
http://www.hzdr.de
Vorstand: Prof. Dr. Dr. h. c. Roland Sauerbrey,
Prof. Dr. Dr. h. c. Peter Joehnk
Vereinsregister: VR 1693 beim Amtsgericht Dresden
|
|