dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true > Class Template Reference

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

Inheritance diagram for Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >:
Inheritance graph

Public Types

typedef DFImp DiscreteFunctionType
 
typedef OperatorImp OperatorType
 
typedef DiscreteFunctionType::DofType DofType
 
typedef Dune::FieldTraits< DofType >::real_type RealType
 
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

 DiagonalPreconditionerBase (const OperatorType &assembledOperator)
 
virtual void operator() (const DiscreteFunctionType &u, DiscreteFunctionType &res) const
 application operator
 
virtual void finalize ()
 finalization of operator
 
virtual bool nonlinear () const
 

Protected Types

typedef OperatorType::MatrixType MatrixType
 

Protected Member Functions

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

Protected Attributes

DiscreteFunctionType diagonalInv_
 
const MatrixTypematrix_
 

Member Typedef Documentation

◆ ConstDofIteratorType

template<class DFImp , class OperatorImp >
typedef DiscreteFunctionType::ConstDofIteratorType Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::ConstDofIteratorType

◆ DiscreteFunctionType

template<class DFImp , class OperatorImp >
typedef DFImp Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::DiscreteFunctionType

◆ DofIteratorType

template<class DFImp , class OperatorImp >
typedef DiscreteFunctionType::DofIteratorType Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::DofIteratorType

◆ DofType

template<class DFImp , class OperatorImp >
typedef DiscreteFunctionType::DofType Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::DofType

◆ 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

◆ MatrixType

template<class DFImp , class OperatorImp >
typedef OperatorType::MatrixType Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::MatrixType
protected

◆ OperatorType

template<class DFImp , class OperatorImp >
typedef OperatorImp Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::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

◆ RealType

template<class DFImp , class OperatorImp >
typedef Dune::FieldTraits<DofType>::real_type Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::RealType

Constructor & Destructor Documentation

◆ DiagonalPreconditionerBase()

template<class DFImp , class OperatorImp >
Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::DiagonalPreconditionerBase ( const OperatorType assembledOperator)
inline

Member Function Documentation

◆ apply()

template<class DFImp , class OperatorImp >
void Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::apply ( const DiscreteFunctionType u,
DiscreteFunctionType res 
) const
inlineprotected

◆ finalize()

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

finalization of operator

Note
The default implementation is empty.

◆ nonlinear()

virtual bool Dune::Fem::Operator< DFImp , DFImp >::nonlinear ( ) const
inlinevirtualinherited

Return true if the Operator is nonlinear and false otherwise (default is true).

◆ operator()()

template<class DFImp , class OperatorImp >
virtual void Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::operator() ( const DiscreteFunctionType u,
DiscreteFunctionType w 
) const
inlinevirtual

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 >.

Member Data Documentation

◆ diagonalInv_

template<class DFImp , class OperatorImp >
DiscreteFunctionType Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::diagonalInv_
protected

◆ matrix_

template<class DFImp , class OperatorImp >
const MatrixType& Dune::Fem::DiagonalPreconditionerBase< DFImp, OperatorImp, true >::matrix_
protected

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