3.2.3.7. SparseSYM System
- system SparseSYM <$ordering>
ops.system('SparseSYM', ordering)
Argument |
Type |
Description |
|---|---|---|
$ordering |
integer |
how the equations are reordered to reduce fill-in: 1 minimum degree, 2 nested dissection, 3 reverse Cuthill-McKee (optional: default = 1) |
Discussion
This command is used to construct a sparse linear system of equations for symmetric matrices, which is solved using a row-oriented sparse solution method [1].
Note
The matrix must be symmetric. Unlike the BandSPD and ProfileSPD systems it need not be positive definite, i.e. it also works for negative definite matrices.
The solver reorders the equations itself, so there is little point in using any numberer but Plain.
Versions of OpenSees up to and including 2.2.0 used SparseSPD for this system. That name still works.
Example:
The following example creates a SparseSYM system.
system SparseSYM
ops.system('SparseSYM')
Code Developed by: J. Peng