20 integer(I4B),
intent(in) :: n
21 real(dp),
dimension(n),
intent(in) :: tl
22 real(dp),
dimension(n),
intent(in) :: td
23 real(dp),
dimension(n),
intent(in) :: tu
24 real(dp),
dimension(n),
intent(in) :: b
25 real(dp),
dimension(n),
intent(inout) :: x
26 real(dp),
dimension(n),
intent(inout) :: w
40 w(j) = tu(j - 1) * beti
41 bet = td(j) - tl(j) * w(j)
43 x(j) = (b(j) - tl(j) * x(j - 1)) * beti
48 x(j) = x(j) - w(j + 1) * x(j + 1)
This module contains simulation constants.
real(dp), parameter dzero
real constant zero
real(dp), parameter done
real constant 1
subroutine, public ims_misc_thomas(n, tl, td, tu, b, x, w)
Tridiagonal solve using the Thomas algorithm.
This module defines variable data types.