dune-fem 2.12-git
Loading...
Searching...
No Matches
Dune::Fem::FemPreconditioning< DFImp, Operator, method > Class Template Reference

Precondtioner, implementing Jacobi, Gauss-Seidel and SOR works with. More...

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

Inheritance diagram for Dune::Fem::FemPreconditioning< DFImp, Operator, method >:
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

 FemPreconditioning (const OperatorType &op, const int n=1, const double w=1.0)
 
virtual void operator() (const DiscreteFunctionType &u, DiscreteFunctionType &res) const
 application operator
 
virtual void finalize ()
 finalization of operator
 
virtual bool nonlinear () const
 

Protected Member Functions

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

Detailed Description

template<class DFImp, class Operator, int method>
class Dune::Fem::FemPreconditioning< DFImp, Operator, method >

Precondtioner, implementing Jacobi, Gauss-Seidel and SOR 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::FemPreconditioningBase< DFImp, Operator , method, assembled >::ConstDofIteratorType
inherited

◆ DiscreteFunctionType

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

◆ DofIteratorType

typedef DiscreteFunctionType::DofIteratorType Dune::Fem::FemPreconditioningBase< DFImp, Operator , method, 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 , int method>
typedef Operator Dune::Fem::FemPreconditioning< DFImp, Operator, method >::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

◆ FemPreconditioning()

template<class DFImp , class Operator , int method>
Dune::Fem::FemPreconditioning< DFImp, Operator, method >::FemPreconditioning ( const OperatorType op,
const int  n = 1,
const double  w = 1.0 
)
inline

Member Function Documentation

◆ apply()

void Dune::Fem::FemPreconditioningBase< DFImp, Operator , method, 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.

◆ 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()()

virtual void Dune::Fem::FemPreconditioningBase< DFImp, Operator , method, 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: