DUNE-FEM (unstable)
abstract matrix operator More...
#include <dune/fem/operator/common/operator.hh>
Public Member Functions | |
virtual void | flushAssembly () |
commit intermediate states of linear operator assembly | |
template<class AssembleOperation > | |
void | beginAssemble () |
Initiate the assemble of values using the LocalContribution concept. More... | |
template<class AssembleOperation > | |
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... | |
virtual void | finalize () |
finalization of operator More... | |
Detailed Description
class Dune::Fem::AssembledOperator< DomainFunction, RangeFunction >
abstract matrix operator
Operators map a discrete function onto another discrete function. Their interface is described by the abstract class Operator. Implementation should derive from AssembledOperator to indicate that they model an affine linear operator of the form
\[ u\mapsto A\,u \]
with a matrix \(A\). Jacobians of LinearOperator classes, for instance, could be modelled as matrices.
- Template Parameters
-
DomainFunction type of discrete function for the domain RangeFunction type of discrete function for the range (defaults to DomainFunction)
Member Function Documentation
◆ beginAssemble()
|
inline |
Initiate the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
References DUNE_THROW.
◆ endAssemble()
|
inline |
Finalize the assemble of values using the LocalContribution concept.
- Template Parameters
-
AssembleOperation the specific operation (Add, Set, ...)
References DUNE_THROW.
◆ finalize()
|
inlinevirtualinherited |
finalization of operator
- Note
- The default implementation is empty.
◆ nonlinear()
|
inlinevirtualinherited |
Return true
if the Operator is nonlinear and false
otherwise (default is true).
Reimplemented from Dune::Fem::Operator< DomainFunction, DomainFunction >.
◆ operator()()
|
pure virtualinherited |
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()
|
inlinevirtualinherited |
Return true
if the Operator is positive definite.
◆ symmetric()
|
inlinevirtualinherited |
Return true
if the Operator is symmetric.
The documentation for this class was generated from the following file:
- dune/fem/operator/common/operator.hh