cheb_nod_deriv Subroutine

public subroutine cheb_nod_deriv(dm, f, fp)

Calculates the derivative of a 1D function at the nodes.

Arguments

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

((n+1),(n+1)) Differentiation matrix, where the number of nodes = n+1

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

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

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

(n+1,). Value of the derivative at the nodes.