1 subroutine pspline(nr,nz,nCoeff,r,z,rawdata,rpkg,zpkg,fspl,
20 integer nwrk,ilinx,ilinth,ierr,i,j,k,l,m
23 real*8 rawdata(ncoeff),r(nr),z(nz)
25 real*8 fspl(4,4,nr,nz)
27 integer ibcxmin,ibcxmax,ibcthmin,ibcthmax
28 real*8 bcxmin(nz),bcxmax(nz),bcthmin(nr),bcthmax(nr)
32 real*8 coeff(ncoeff),rpkg(nr,4),zpkg(nz,4),ztol
34 integer iper,imsg,itol,ialg,iwarn
39 fspl(1,1,i,j) = rawdata(((i-1)*nz)+j)
50 call r8bcspline(r,nr,z,nz,fspl,nr,ibcxmin,bcxmin,ibcxmax,
51 & bcxmax,ibcthmin,bcthmin,ibcthmax,bcthmax,work,nwrk,ilinx,
59 call r8genxpkg(nr,r,rpkg,iper,imsg,itol,ztol,ialg,ierr)
60 if(ierr .gt. 0)
return
61 call r8genxpkg(nz,z,zpkg,iper,imsg,itol,ztol,ialg,ierr)
62 if(ierr .gt. 0)
return
subroutine pspline(nr, nz, nCoeff, r, z, rawdata, rpkg, zpkg, fspl, nwrk, ierr)