17 integer,
intent(in) :: nx
18 real(kind_real),
intent(in) :: x(nx)
19 real(kind_real),
intent(in) :: fin
20 character(10),
intent(in) :: flag
21 real(kind_real),
intent(out) :: fout
26 if (flag ==
"increasing")
then 36 else if (flag==
"decreasing")
then 45 fout=float(ix)+(fin-x(ix))/(x(ix+1)-x(ix))
57 integer,
intent(in) :: nx
58 character(10),
intent(in) :: flag
59 real(kind_real),
intent(in) :: y
60 real(kind_real),
intent(in) :: x(nx)
61 integer,
intent(out) :: isrchf
64 if(flag==
"increasing")
then subroutine searcharray(nx, x, y, flag, isrchf)
subroutine, public get_coordinate_value(fin, fout, x, nx, flag)
real(fp), parameter, public one
integer, parameter, public kind_real