1 subroutine r8mkspl2pb(fun,x,nx,th,nth,fspl,nf3,
2 > ibcxmin,bcxmin,ibcxmax,bcxmax,
3 > wk,inwk,ilinx,ilinth,ier)
21 INTEGER,
PARAMETER :: R8=selected_real_kind(12,100)
22 INTEGER nth,nf3,inwk,nx,ix,ith
31 real*8 fspl(4,4,nf3,nth)
48 write(6,
'('.lt.
' ?mkspl2pb -- array dim error, nf3nx'')')
51 if(inwk.lt.5*max(nx,nth))
then
52 write(6,
'('' ?mkspl2pb -- array dim error, inwk too small'')')
58 fspl(1,1,ix,ith)=fun(x(ix),th(ith))
62 call r8bpsplinb(x,nx,th,nth,fspl,nx,ibcxmin,bcxmin,ibcxmax,bcxmax,
63 > wk,inwk,ilinx,ilinth,ier)