Performs linear/bilinear/cylindrical interpolation
Performs linear interpolation on a uniform 1D grid y(x)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of   | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | y | Values at abscissa values   | 
|
| real(kind=Float64), | intent(in) | :: | xout | Abscissa value to interpolate  | 
||
| real(kind=Float64), | intent(out) | :: | yout | Interpolant: y(xout)  | 
||
| integer, | intent(out), | optional | :: | err | Error code  | 
|
| type(InterpolCoeffs1D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients  | 
Performs bilinear interpolation on a 2D grid z(x,y)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of   | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | y | The ordinate values of   | 
|
| real(kind=Float64), | intent(in), | dimension(:,:) | :: | z | Values at the abscissa/ordinates: z(x,y)  | 
|
| real(kind=Float64), | intent(in) | :: | xout | The abscissa value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | yout | The ordinate value to interpolate  | 
||
| real(kind=Float64), | intent(out) | :: | zout | Interpolant: z(xout,yout)  | 
||
| integer, | intent(out), | optional | :: | err | Error code  | 
|
| type(InterpolCoeffs2D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients  | 
Performs bilinear interpolation on a 2D grid of 2D arrays z(:,:,x,y)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=Float64), | intent(in), | dimension(:) | :: | x | The abscissa values of   | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | y | The ordinate values of   | 
|
| real(kind=Float64), | intent(in), | dimension(:,:,:,:) | :: | z | Values at the abscissa/ordinates: z(:,:,x,y)  | 
|
| real(kind=Float64), | intent(in) | :: | xout | The abscissa value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | yout | The ordinate value to interpolate  | 
||
| real(kind=Float64), | intent(out), | dimension(:,:) | :: | zout | Interpolant: z(:,:,xout,yout)  | 
|
| integer, | intent(out), | optional | :: | err | Error code  | 
|
| type(InterpolCoeffs2D), | intent(in), | optional | :: | coeffs | Precomputed Linear Interpolation Coefficients  | 
Performs cylindrical interpolation on a 3D grid f(r,z,phi)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=Float64), | intent(in), | dimension(:) | :: | r | R values  | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | z | Z values  | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | phi | Phi values  | 
|
| real(kind=Float64), | intent(in), | dimension(:,:,:) | :: | d | Values at r,z,phi: d(r,z,phi)  | 
|
| real(kind=Float64), | intent(in) | :: | rout | R value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | zout | Z value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | phiout | Phi value to interpolate  | 
||
| real(kind=Float64), | intent(out) | :: | dout | Interpolant: d(rout,zout,phiout)  | 
||
| integer, | intent(out), | optional | :: | err | Error code  | 
|
| type(InterpolCoeffs3D), | intent(in), | optional | :: | coeffs | Precomputed Interpolation Coefficients  | 
Performs cylindrical interpolation on a 3D grid of 2D arrays f(:,:,r,z,phi)
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=Float64), | intent(in), | dimension(:) | :: | r | R values  | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | z | Z values  | 
|
| real(kind=Float64), | intent(in), | dimension(:) | :: | phi | Phi values  | 
|
| real(kind=Float64), | intent(in), | dimension(:,:,:,:,:) | :: | f | Values at r,z,phi: f(:,:,r,z,phi)  | 
|
| real(kind=Float64), | intent(in) | :: | rout | R value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | zout | Z value to interpolate  | 
||
| real(kind=Float64), | intent(in) | :: | phiout | Phi value to interpolate  | 
||
| real(kind=Float64), | intent(out), | dimension(:,:) | :: | fout | Interpolant: f(:,:,rout,zout,phiout)  | 
|
| integer, | intent(out), | optional | :: | err | Error code  | 
|
| type(InterpolCoeffs3D), | intent(in), | optional | :: | coeffs | Precomputed Interpolation Coefficients  |