Calculates the derivative of a 1D function at the nodes.
| Type | Intent | Optional | 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. |