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
iux, frac = NumRu::DCL.uwqgxi(ux)
iuy, frac = NumRu::DCL.uwqgyi(uy)
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)