Calculates the nodal second derivative matrix for CGL/CG/CGR nodes.
References
"Spectral differencing with a twist", Richard Baltensperger and Manfred R. Trummer, SIAM J. Sci. Comput., Vol. 24, No. 5, pp. 1465–1487, 2003.
Costa, B. and Don, W. S. (2000), 'On the computation of high order pseudospectral derivatives', Applied Numerical Mathematics, 33, 151-159.
Maleki, M., Hashim, I., and Abbasbandy, S. (2012), 'Analysis of IVPs and BVPs on semi-infinite domains via collocation methods', Journal of Applied Mathematics, doi:10.1155/2012/696574.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| integer, | intent(in) | :: | n |
Degree of the polynomial |
||
| real(kind=rp), | intent(in), | dimension(:,:) | :: | dm1 |
(n+1,n+1). Nodal first derivative matrix |
|
| real(kind=rp), | intent(out), | dimension(:,:) | :: | dm2 |
(n+1,n+1). Nodal second derivative matrix |