Tel: +44(0)1865 300 579
Fax: +44(0)1865 300 232

Programs for Programmers

Strictly Triangular LU

Strictly Triangular L.U formulation of Nested Factorization

by John Appleyard B.A., Ph D, Polyhedron Software Ltd, May 2004

 

The nested factorization approximation, P, for a 2D matrix is given by

 

P = (T+m)T-1(T+v)

where   T = (γ+ l-1(γ+u)

 

so         P = ((γ+ l-1(γ+u)+ m) .(γ+ u) -1.γ. (γ+l) -1.((γ+ l-1(γ+u)+v)

P = (γ + l + m .(I+ U) -1).γ-1.(γ + u + (I+L) -1v)

 

where I is the unit matrix, L= lγ-1  and  U= γ-1 u

 

P= (γ + l + m - m.U + m.U2 -  m.U3 +....).γ-1(γ + u + v - L.v + L2.v- L3.v+....)

 

So P can be expressed as the product of strictly upper and lower triangular factors.  However, when compared to a zero-fill ILU method, the factors have extra fill in bands of the form  m Un and Ln v which are exactly like those inserted in more accurate ILU decompositions.  The difference is that nested factorization produces a complete subset of the required fill-ins with little extra computation, and no extra storage.

 

Sparsity Pattern of L factor

d                                              
l d                                            
  l d                                          
    l d                                        

m

f

f

f

d                                      

 

m

f

f

l d                                    

 

 

m

f

  l d                                  

 

 

 

m

    l d                                
       

m

f

f

f

d                              
       

 

m

f

f

l d                            
       

 

 

m

f

  l d                          
       

 

 

 

m

    l d                        

n

f

f

f

f

f

f

f

f

f

f

f

d                      

 

n

f

f

f

f

f

f

f

f

f

f

l d                    

 

 

n

f

f

f

f

f

f

f

f

f

  l d                  

 

 

 

n

f

f

f

f

f

f

f

f

    l d                

 

 

 

 

n

f

f

f

f

f

f

f

m

f

f

f

d              

 

 

 

 

 

n

f

f

f

f

f

f

 

m

f

f

l d            

 

 

 

 

 

 

n

f

f

f

f

f

 

 

m

f

  l d          

 

 

 

 

 

 

 

n

f

f

f

f

 

 

 

m

    l d        

 

 

 

 

 

 

 

 

n

f

f

f

       

m

f

f

f

d      

 

 

 

 

 

 

 

 

 

n

f

f

       

 

m

f

f

l d    

 

 

 

 

 

 

 

 

 

 

n

f

       

 

 

m

f

  l d  

 

 

 

 

 

 

 

 

 

 

 

n

       

 

 

 

m

    l d

 

For 3D matrices, a similar analysis gives

 

B = [γ+l+ m(I+U)-1+n(I+U+(I+L)-1V)-1] γ-1 [γ+u+(I+L)-1v +(I+L+M(I+U)-1)-1w]

 

where M= mγ-1  and  V= γ-1 v.  The sparsity pattern of the L factor in this strictly triangular formulation is shown above.

 

An Alternative Implementation of Nested Factorization

 

It is possible to implement nested factorization using strictly triangular factors, without explicitly computing all the fill-in elements.  For example, in the 2D factorization, the block of m elements which connects to the previous line is replaced by

 

mnx+1

-mnx+1U1

+ mnx+1 U1 U2

-mnx+1U1 U2 U3

+mnx+1U1 U2 U3 U4

 

mnx+2

- mnx+2 U2

+ mnx+2 U2 U3

- mnx+2 U2 U3 U4

 

 

mnx+3

- mnx+3 U3

+ mnx+3 U3 U4

 

 

 

mnx+4

-mnx+4U4

 

 

 

 

mnx+5

 

 

When evaluating the product (