DUNE-FEM (unstable)
SparseRowLinearOperator. More...
#include <dune/fem/operator/linear/spoperator.hh>
Public Member Functions | |
virtual void | operator() (const DomainFunction &arg, RangeFunction &dest) const |
application operator More... | |
virtual void | finalize () |
finalization of operator More... | |
template<class DomainFunction , class RangeFunction > | |
void | apply (const DomainFunction &arg, RangeFunction &dest) const |
apply matrix to discrete function | |
MatrixType & | exportMatrix () const |
get reference to storage 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) | |
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 | compress () |
compress matrix to a real CRS format | |
void | reserve (const Stencil &stencil, bool verbose=false) |
reserve memory | |
void | extractDiagonal (DiscreteFunctionType &diag) const |
void | resort () |
resort row numbering in matrix to have ascending numbering | |
virtual void | flushAssembly () |
commit intermediate states of linear operator assembly | |
void | beginAssemble () |
Initiate the assemble of values using the LocalContribution concept. More... | |
void | endAssemble () |
Finalize the assemble of values using the LocalContribution concept. More... | |
virtual bool | symmetric () const |
virtual bool | positiveDefinite () const |
Protected Member Functions | |
MatrixType & | matrix () const |
get reference to storage object, for internal use | |
Detailed Description
struct Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >
Member Function Documentation
◆ beginAssemble()
|
inlineinherited |
Initiate the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
◆ endAssemble()
|
inlineinherited |
Finalize the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
◆ extractDiagonal()
|
inlineinherited |
extract diagonal entries from matrix into discrete function this only works for square matrices
◆ finalize()
|
inlinevirtual |
finalization of operator
- Note
- The default implementation is empty.
Reimplemented from Dune::Fem::Operator< DomainFunction, RangeFunction >.
References Dune::Fem::SparseRowMatrixObject< DomainSpace, RangeSpace, Matrix >::compress().
◆ localMatrix() [1/2]
|
inlineinherited |
- Deprecated:
- Use TemporaryLocalMatrix in combination with {add,set,get}LocalMatrix on matrix object return local matrix object
◆ localMatrix() [2/2]
|
inlineinherited |
- Deprecated:
- Use TemporaryLocalMatrix in combination with {add,set,get}LocalMatrix on matrix object return local matrix object
◆ nonlinear()
|
inlinevirtualinherited |
Return true
if the Operator is nonlinear and false
otherwise (default is true).
Reimplemented from Dune::Fem::Operator< DomainFunction, RangeFunction >.
◆ operator()()
|
inlinevirtual |
application operator
- Parameters
-
[in] u argument discrete function [out] w destination discrete function
- Note
- This method has to be implemented by all derived classes.
Implements Dune::Fem::Operator< DomainFunction, RangeFunction >.
References Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >::apply().
◆ positiveDefinite()
|
inlinevirtualinherited |
Return true
if the Operator is positive definite.
◆ symmetric()
|
inlinevirtualinherited |
Return true
if the Operator is symmetric.
The documentation for this struct was generated from the following file:
- dune/fem/operator/linear/spoperator.hh