|
dune-fem 2.12-git
|
#include <dune/fem/operator/matrix/spmatrix.hh>

Public Member Functions | |
| LocalMatrix (const MatrixObjectType &matrixObject, const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const DomainMapperType &domainMapper, const RangeMapperType &rangeMapper) | |
| constructor | |
| LocalMatrix (const LocalMatrix &)=delete | |
| void | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| 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 | init (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| initialize the local matrix to entities | |
| void | bind (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) |
| initialize the local matrix to entities | |
| void | unbind () |
| clear local matrix from entities | |
| void | finalize () |
| finalize local matrix setup and possibly add values to real matrix | |
| const DomainSpaceType & | domainSpace () const |
| access to the domain space | |
| const RangeSpaceType & | rangeSpace () const |
| access to the range space | |
| const DomainBasisFunctionSetType & | domainBasisFunctionSet () const |
| access to the base function set within the domain space | |
| const RangeBasisFunctionSetType & | rangeBasisFunctionSet () const |
| access to the base function set within the range space | |
| const DomainEntityType & | domainEntity () const |
| const RangeEntityType & | rangeEntity () const |
| void | multiplyAdd (const DomainLocalFunctionType &lhs, RangeLocalFunctionType &rhs) const |
| multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs | |
| void | clearRow (const int localRow) |
| set row to zero values | |
| void | clearCol (const int localCol) |
| ser column entries to zero | |
| 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 | |
| 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 | |
| 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 | |
| void | scale (const RangeFieldType &scalar) |
| scale matrix with scalar value | |
| MatrixColumnType | column (const unsigned int col) |
| return column object for local matrix which contains axpy methods for convenience | |
Protected Member Functions | |
| void | scale (size_type localRow, size_type localCol, DofType value) |
| scale matrix entry with value | |
| const Implementation & | asImp () const |
| Implementation & | asImp () |
Static Protected Member Functions | |
| static const Implementation & | asImp (const ThisType &other) |
| static Implementation & | asImp (ThisType &other) |
| static const LocalMatrixTraits::LocalMatrixType & | asImp (const ThisType &other) |
| static LocalMatrixTraits::LocalMatrixType & | asImp (ThisType &other) |
Detailed Description
template<class MatrixObject>
class Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >
Member Typedef Documentation
◆ ColumnIndicesType
| typedef std::vector< typename DomainMapperType::SizeType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::ColumnIndicesType |
◆ DofType
| typedef RangeFieldType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::DofType |
type of the DoFs
◆ DomainBasisFunctionSetType
|
inherited |
◆ DomainEntityType
|
inherited |
◆ DomainMapperType
| typedef Traits::DomainMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::DomainMapperType |
type of nonblocked domain mapper
◆ DomainSpaceType
|
inherited |
◆ LittleBlockType
| typedef Traits::LittleBlockType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::LittleBlockType |
type of little blocks
◆ LocalMatrixInterfaceType
|
inherited |
type of this interface
◆ LocalMatrixType
|
inherited |
type of local matrix implementation
◆ MatrixColumnType
|
inherited |
◆ MatrixObjectType
| typedef MatrixObject Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::MatrixObjectType |
type of matrix object
◆ MatrixType
| typedef MatrixObjectType::MatrixType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::MatrixType |
type of matrix
◆ RangeBasisFunctionSetType
|
inherited |
◆ RangeEntityType
|
inherited |
◆ RangeFieldType
| typedef Traits::RangeFieldType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RangeFieldType |
type of entries of little blocks
◆ RangeMapperType
| typedef Traits::RangeMapperType Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RangeMapperType |
type of nonblocked domain mapper
◆ RangeSpaceType
|
inherited |
◆ RowIndicesType
| typedef std::vector< typename RangeMapperType::SizeType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::RowIndicesType |
◆ Traits
| typedef LocalMatrixTraits< MatrixObjectType > Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::LocalMatrix< MatrixObject >::Traits |
type of the traits
Constructor & Destructor Documentation
◆ LocalMatrix() [1/2]
|
inline |
constructor
◆ LocalMatrix() [2/2]
|
delete |
Member Function Documentation
◆ add() [1/2]
|
inlineinherited |
add value to matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column [in] value value to add
◆ add() [2/2]
|
inline |
add value to matrix entry
◆ asImp() [1/6]
|
inlineprotectedinherited |
◆ asImp() [2/6]
|
inlineprotectedinherited |
◆ asImp() [3/6]
|
inlinestaticprotectedinherited |
◆ asImp() [4/6]
|
inlinestaticprotectedinherited |
◆ asImp() [5/6]
|
inlinestaticprotectedinherited |
◆ asImp() [6/6]
|
inlinestaticprotectedinherited |
◆ bind()
|
inlineinherited |
initialize the local matrix to entities
- Parameters
-
[in] domainEntity entity within grid of domain space, [in] rangeEntity entity within grid of range space
◆ clear()
|
inline |
clear all entries belonging to local matrix
◆ clearCol() [1/2]
|
inlineinherited |
ser column entries to zero
- Parameters
-
[in] localCol local column that is set to zero
◆ clearCol() [2/2]
|
inline |
set matrix column to zero
◆ clearRow() [1/2]
|
inlineinherited |
set row to zero values
- Parameters
-
[in] localRow local row that is set to zero
◆ clearRow() [2/2]
|
inline |
set matrix row to zero
◆ column()
|
inlineinherited |
return column object for local matrix which contains axpy methods for convenience
- Parameters
-
col local column number
- Returns
- object of type MatrixColumnObject
◆ columns()
|
inline |
return number of columns
◆ domainBasisFunctionSet()
|
inlineinherited |
access to the base function set within the domain space
◆ domainEntity()
|
inlineinherited |
◆ domainSpace()
|
inlineinherited |
access to the domain space
◆ finalize()
|
inlineinherited |
finalize local matrix setup and possibly add values to real matrix
◆ get() [1/2]
|
inlineinherited |
get value of matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column
- Returns
- value of matrix entry
◆ get() [2/2]
|
inline |
get matrix entry
◆ init() [1/2]
|
inlineinherited |
initialize the local matrix to entities
- Parameters
-
[in] domainEntity entity within grid of domain space, [in] rangeEntity entity within grid of range space
◆ init() [2/2]
|
inline |
◆ multiplyAdd()
|
inlineinherited |
multiply left hand side with local matrix and add to right hand side rhs += Matrix * lhs
- Parameters
-
[in] lhs left hand side [out] rhs right hand side
◆ rangeBasisFunctionSet()
|
inlineinherited |
access to the base function set within the range space
◆ rangeEntity()
|
inlineinherited |
◆ rangeSpace()
|
inlineinherited |
access to the range space
◆ resort()
|
inline |
resort all global rows of matrix to have ascending numbering
◆ rows()
|
inline |
return number of rows
◆ scale() [1/3]
|
inline |
scale local matrix with a certain value
◆ scale() [2/3]
|
inlineinherited |
scale matrix with scalar value
- Parameters
-
[in] scalar scalar value that scales the matrix
◆ scale() [3/3]
|
inlineprotected |
scale matrix entry with value
◆ set() [1/2]
|
inlineinherited |
set value of matrix entry (row,col) where row and col are local row and local column
- Parameters
-
[in] localRow local row [in] localCol local column [in] value value to set
◆ set() [2/2]
|
inline |
set matrix entry to value
◆ unbind()
|
inlineinherited |
clear local matrix from entities
◆ unitRow()
|
inline |
set matrix row to zero except diagonla entry
Member Data Documentation
◆ columnIndices_
|
protected |
◆ domainBaseSet_
|
protectedinherited |
◆ domainEntity_
|
protectedinherited |
◆ domainMapper_
|
protected |
◆ domainSpace_
|
protectedinherited |
◆ matrix_
|
protected |
◆ rangeBaseSet_
|
protectedinherited |
◆ rangeEntity_
|
protectedinherited |
◆ rangeMapper_
|
protected |
◆ rangeSpace_
|
protectedinherited |
◆ rowIndices_
|
protected |
The documentation for this class was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8