26 real*8 b,rho,dg,sqrts0,xflow,h1,h2,c2,f,
df,dh2,hk,
27 & xflow2,tth,a1,yg1,a2,yg2,da2dh2,dyg2dh2,theta
29 call hcrit(xflow,rho,b,theta,dg,sqrts0,hk)
31 h2=h1*(-1.d0+dsqrt(1.d0+8.d0*(hk/h1)**3))/2.d0
33 if(dabs(theta).lt.1.d-10)
return 41 yg1=h1*(3.d0*b+2.d0*h1*tth)/(6.d0*(b+h1*tth))
47 yg2=h2*(3.d0*b+2.d0*h2*tth)/(6.d0*(b+h2*tth))
49 dyg2dh2=((3.d0*b+4.d0*h2*tth)*(b+tth)
50 & -tth*h2*(3.d0*b+2.d0*h2*tth))/
51 & (6.d0*(b+h2*tth)**2)
52 f=a2*xflow2+c2*(a1*a1*a2*yg1-a1*a2*a2*yg2)-a1*xflow2
53 df=da2dh2*xflow2+c2*(a1*a1*yg1*da2dh2-2.d0*a1*a2*da2dh2*yg2
56 if(dabs(dh2)/h2.lt.1.d-3)
exit 60 write(*,*)
'hns ',
'h1= ',h1,
'h2= ',h2,
'hk= ',hk
subroutine df(x, u, uprime, rpar, nev)
Definition: subspace.f:133
subroutine hcrit(xflow, rho, b, theta, dg, sqrts0, hk)
Definition: hcrit.f:20