|
FEBio
1.5.0
|
This class stores a sparse matrix in Harwell-Boeing format. More...
#include <CompactMatrix.h>
Public Member Functions | |
| CompactUnSymmMatrix (int offset=0, bool row_based=false) | |
| Constructor for CompactUnSymmMatrix class. | |
| void | Create (SparseMatrixProfile &mp) |
| Create a sparse matrix from a sparse-matrix profile. | |
| void | Assemble (matrix &ke, vector< int > &lm) |
| void | Assemble (matrix &ke, vector< int > &lmi, vector< int > &lmj) |
| assemble a matrix into the sparse matrix | |
| void | add (int i, int j, double v) |
| void | set (int i, int j, double v) |
| double | get (int i, int j) |
| double | diag (int i) |
Protected Attributes | |
| bool | m_brow_based |
This class stores a sparse matrix in Harwell-Boeing format.
Unlike CompactMatrix does not assume the matrix is symmetric. This still assumes that the sparsity pattern is symmetric for row based formats.
| void FECore::CompactUnSymmMatrix::Assemble | ( | matrix & | ke, |
| vector< int > & | LM | ||
| ) | [virtual] |
This function assembles the local stiffness matrix into the global stiffness matrix which is in compact column storage and the matrix is unsymmetric
Implements FECore::SparseMatrix.
1.7.5.1