1 subroutine surfit(iopt,m,x,y,z,w,xb,xe,yb,ye,kx,ky,s,nxest,nyest,
2 * nmax,eps,nx,tx,ny,ty,c,fp,wrk1,lwrk1,wrk2,lwrk2,iwrk,kwrk,ier)
305 real*8 xb,xe,yb,ye,s,eps,fp
306 integer iopt,m,kx,ky,nxest,nyest,nmax,nx,ny,lwrk1,lwrk2,kwrk,ier
308 real*8 x(m),y(m),z(m),w(m),tx(nmax),ty(nmax),
309 * c((nxest-kx-1)*(nyest-ky-1)),wrk1(lwrk1),wrk2(lwrk2)
313 integer i,ib1,ib3,jb1,ki,kmax,km1,km2,kn,kwest,kx1,ky1,la,lbx,
314 * lby,lco,lf,lff,lfp,lh,lq,lsx,lsy,lwest,maxit,ncest,nest,nek,
315 * nminx,nminy,nmx,nmy,nreg,nrint,nxk,nyk
327 if(eps.le.0.0d0 .or. eps.ge.1.0d0) go to 70
328 if(kx.le.0 .or. kx.gt.5) go to 70
330 if(ky.le.0 .or. ky.gt.5) go to 70
335 if(iopt.lt.(-1) .or. iopt.gt.1) go to 70
336 if(m.lt.(kx1*ky1)) go to 70
338 if(nxest.lt.nminx .or. nxest.gt.nmax) go to 70
340 if(nyest.lt.nminy .or. nyest.gt.nmax) go to 70
341 nest = max0(nxest,nyest)
352 if(ib1.le.jb1) go to 10
355 10 lwest = ncest*(2+ib1+ib3)+2*(nrint+nest*km2+m*km1)+ib3
357 if(lwrk1.lt.lwest .or. kwrk.lt.kwest) go to 70
358 if(xb.ge.xe .or. yb.ge.ye) go to 70
360 if(w(i).le.0.0d0) go to 70
361 if(x(i).lt.xb .or. x(i).gt.xe) go to 70
362 if(y(i).lt.yb .or. y(i).gt.ye) go to 70
364 if(iopt.ge.0) go to 50
365 if(nx.lt.nminx .or. nx.gt.nxest) go to 70
370 if(tx(i+1).le.tx(i)) go to 70
372 if(ny.lt.nminy .or. ny.gt.nyest) go to 70
377 if(ty(i+1).le.ty(i)) go to 70
380 50
if(s.lt.0.) go to 70
397 call
fpsurf(iopt,m,x,y,z,w,xb,xe,yb,ye,kx,ky,s,nxest,nyest,
398 * eps,tol,maxit,nest,km1,km2,ib1,ib3,ncest,nrint,nreg,nx,tx,
399 * ny,ty,c,fp,wrk1(1),wrk1(lfp),wrk1(lco),wrk1(lf),wrk1(lff),
400 * wrk1(la),wrk1(lq),wrk1(lbx),wrk1(lby),wrk1(lsx),wrk1(lsy),
401 * wrk1(lh),iwrk(ki),iwrk(kn),wrk2,lwrk2,ier)
subroutine fpsurf(iopt, m, x, y, z, w, xb, xe, yb, ye, kxx, kyy, s, nxest, nyest, eta, tol, maxit, nmax, km1, km2, ib1, ib3, nc, intest, nrest, nx0, tx, ny0, ty, c, fp, fp0, fpint, coord, f, ff, a, q, bx, by, spx, spy, h, index, nummer, wrk, lwrk, ier)
subroutine surfit(iopt, m, x, y, z, w, xb, xe, yb, ye, kx, ky, s, nxest, nyest, nmax, eps, nx, tx, ny, ty, c, fp, wrk1, lwrk1, wrk2, lwrk2, iwrk, kwrk, ier)