177 implicit double precision(a-h,o-z)
181 common/gstuff/glamn,dgla,glamx,glomn,dglo,glomx,nla,nlo,nclip
183 if(gla.lt.glamn.or.gla.gt.glamx.or.
184 * glo.lt.glomn.or.glo.gt.glomx)
then 191 ix=(glo-glomn)/dglo+1.d0
204 x=(glo-dglo*(ix-1)-glomn)/dglo
208 if(x.lt.0.5.and.ix.gt.1)
then 214 if(x.lt.0..or.x.gt.2.) stop 55555
218 jy=(gla-glamn)/dgla+1.d0
227 y=(gla-dgla*(jy-1)-glamn)/dgla
228 if(y.lt.0.5.and.jy.gt.1)
then 234 if(y.lt.0..or.y.gt.2.) stop 33333
236 fx0=
qterp1(x, h(jy ,ix ), h(jy ,ix1), h(jy ,ix2))
237 fx1=
qterp1(x, h(jy1,ix ), h(jy1,ix1), h(jy1,ix2))
238 fx2=
qterp1(x, h(jy2,ix ), h(jy2,ix1), h(jy2,ix2))
239 val=
qterp2(y, fx0 , fx1 , fx2 )
real function qterp2(x, f0, f1, f2)
real function qterp1(x, if0, if1, if2)