grid_Cons_Equi - fabiankindermann/ce-fortran GitHub Wiki
subroutine grid_Cons_Equi(a, left, right)
Creates equally spaced 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_15.f90
prog02_17.f90
prog02_18.f90
prog02_19.f90
prog08_03.f90
prog08_04.f90
prog08_05.f90
prog08_06.f90
prog08_07.f90
prog09_01.f90
prog09_02.f90
prog09_03.f90
prog09_04.f90
prog09_05.f90
prog09_06.f90
prog09_07.f90
prog09_10.f90
prog10_04.f90