Public interface for various interpolation routines.
Wrapper for interpolate_array_re that accepts scalar arguments.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x | Variable x |
|
real(kind=wp), | intent(in), | dimension(size(x)) | :: | y | Function y(x) |
|
real(kind=wp), | intent(in) | :: | p | Interpolation point p |
Interpolation result y(p)
Complex version of interpolate_point_re.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x | Variable x |
|
complex(kind=wp), | intent(in), | dimension(size(x)) | :: | y | Function y(x) |
|
real(kind=wp), | intent(in) | :: | p | Interpolation point p |
Interpolation result y(p)
This function constructs a piecewise hermitian cubic interpolation of an array y(x) based on discrete numerical data, and evaluates the interpolation at points p. Note that the mesh spacing of x does not necessarily have to be uniform.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x | Variable x |
|
real(kind=wp), | intent(in), | dimension(size(x)) | :: | y | Function y(x) |
|
real(kind=wp), | intent(in), | dimension(:) | :: | p | Interpolation domain p |
Interpolation result y(p)
Complex version of interpolate_array_re.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x | Variable x |
|
complex(kind=wp), | intent(in), | dimension(size(x)) | :: | y | Function y(x) |
|
real(kind=wp), | intent(in), | dimension(:) | :: | p | Interpolation domain p |
Interpolation result y(p)
Perform a Piecewise Cubic Hermitian Interpolation of a matrix function using Catmull-Rom splines.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in), | dimension(:) | :: | x | Variable x |
|
real(kind=wp), | intent(in), | dimension(:,:,:) | :: | y | Function y(x) |
|
real(kind=wp), | intent(in) | :: | p | Interpolation point p |
Interpolation result y(p)