biquadratic_interpolate Function

public pure function biquadratic_interpolate(f, x, y) result(fOut)

2D Biquadratic interpolation for fill fine from coarse. array f contains function values at 9 coarse elements. they are arranged as: 7 8 9 4 5 6 1 2 3 position of element 1 is set as original, i.e. (0,0), element 9 is set as (1,1) x,y are the coordinates of target position. fOut is the interpolated value at target position

Arguments

TypeIntentOptionalAttributesName
real(kind=rk), intent(in) :: f(9)
real(kind=rk), intent(in) :: x
real(kind=rk), intent(in) :: y

Return Value real(kind=rk)


Contents


Variables

TypeVisibilityAttributesNameInitial
real(kind=rk), private :: a0
real(kind=rk), private :: a1
real(kind=rk), private :: a2
real(kind=rk), private :: b0
real(kind=rk), private :: b1
real(kind=rk), private :: b2
real(kind=rk), private :: c0
real(kind=rk), private :: c1
real(kind=rk), private :: c2
real(kind=rk), private :: f1
real(kind=rk), private :: f2
real(kind=rk), private :: f3
real(kind=rk), private :: m0
real(kind=rk), private :: m1
real(kind=rk), private :: m2