interpolation2d Submodule


Uses

  • module~~interpolation2d~~UsesGraph module~interpolation2d interpolation2d module~interpolation interpolation module~interpolation2d->module~interpolation module~phys_consts phys_consts module~interpolation->module~phys_consts iso_fortran_env iso_fortran_env module~phys_consts->iso_fortran_env

Contents


Module Procedures

module procedure interp2 pure module function interp2(x1, x2, f, x1i, x2i)

A 2D BILINEAR INTERPOLATION FUNCTION. THIS VERSION ASSUMES THAT THE LIST OF OUTPUT POINTS IS A 'FLAT LIST' RATHER THAN DESCRIPTIVE OF A 2D MESHGRID.

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:):: x1
real(kind=wp), intent(in), dimension(:):: x2
real(kind=wp), intent(in), dimension(:,:):: f
real(kind=wp), intent(in), dimension(:):: x1i
real(kind=wp), intent(in), dimension(:):: x2i

Return Value real(kind=wp) (1:size(x1i,1))

module procedure interp2_plaid pure module function interp2_plaid(x1, x2, f, x1i, x2i)

A 2D BILINEAR INTERPOLATION FUNCTION. THIS VERSION ASSUMES A PLAID INTERPRETATION OF THE OUTPUT POINTS (I.E. THAT THEY FORM A 2D MESHGRID RATHER THAN A FLAT LIST OF POINTS.

Read more…

Arguments

Type IntentOptional AttributesName
real(kind=wp), intent(in), dimension(:):: x1
real(kind=wp), intent(in), dimension(:):: x2
real(kind=wp), intent(in), dimension(:,:):: f
real(kind=wp), intent(in), dimension(:):: x1i
real(kind=wp), intent(in), dimension(:):: x2i

Return Value real(kind=wp) (1:size(x1i,1),1:size(x2i,1))