|
FEBio
1.5.0
|
Base class for sparse matrices. More...
#include <SparseMatrix.h>
Public Member Functions | |
| SparseMatrix () | |
| constructor | |
| virtual void | Create (SparseMatrixProfile &MP)=0 |
| Create a sparse matrix from a sparse-matrix profile. | |
| virtual void | Assemble (matrix &ke, vector< int > &lm)=0 |
| assemble a matrix into the sparse matrix | |
| virtual void | Assemble (matrix &ke, vector< int > &lmi, vector< int > &lmj)=0 |
| assemble a matrix into the sparse matrix | |
| virtual void | set (int i, int j, double v)=0 |
| virtual void | add (int i, int j, double v)=0 |
| virtual double | get (int i, int j) |
| virtual double | diag (int i)=0 |
| virtual void | Clear () |
| void | zero () |
| int | NonZeroes () |
| int | Size () |
Protected Attributes | |
| int | m_ndim |
| double * | m_pd |
| int | m_nsize |
Base class for sparse matrices.
This is the base class for the sparse matrix classes and defines the interface to the different matrix classes
1.7.5.1