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

This class stores a sparse matrix in Harwell-Boeing format. More...

#include <CompactMatrix.h>

Inheritance diagram for FECore::CompactUnSymmMatrix:
FECore::CompactMatrix FECore::SparseMatrix

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

Detailed Description

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.


Member Function Documentation

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.


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