Go to the documentation of this file. 1 subroutine spline(s,x,y,n,in,t,il,iu,vl,vu,e,u)
8 implicit real*8 (a-h,o-z)
9 dimension x(*), y(*), e(*),u(*)
35 20 u(j)=(d-c*u(j-1))/p
38 e(n)=u(n1)/(1.0-e(n1))
40 24 c2=vu-(y(n)-y(n1))/(x(n)-x(n1))
41 e(n)=(c2/(x(n)-x(n1))-u(n1))/(2.0d0+e(n1))
52 u(k)=(y(k+1)-y(k))/b2-b2*(e(k)*2+e(k+1))
55 u(n)=(e(n1)+2.0d0*e(n))*b2+(y(n)-y(n1))/b2
56 40
if (x(1).gt.x(n))
go to 50
64 60
if (s.ge.x(mub+idir))
go to 100
65 if (s.le.x(mlb+1-idir))
go to 110
69 70
if (iabs(mu-ml).le.1)
go to 120
71 if (s.lt.x(mav))
go to 90
82 t=(e(mu-1)*((x(mu)-s)**3)+e(mu)*((s-x(mu-1))**3)+
83 1 (y(mu-1)-e(mu-1)*((x(mu)-x(mu-1))**2))*(x(mu)-s)+
84 2 (y(mu)-e(mu)*((x(mu)-x(mu-1))**2))*(s-x(mu-1)))/
subroutine spline(s, x, y, n, in, t, il, iu, vl, vu, e, u)