determine_interpolation_stencil Interface

interface
public module subroutine determine_interpolation_stencil(self, xp, yp, intorder, ns_max_nearest, ns_stencil, intorder_actual, ind_interpol_stencil)

Arguments

Type IntentOptional Attributes Name
class(mesh_cart_t), intent(in) :: self

Instance of the type

real(kind=FP), intent(in) :: xp

x-coordinate of point

real(kind=FP), intent(in) :: yp

y-coordinate of point

integer, intent(in) :: intorder

Requested stencil order

integer, intent(in) :: ns_max_nearest

Size of area that is searched for nearest point

integer, intent(out) :: ns_stencil

Size of determined stencil

integer, intent(out) :: intorder_actual

Order of determined stencil

integer, intent(out), allocatable, dimension(:,:) :: ind_interpol_stencil

Indices of determined stencil

Description

Finds ns_stencil x ns_stencil indices of interpolation stencil around (xp, yp), if possible of order intorder