lag_intrp_grd Subroutine

public subroutine lag_intrp_grd(mat, f, fintrp)

Interpolates nodal function values to a grid using barycentric lagrange interpolation.

Arguments

Type IntentOptional Attributes Name
real(kind=rp), intent(in), dimension(:,:) :: mat

(np,n). Interpolation matrix

real(kind=rp), intent(in), dimension(:) :: f

(n,). Value of the function at the nodes

real(kind=rp), intent(out), dimension(:) :: fintrp

(np,). Value of the function at the nodes