Skip to content

grid_Cons_Cheb

Fabian Kindermann edited this page Apr 1, 2021 · 11 revisions
subroutine grid_Cons_Cheb(a, left, right)

Description:

Creates Chebychev nodes or gridpoints on the interval according to the formula

Input arguments:

  • real*8 :: left
    The left interval endpoint, corresponds to .
  • real*8 :: right
    The right interval endpoint, corresponds to .

Output arguments:

  • real*8 :: a(:)
    A one-dimensional array of arbitrary length. The subroutine fills up this array with the respective gridpoints.

References

  • 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
Clone this wiki locally