FEBio  1.5.0
Public Member Functions | Protected Attributes
FECore::SparseMatrix Class Reference

Base class for sparse matrices. More...

#include <SparseMatrix.h>

Inheritance diagram for FECore::SparseMatrix:
FECore::CompactMatrix FECore::DenseMatrix FECore::SkylineMatrix FECore::CompactSymmMatrix FECore::CompactUnSymmMatrix

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

Detailed Description

Base class for sparse matrices.

This is the base class for the sparse matrix classes and defines the interface to the different matrix classes


The documentation for this class was generated from the following files: