2 * (n
, r
, c
, il
, jl
, ijl
, l
, d
, iu
, ju
, iju
, u
, z
, b
, tmp
)
4 c*** numeric solution of the transpose of a sparse nonsymmetric system
5 c of linear equations given lu-factorization (compressed pointer
9 c input variables.. n, r, c, il, jl, ijl, l, d, iu, ju, iju, u, b
10 c output variables.. z
12 c parameters used internally..
13 c fia - tmp - temporary vector which gets result of solving ut y = b
16 c internal variables..
17 c jmin, jmax - indices of the first and last positions in a row of
20 integer r
(*), c
(*), il
(*), jl
(*), ijl
(*), iu
(*), ju
(*), iju
(*)
21 c real l(*), d(*), u(*), b(*), z(*), tmp(*), tmpk,sum
22 double precision l
(*), d
(*), u
(*), b
(*), z
(*), tmp
(*), tmpk
,sum
24 c ****** set tmp to reordered b *************************************
27 c ****** solve ut y = b by forward substitution *******************
32 if (jmin
.gt
. jmax
) go to 3
35 2 tmp
(ju
(mu
+j
)) = tmp
(ju
(mu
+j
)) + tmpk
* u
(j
)
37 c ****** solve lt x = y by back substitution **********************
43 if (jmin
.gt
. jmax
) go to 5
46 4 sum
= sum
+ l
(j
) * tmp
(jl
(ml
+j
))
47 5 tmp
(k
) = -sum
* d
(k
)