Calculates the derivative of a 2D function at the nodes.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | nx |
Number of nodes along x = nx+1 and along y = ny+1 |
||
| integer, | intent(in) | :: | ny |
Number of nodes along x = nx+1 and along y = ny+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(:) | :: | f |
(m,), where m = (nx+1)*(ny+1). Value of the function at the nodes. |
|
| real(kind=rp), | intent(out), | dimension(:) | :: | fpx |
(m,), where m = (nx+1)*(ny+1). Value of the derivatives at the nodes. |
|
| real(kind=rp), | intent(out), | dimension(:) | :: | fpy |
(m,), where m = (nx+1)*(ny+1). Value of the derivatives at the nodes. |