10 common/pyrvpm/rm(0:3),a(2),b(2),resm(2),resw(2),mflag
11 DOUBLE PRECISION x, rm, a, b, resm, resw, deltay,
pyrvs
12 DOUBLE PRECISION rvs,
pyrvg2,e2,e3,c1,sr1,sr2
15 c1 = 2d0*sqrt(
max(0d0,
x))
16 rvs =
pyrvs(
x,
x,resm(1),resw(1),resm(2),resw(2))
21 pyrvg2 = deltay*rvs*
x*(a(1)*a(2)+b(1)*b(2))*(rm(0)**2-
x)
23 e2 = (
x-rm(1)**2+rm(2)**2)/c1
24 e3 = (rm(0)**2-
x-rm(3)**2)/c1
25 sr1 = sqrt(
max(0d0,e2**2-rm(2)**2))
26 sr2 = sqrt(
max(0d0,e3**2-rm(3)**2))
28 pyrvg2 = deltay*rvs*(
x-rm(1)**2-rm(2)**2)*((a(1)*a(2)
29 & + b(1)*b(2))*(rm(0)**2+rm(3)**2-
x)
30 & + 2d0*(a(1)*b(2)+a(2)*b(1))*rm(3)*rm(0))