|
dune-fem 2.12-git
|
SparseRowLinearOperator. More...
#include <dune/fem/operator/linear/spoperator.hh>

Public Types | |
| typedef DomainFunction::DiscreteFunctionSpaceType | DomainSpaceType |
| typedef RangeFunction::DiscreteFunctionSpaceType | RangeSpaceType |
| typedef SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix > | ThisType |
| typedef SparseRowMatrixObject< DomainSpaceType, RangeSpaceType, Matrix > | BaseType |
| typedef DomainSpaceType::EntityType | DomainEntityType |
| typedef RangeSpaceType::EntityType | RangeEntityType |
| typedef DomainSpaceType::EntityType | ColumnEntityType |
| typedef RangeSpaceType::EntityType | RowEntityType |
| typedef DomainSpaceType::BlockMapperType | DomainBlockMapperType |
| typedef NonBlockMapper< DomainBlockMapperType, DomainSpaceType::localBlockSize > | DomainMapperType |
| typedef RangeSpaceType::BlockMapperType | RangeBlockMapperType |
| typedef NonBlockMapper< RangeBlockMapperType, RangeSpaceType::localBlockSize > | RangeMapperType |
| typedef Matrix | MatrixType |
| typedef MatrixType::size_type | size_type |
| typedef MatrixType::field_type | field_type |
| typedef Dune::FieldMatrix< field_type, rangeLocalBlockSize, domainLocalBlockSize > | MatrixBlockType |
| typedef MatrixBlockType | block_type |
| typedef MatrixType | PreconditionMatrixType |
| typedef LocalMatrix< ThisType > | ObjectType |
| typedef ThisType | LocalMatrixFactoryType |
| typedef Fem::ObjectStack< LocalMatrixFactoryType > | LocalMatrixStackType |
| typedef LocalMatrixWrapper< LocalMatrixStackType > | LocalMatrixType |
| typedef ColumnObject< ThisType > | LocalColumnObjectType |
| typedef DomainFunction | DomainFunctionType |
| type of discrete function in the operator's domain | |
| typedef RangeFunction | 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 | |
Public Member Functions | |
| SparseRowLinearOperator (const std::string &, const DomainSpaceType &domainSpace, const RangeSpaceType &rangeSpace, const SolverParameter ¶m=SolverParameter()) | |
| virtual void | clear () |
| virtual void | operator() (const DomainFunction &arg, RangeFunction &dest) const |
| application operator | |
| virtual void | finalize () |
| finalization of operator | |
| 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 | unitRow (const size_type row) |
| template<class LocalBlock > | |
| void | addBlock (const size_type row, const size_type col, const LocalBlock &block) |
| template<class LocalBlock > | |
| void | setBlock (const size_type row, const size_type col, const LocalBlock &block) |
| template<class LocalMatrix > | |
| void | addLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat) |
| template<class LocalMatrix , class Scalar > | |
| void | addScaledLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat, const Scalar &s) |
| template<class LocalMatrix > | |
| void | setLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, const LocalMatrix &localMat) |
| template<class LocalMatrix > | |
| void | getLocalMatrix (const DomainEntityType &domainEntity, const RangeEntityType &rangeEntity, LocalMatrix &localMat) const |
| void | compress () |
| compress matrix to a real CRS format | |
| template<class Set > | |
| void | reserve (const std::vector< Set > &sparsityPattern) |
| template<class Stencil > | |
| void | reserve (const Stencil &stencil, bool verbose=false) |
| reserve memory | |
| template<class DiscreteFunctionType > | |
| void | extractDiagonal (DiscreteFunctionType &diag) const |
| template<class Container > | |
| void | setUnitRows (const Container &unitRows, const Container &auxRows) |
| 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. | |
| void | endAssemble () |
| Finalize the assemble of values using the LocalContribution concept. | |
| virtual bool | symmetric () const |
| virtual bool | positiveDefinite () const |
| virtual bool | nonlinear () const |
Static Public Attributes | |
| static constexpr bool | assembled = true |
| static const size_type | domainLocalBlockSize = DomainSpaceType::dimRange |
| static const size_type | rangeLocalBlockSize = RangeSpaceType::dimRange |
Protected Member Functions | |
| MatrixType & | matrix () const |
| get reference to storage object, for internal use | |
| void | finalizeAssembly () const |
Detailed Description
struct Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >
Member Typedef Documentation
◆ BaseType
| typedef SparseRowMatrixObject< DomainSpaceType, RangeSpaceType, Matrix > Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >::BaseType |
◆ block_type
|
inherited |
◆ ColumnEntityType
|
inherited |
◆ DomainBlockMapperType
|
inherited |
◆ DomainEntityType
|
inherited |
◆ DomainFieldType
|
inherited |
field type of the operator's domain
◆ DomainFunctionType
|
inherited |
type of discrete function in the operator's domain
◆ DomainMapperType
|
inherited |
◆ DomainSpaceType
| typedef DomainFunction::DiscreteFunctionSpaceType Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >::DomainSpaceType |
◆ field_type
|
inherited |
◆ LocalColumnObjectType
|
inherited |
◆ LocalMatrixFactoryType
|
inherited |
◆ LocalMatrixStackType
|
inherited |
◆ LocalMatrixType
|
inherited |
◆ MatrixBlockType
|
inherited |
◆ MatrixType
|
inherited |
◆ ObjectType
|
inherited |
◆ PreconditionMatrixType
|
inherited |
◆ RangeBlockMapperType
|
inherited |
◆ RangeEntityType
|
inherited |
◆ RangeFieldType
|
inherited |
field type of the operator's range
◆ RangeFunctionType
|
inherited |
type of discrete function in the operator's range
◆ RangeMapperType
|
inherited |
◆ RangeSpaceType
| typedef RangeFunction::DiscreteFunctionSpaceType Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >::RangeSpaceType |
◆ RowEntityType
|
inherited |
◆ size_type
|
inherited |
◆ ThisType
| typedef SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix > Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >::ThisType |
Constructor & Destructor Documentation
◆ SparseRowLinearOperator()
|
inline |
Member Function Documentation
◆ addBlock()
|
inlineinherited |
◆ addLocalMatrix()
|
inlineinherited |
◆ addScaledLocalMatrix()
|
inlineinherited |
◆ apply()
|
inline |
apply matrix to discrete function
◆ beginAssemble()
|
inlineinherited |
Initiate the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
◆ clear()
|
inlinevirtual |
◆ compress()
|
inlineinherited |
compress matrix to a real CRS format
◆ domainSpace()
|
inlineinherited |
get domain space (i.e. space that builds the rows)
◆ endAssemble()
|
inlineinherited |
Finalize the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
◆ exportMatrix()
|
inline |
get reference to storage object
◆ 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 >.
◆ finalizeAssembly()
|
inlineprotectedinherited |
◆ flushAssembly()
|
inlinevirtualinherited |
commit intermediate states of linear operator assembly
◆ getLocalMatrix()
|
inlineinherited |
◆ localColumn()
|
inlineinherited |
get local column
◆ 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
◆ matrix()
|
inlineprotectedinherited |
get reference to storage object, for internal use
◆ newObject()
|
inlineinherited |
interface method from LocalMatrixFactory
◆ 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 >.
◆ positiveDefinite()
|
inlinevirtualinherited |
Return true if the Operator is positive definite.
◆ rangeSpace()
|
inlineinherited |
get range space (i.e. space that builds the columns)
◆ reserve() [1/2]
|
inlineinherited |
◆ reserve() [2/2]
|
inlineinherited |
reserve memory
◆ resort()
|
inlineinherited |
resort row numbering in matrix to have ascending numbering
◆ setBlock()
|
inlineinherited |
◆ setLocalMatrix()
|
inlineinherited |
◆ setUnitRows()
|
inlineinherited |
◆ symmetric()
|
inlinevirtualinherited |
Return true if the Operator is symmetric.
◆ unitRow()
|
inlineinherited |
Member Data Documentation
◆ assembleCount_
|
protectedinherited |
◆ assembled
|
staticconstexpr |
◆ assembleOperation_
|
protectedinherited |
◆ domainLocalBlockSize
|
staticinherited |
◆ domainMapper_
|
protectedinherited |
◆ domainSpace_
|
protectedinherited |
◆ localMatrixStack_
|
mutableprotectedinherited |
◆ matrix_
|
mutableprotectedinherited |
◆ rangeLocalBlockSize
|
staticinherited |
◆ rangeMapper_
|
protectedinherited |
◆ rangeSpace_
|
protectedinherited |
◆ sequence_
|
protectedinherited |
The documentation for this struct was generated from the following file:
Legal Statements / Impressum | Hosted by TU Dresden & Uni Heidelberg | Generated by
1.9.8