1 SUBROUTINE peri(U,UPR,TPR,M1,M2,Q)
22 IMPLICIT REAL*8 (a-h,m,o-z)
27 r = u(1)**2 + u(2)**2 + u(3)**2 + u(4)**2
28 rd = upr(1)**2 + upr(2)**2 + upr(3)**2 + upr(4)**2
39 coef = (2.0d0*r/tpr)**2/(m1 + m2)
45 oa = (2.0d0 - coef*rd)/r
48 ecc2 = max(1.0d0 - p*oa,0.0d0)