Class implementing scalar interpolations
The class implements interpolation of scalar quantity given at discrete points. It is a wraper to `interp`` function.
The class supports only interpolation of scalars! For vectors
use directly interp1 function.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| real(kind=rkind), | intent(in) | :: | x(:) | |||
| real(kind=rkind), | intent(in) | :: | y(size(x)) | |||
| character(len=*), | intent(in), | optional | :: | method | ||
| character(len=*), | intent(in), | optional | :: | extrap |
returns interpolated value at given point
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(interp1_t), | intent(in) | :: | self | |||
| real(kind=rkind), | intent(in) | :: | xi |