DUNE-FEM (unstable)
Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix > Class Template Reference
SparseRowMatrixObject. More...
#include <dune/fem/operator/matrix/spmatrix.hh>
Classes | |
class | LocalMatrix |
LocalMatrix. More... | |
struct | LocalMatrixTraits |
LocalMatrixTraits. More... | |
Public Member Functions | |
SparseRowMatrixObject (const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const SolverParameter ¶m=SolverParameter()) | |
construct matrix object | |
const DomainSpaceType & | domainSpace () const |
get domain space (i.e. space that builds the rows) | |
const RangeSpaceType & | rangeSpace () const |
get range space (i.e. space that builds the columns) | |
MatrixType & | exportMatrix () const |
get reference to storage object | |
ObjectType * | newObject () const |
interface method from LocalMatrixFactory | |
LocalMatrixType | localMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity) const |
LocalMatrixType | localMatrix () const |
LocalColumnObjectType | localColumn (const DomainEntityType &domainEntity) const |
get local column | |
void | clear () |
clear matrix | |
void | compress () |
compress matrix to a real CRS format | |
template<class Stencil > | |
void | reserve (const Stencil &stencil, bool verbose=false) |
reserve memory | |
template<class DomainFunction , class RangeFunction > | |
void | apply (const DomainFunction &arg, RangeFunction &dest) const |
apply matrix to discrete function | |
template<class DiscreteFunctionType > | |
void | extractDiagonal (DiscreteFunctionType &diag) const |
void | resort () |
resort row numbering in matrix to have ascending numbering | |
Protected Member Functions | |
MatrixType & | matrix () const |
get reference to storage object, for internal use | |
Detailed Description
template<class DomainSpace, class RangeSpace, class Matrix = SparseRowMatrix< typename DomainSpace::RangeFieldType >>
class Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >
class Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >
Member Function Documentation
◆ extractDiagonal()
template<class DomainSpace , class RangeSpace , class Matrix = SparseRowMatrix< typename DomainSpace::RangeFieldType >>
template<class DiscreteFunctionType >
|
inline |
extract diagonal entries from matrix into discrete function this only works for square matrices
References Dune::Fem::DiscreteFunctionDefault< Impl >::dend().
◆ localMatrix() [1/2]
template<class DomainSpace , class RangeSpace , class Matrix = SparseRowMatrix< typename DomainSpace::RangeFieldType >>
|
inline |
- Deprecated:
- Use TemporaryLocalMatrix in combination with {add,set,get}LocalMatrix on matrix object return local matrix object
◆ localMatrix() [2/2]
template<class DomainSpace , class RangeSpace , class Matrix = SparseRowMatrix< typename DomainSpace::RangeFieldType >>
|
inline |
- Deprecated:
- Use TemporaryLocalMatrix in combination with {add,set,get}LocalMatrix on matrix object return local matrix object
The documentation for this class was generated from the following file:
- dune/fem/operator/matrix/spmatrix.hh
|
Legal Statements / Impressum |
Hosted by TU Dresden |
generated with Hugo v0.111.3
(Nov 21, 23:30, 2024)