cheb_nod_deriv3 Subroutine

public subroutine cheb_nod_deriv3(nx, ny, nz, dmx, dmy, dmz, f, fpx, fpy, fpz)

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

Arguments

Type IntentOptional Attributes Name
integer, intent(in) :: nx

Number of nodes along x = nx+1, along y = ny+1, and along z = nz+1

integer, intent(in) :: ny

Number of nodes along x = nx+1, along y = ny+1, and along z = nz+1

integer, intent(in) :: nz

Number of nodes along x = nx+1, along y = ny+1, and along z = nz+1

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

((nx+1),(nx+1)) Differentiation matrix along x

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

((ny+1),(ny+1)) Differentiation matrix along y

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

((nz+1),(nz+1)) Differentiation matrix along z

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

(m,), where m = (nx+1)(ny+1)(nz+1). Value of the function at the nodes.

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

(m,), where m = (nx+1)(ny+1)(nz+1). Value of the derivatives at the nodes.

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

(m,), where m = (nx+1)(ny+1)(nz+1). Value of the derivatives at the nodes.

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

(m,), where m = (nx+1)(ny+1)(nz+1). Value of the derivatives at the nodes.