SparseRowLinearOperator.
More...
#include <dune/fem/operator/linear/spoperator.hh>
|
typedef DomainFunction | DomainFunctionType |
| type of discrete function in the operator's domain
|
|
typedef DomainFunction | RangeFunctionType |
| type of discrete function in the operator's range
|
|
typedef DomainFunction::RangeFieldType | DomainFieldType |
| field type of the operator's domain
|
|
typedef RangeFunction::RangeFieldType | RangeFieldType |
| field type of the operator's range
|
|
|
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)
|
|
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 | compress () |
| compress matrix to a real CRS format
|
|
void | reserve (const Stencil &stencil, bool verbose=false) |
| reserve memory
|
|
void | apply (const DomainFunction &arg, RangeFunction &dest) const |
| apply matrix to discrete function
|
|
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 |
|
virtual void | operator() (const DomainFunctionType &u, RangeFunctionType &w) const=0 |
| application operator More...
|
|
template<class DomainFunction, class RangeFunction, class Matrix = SparseRowMatrix< typename DomainFunction::DiscreteFunctionSpaceType::RangeFieldType >>
struct Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >
SparseRowLinearOperator.
◆ beginAssemble()
Initiate the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation | the specific operation (Add, Set, ...) |
◆ endAssemble()
Finalize the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation | the specific operation (Add, Set, ...) |
◆ extractDiagonal()
extract diagonal entries from matrix into discrete function this only works for square matrices
◆ finalize()
template<class DomainFunction , class RangeFunction , class Matrix = SparseRowMatrix< typename DomainFunction::DiscreteFunctionSpaceType::RangeFieldType >>
◆ localMatrix() [1/2]
LocalMatrixType Dune::Fem::SparseRowMatrixObject< DomainFunction::DiscreteFunctionSpaceType , RangeFunction::DiscreteFunctionSpaceType , SparseRowMatrix< typename DomainFunction::DiscreteFunctionSpaceType::RangeFieldType > >::localMatrix |
( |
| ) |
const |
|
inlineinherited |
◆ localMatrix() [2/2]
LocalMatrixType Dune::Fem::SparseRowMatrixObject< DomainFunction::DiscreteFunctionSpaceType , RangeFunction::DiscreteFunctionSpaceType , SparseRowMatrix< typename DomainFunction::DiscreteFunctionSpaceType::RangeFieldType > >::localMatrix |
( |
const DomainEntityType & |
domainEntity, |
|
|
const RangeEntityType & |
rangeEntity |
|
) |
| const |
|
inlineinherited |
◆ operator()()
application operator
- Parameters
-
[in] | u | argument discrete function |
[out] | w | destination discrete function |
- Note
- This method has to be implemented by all derived classes.
◆ positiveDefinite()
template<class DomainFunction , class RangeFunction = DomainFunction>
Return true
if the Operator is positive definite.
◆ symmetric()
template<class DomainFunction , class RangeFunction = DomainFunction>
Return true
if the Operator is symmetric.
The documentation for this struct was generated from the following file: