Performs a 1D polynomial interpolation
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | intorder |
Interpoaltion order, yet only 1 and 3 ar available |
||
| integer, | intent(in) | :: | nnodes |
Number of nodes of interpolation data |
||
| real(kind=FP), | intent(in) | :: | dx |
Distance between nodes (equidistant) |
||
| real(kind=FP), | intent(in), | dimension(nnodes) | :: | ui |
Values of interpolation data |
|
| real(kind=FP), | intent(in) | :: | x |
computes coefficients of interpolation such that quantity at position x,y can be computed as
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | intorder | |||
| real(kind=FP), | intent(in) | :: | x | |||
| real(kind=FP), | intent(in) | :: | y | |||
| real(kind=FP), | intent(out), | dimension(intorder+1,intorder+1) | :: | coeffs |