11.2.6 UWQGXI/UWQGYI

1.
Function
Returns a grid point number for the grid point with the largest value less than the given coordinate value. Also returns the position between the next grid.
2.
Call
CALL UWQGXI(UX,IUX,FRACX)
CALL UWQGYI(UY,IUY,FRACY)
3.
Explanation of Parameters
UX, UY (R) Coordinate value.
IUX, IUY (I) Grid point number
FRACX, FRACY (R) The position between the next grid point. When FRACX/FRACY=0, UX/UY is on a grid point, when FRACX/FRACY=1, UX/UY is on the next grid point.
4.
Notes
(a)
Before using these functions, you must call UWIGXI/UWIGYI to initialize.
(b)
These functions can be used for both methods for setting the grid points. (UWSGXA/UWSGYA or UWSGXB/UWSGYB)