Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
we realized that there is a little change to be done to the routine trprfn.F, due to our last fix with IERR = 5 (for the cases when start and end points of the step coincide): the problem is that the check for coincidence (IERR = 5) is made before the check for 0 momentum (IERR = 2). For this reason at low energies when the particle loses all its kinetic energy and should stop with IERR = 2, it keeps trying to go on and hitting the same point (IERR = 5) . This does not affect the results, but it is a wrong behaviour. With the fix, that just switches the two checks, the tests on the particle propagation are made in the correct order.
- Loading branch information