Matrix Format to 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)
6x6 Example (see also 3x3 example with solution)
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}
* K.INFO User Options ( 0 is default )
iprnt>0 Write solutions to file fort.16
iplot>0 Plots Matrices (on UNIX computers)
isolid>0 Speed solution for solid elements
nrhs>1 Number of right-hand sides (RHS) stacked in K.RHS
MB=30 Real Memory (MegaBytes) available (PC only)