dune-fem 2.8.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Protected Member Functions | List of all members
Dune::Fem::DiagonalPreconditioner< DFImp, Operator > Class Template Reference

Precondtioner, multiplies with inverse of the diagonal works with. More...

#include <dune/fem/solver/diagonalpreconditioner.hh>

Inheritance diagram for Dune::Fem::DiagonalPreconditioner< DFImp, Operator >:
Inheritance graph

Public Types

typedef Operator OperatorType
 
typedef DFImp DiscreteFunctionType
 
typedef DiscreteFunctionType::DofIteratorType DofIteratorType
 
typedef DiscreteFunctionType::ConstDofIteratorType ConstDofIteratorType
 
typedef DFImp DomainFunctionType
 type of discrete function in the operator's domain
 
typedef DFImp 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

 DiagonalPreconditioner (const OperatorType &op)
 
virtual void operator() (const DiscreteFunctionType &u, DiscreteFunctionType &res) const
 application operator
 
virtual void finalize ()
 finalization of operator
 

Protected Member Functions

void apply (const DiscreteFunctionType &u, DiscreteFunctionType &res) const
 

Detailed Description

template<class DFImp, class Operator>
class Dune::Fem::DiagonalPreconditioner< DFImp, Operator >

Precondtioner, multiplies with inverse of the diagonal works with.

Parameters
DFImptype of the disctete function
Operatortype of the operator (only works for assembled operators)

Member Typedef Documentation

◆ ConstDofIteratorType

typedef DiscreteFunctionType::ConstDofIteratorType Dune::Fem::DiagonalPreconditionerBase< DFImp, Operator , assembled >::ConstDofIteratorType
inherited

◆ DiscreteFunctionType

typedef DFImp Dune::Fem::DiagonalPreconditionerBase< DFImp, Operator , assembled >::DiscreteFunctionType
inherited

◆ DofIteratorType

typedef DiscreteFunctionType::DofIteratorType Dune::Fem::DiagonalPreconditionerBase< DFImp, Operator , assembled >::DofIteratorType
inherited

◆ DomainFieldType

typedef DomainFunction::RangeFieldType Dune::Fem::Operator< DFImp , DFImp >::DomainFieldType
inherited

field type of the operator's domain

◆ DomainFunctionType

typedef DFImp Dune::Fem::Operator< DFImp , DFImp >::DomainFunctionType
inherited

type of discrete function in the operator's domain

◆ OperatorType

template<class DFImp , class Operator >
typedef Operator Dune::Fem::DiagonalPreconditioner< DFImp, Operator >::OperatorType

◆ RangeFieldType

typedef RangeFunction::RangeFieldType Dune::Fem::Operator< DFImp , DFImp >::RangeFieldType
inherited

field type of the operator's range

◆ RangeFunctionType

typedef DFImp Dune::Fem::Operator< DFImp , DFImp >::RangeFunctionType
inherited

type of discrete function in the operator's range

Constructor & Destructor Documentation

◆ DiagonalPreconditioner()

template<class DFImp , class Operator >
Dune::Fem::DiagonalPreconditioner< DFImp, Operator >::DiagonalPreconditioner ( const OperatorType op)
inline

Member Function Documentation

◆ apply()

void Dune::Fem::DiagonalPreconditionerBase< DFImp, Operator , assembled >::apply ( const DiscreteFunctionType u,
DiscreteFunctionType res 
) const
inlineprotectedinherited

◆ finalize()

virtual void Dune::Fem::Operator< DFImp , DFImp >::finalize ( )
inlinevirtualinherited

finalization of operator

Note
The default implementation is empty.

◆ operator()()

virtual void Dune::Fem::DiagonalPreconditionerBase< DFImp, Operator , assembled >::operator() ( const DiscreteFunctionType u,
DiscreteFunctionType res 
) const
inlinevirtualinherited

application operator

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

Implements Dune::Fem::Operator< DFImp, DFImp >.


The documentation for this class was generated from the following file: