DUNE-FEM (unstable)

Dune::Fem::Operator< DomainFunction, RangeFunction > Class Template Referenceabstract

abstract operator More...

#include <dune/fem/operator/common/operator.hh>

Public Types

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

virtual void operator() (const DomainFunctionType &u, RangeFunctionType &w) const =0
 application operator More...
 
virtual void finalize ()
 finalization of operator More...
 

Detailed Description

template<class DomainFunction, class RangeFunction = DomainFunction>
class Dune::Fem::Operator< DomainFunction, RangeFunction >

abstract operator

Operators map a discrete function onto another discrete function. Their interface is described by the abstract class Operator.

Template Parameters
DomainFunctiontype of discrete function for the domain
RangeFunctiontype of discrete function for the range (defaults to DomainFunction)
An interface class:

Member Function Documentation

◆ finalize()

template<class DomainFunction , class RangeFunction = DomainFunction>
virtual void Dune::Fem::Operator< DomainFunction, RangeFunction >::finalize ( )
inlinevirtual

finalization of operator

Note
The default implementation is empty.

Reimplemented in Dune::Fem::SparseRowLinearOperator< DomainFunction, RangeFunction, Matrix >.

Referenced by Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >::operator()().

◆ operator()()

template<class DomainFunction , class RangeFunction = DomainFunction>
virtual void Dune::Fem::Operator< DomainFunction, RangeFunction >::operator() ( const DomainFunctionType u,
RangeFunctionType w 
) const
pure virtual

application operator

Parameters
[in]uargument discrete function
[out]wdestination discrete function
Note
This method has to be implemented by all derived classes.

Implemented in Dune::Fem::VtxProjection< DType, RType >, EllipticOperator< DomainDiscreteFunction, RangeDiscreteFunction, Model >, EllipticOperator< JacobianOperator::DomainFunctionType, JacobianOperator::RangeFunctionType, Model >, and Dune::Fem::Solver::CGInverseOperator< DiscreteFunction >.


The documentation for this class was generated from the following file:
Creative Commons License   |  Legal Statements / Impressum  |  Hosted by TU Dresden  |  generated with Hugo v0.80.0 (Apr 26, 22:29, 2024)