grid_Cons_Cheb - fabiankindermann/ce-fortran GitHub Wiki
subroutine grid_Cons_Cheb(a, left, right)
Creates Chebychev nodes or gridpoints
on the interval
according to the formula
-
real*8 :: left
The left interval endpoint, corresponds to.
-
real*8 :: right
The right interval endpoint, corresponds to.
-
real*8 :: a(:)
A one-dimensional array of arbitrary length. The subroutine fills up this array with the respective gridpoints.
- For further reading refer to:
- Süli, E. & Mayers, D. F. (2003). An Introduction to Numerical Analysis. Cambridge: Cambridge University Press.
- Powell, M.J.D. (1996). Approximation Theory and Methods. Cambridge: Cambridge University Press.
- This routine is used in the following programs:
prog02_17.f90