Vectorized Sparse Solver (VSS)

 

Matrix Format

 

    SOLVE:  [A]{x} = {B}
    where:   [A] = Stiffness Matrix
             {B} = Right-Hand Side

     Files (ASCII Format) contain:

     K.INFO    :  number of equations and coefficients
     K.DIAG    :  diagonal terms
     K.PTRS    :  number of (off- diagonal) coefficients in each row
     K11.INDXS :  column location of each coefficient
     K11.COEFS :  (off-diagonal) coefficients in row format
     K.RHS     :  Right-Hand Side (Load vector)

   Example:
                1    2    3    4     5     6

          1  | 100   1    2                5  |  | X1 |     | 201 |
          2  |     200    6    7           9  |  | X2 |     | 202 |
          3  |          300   10    11    12  |  | X3 |     | 203 |
      A = 4  |                400   13    14  |  | X4 |  =  | 204 |
          5  |                     500    15  |  | X5 |     | 205 |
          6  |                           600  |  | X6 |     | 206 |

     NUMBER OF EQUATIONS    =  6

     NUMBER OF COEFFICIENTS = 12

     K.INFO    = JUNK,JUNK,JUNK,NEQ,NEQ,NONZT,JUNK,JUNK, JNUK,JUNK
                   0,0,0,6,6,12,0,0,0,0

     K.DIAG    = { 100, 200, 300, 400, 500, 600}

     K.PTRS    = { 3, 3, 3, 2, 1, 0}

     K11.INDXS = { 2, 3, 6,  3, 4, 6,  4, 5, 6,  5, 6,  6}

     K11.COEFS = { 1, 2, 5,  6, 7, 9, 10,11,12, 13,14, 15}

     K.RHS     = { 201, 202, 203, 204, 205, 206}

VSS Page