|
typedef MatrixObject | MatrixObjectType |
| type of matrix object
|
|
typedef LocalMatrixTraits< MatrixObjectType > | Traits |
| type of the traits
|
|
typedef MatrixObjectType::MatrixType | MatrixType |
| type of matrix
|
|
typedef Traits::RangeFieldType | RangeFieldType |
| type of entries of little blocks
|
|
typedef RangeFieldType | DofType |
| type of the DoFs
|
|
typedef Traits::LittleBlockType | LittleBlockType |
| type of little blocks
|
|
typedef Traits::DomainMapperType | DomainMapperType |
| type of nonblocked domain mapper
|
|
typedef Traits::RangeMapperType | RangeMapperType |
| type of nonblocked domain mapper
|
|
typedef ThisType | LocalMatrixInterfaceType |
| type of this interface
|
|
typedef Traits::LocalMatrixType | LocalMatrixType |
| type of local matrix implementation
|
|
|
| LocalMatrix (const MatrixObjectType &matrixObject, const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const DomainMapperType &domainMapper, const RangeMapperType &rangeMapper) |
| constructor
|
|
size_type | rows () const |
| return number of rows
|
|
size_type | columns () const |
| return number of columns
|
|
void | add (size_type localRow, size_type localCol, DofType value) |
| add value to matrix entry
|
|
DofType | get (size_type localRow, size_type localCol) const |
| get matrix entry
|
|
void | set (size_type localRow, size_type localCol, DofType value) |
| set matrix entry to value
|
|
void | unitRow (size_type localRow) |
| set matrix row to zero except diagonla entry
|
|
void | clearRow (size_type localRow) |
| set matrix row to zero
|
|
void | clearCol (size_type localCol) |
| set matrix column to zero
|
|
void | clear () |
| clear all entries belonging to local matrix
|
|
void | resort () |
| resort all global rows of matrix to have ascending numbering
|
|
void | scale (const DofType &value) |
| scale local matrix with a certain value
|
|
void | bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| initialize the local matrix to entities More...
|
|
void | unbind () |
| clear local matrix from entities More...
|
|
void | finalize () |
| finalize local matrix setup and possibly add values to real matrix More...
|
|
const DomainSpaceType & | domainSpace () const |
| access to the domain space More...
|
|
const RangeSpaceType & | rangeSpace () const |
| access to the range space More...
|
|
const DomainBasisFunctionSetType & | domainBasisFunctionSet () const |
| access to the base function set within the domain space More...
|
|
const RangeBasisFunctionSetType & | rangeBasisFunctionSet () const |
| access to the base function set within the range space More...
|
|
void | multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const |
| multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs More...
|
|
void | clearRow (const int localRow) |
| set row to zero values More...
|
|
void | clearCol (const int localCol) |
| ser column entries to zero More...
|
|
void | add (const int localRow, const int localCol, const RangeFieldType &value) |
| add value to matrix entry (row,col) where row and col are local row and local column More...
|
|
void | set (const int localRow, const int localCol, const RangeFieldType &value) |
| set value of matrix entry (row,col) where row and col are local row and local column More...
|
|
const RangeFieldType | get (const int localRow, const int localCol) const |
| get value of matrix entry (row,col) where row and col are local row and local column More...
|
|
void | scale (const RangeFieldType &scalar) |
| scale matrix with scalar value More...
|
|
MatrixColumnType | column (const unsigned int col) |
| return column object for local matrix which contains axpy methods for convenience More...
|
|
template<class DomainSpace, class RangeSpace, class
Matrix = SparseRowMatrix< typename DomainSpace::RangeFieldType >>
template<class MatrixObject>
class Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >
LocalMatrix.