dune-fem  2.4.1-rc
Classes | Public Types | Public Member Functions | List of all members
Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op > Class Template Reference

GMRES solver. More...

#include </local/tomalk/somewhere/tmp/dune-fem/dune/fem/solver/oemsolver/oemsolver.hh>

Inheritance diagram for Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >:
Inheritance graph

Public Types

typedef Op OperatorType
 
typedef DiscreteFunctionType DomainFunctionType
 type of discrete function in the operator's domain More...
 
typedef DiscreteFunctionType RangeFunctionType
 type of discrete function in the operator's range More...
 
typedef DiscreteFunctionType::RangeFieldType DomainFieldType
 field type of the operator's domain More...
 
typedef DiscreteFunctionType::RangeFieldType RangeFieldType
 field type of the operator's range More...
 

Public Member Functions

 OEMGMRESOp (OperatorType &op, double redEps, double absLimit, int maxIter, bool verbose, const ParameterReader &parameter=Parameter::container())
 constructor of OEM-GMRES More...
 
 OEMGMRESOp (OperatorType &op, double redEps, double absLimit, int maxIter, const ParameterReader &parameter=Parameter::container())
 
 OEMGMRESOp (OperatorType &op, double redEps, double absLimit, const ParameterReader &parameter=Parameter::container())
 
void prepare (const DiscreteFunctionType &Arg, DiscreteFunctionType &Dest) const
 
void finalize () const
 
int iterations () const
 
void apply (const DiscreteFunctionType &arg, DiscreteFunctionType &dest) const
 solve the system More...
 
void operator() (const DiscreteFunctionType &arg, DiscreteFunctionType &dest) const
 solve the system More...
 

Detailed Description

template<class DiscreteFunctionType, class Op>
class Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >

GMRES solver.

Member Typedef Documentation

typedef DiscreteFunctionType ::RangeFieldType Dune::Fem::Operator< DiscreteFunctionType , DiscreteFunctionType >::DomainFieldType
inherited

field type of the operator's domain

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

type of discrete function in the operator's domain

template<class DiscreteFunctionType , class Op >
typedef Op Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::OperatorType
typedef DiscreteFunctionType ::RangeFieldType Dune::Fem::Operator< DiscreteFunctionType , DiscreteFunctionType >::RangeFieldType
inherited

field type of the operator's range

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

type of discrete function in the operator's range

Constructor & Destructor Documentation

template<class DiscreteFunctionType , class Op >
Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::OEMGMRESOp ( OperatorType op,
double  redEps,
double  absLimit,
int  maxIter,
bool  verbose,
const ParameterReader parameter = Parameter::container() 
)
inline

constructor of OEM-GMRES

Parameters
[in]opOperator to invert
[in]redEpsrealative tolerance for residual
[in]absLimitabsolut solving tolerance for residual
[in]maxItermaximal number of iterations performed
[in]verboseverbosity
template<class DiscreteFunctionType , class Op >
Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::OEMGMRESOp ( OperatorType op,
double  redEps,
double  absLimit,
int  maxIter,
const ParameterReader parameter = Parameter::container() 
)
inline
template<class DiscreteFunctionType , class Op >
Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::OEMGMRESOp ( OperatorType op,
double  redEps,
double  absLimit,
const ParameterReader parameter = Parameter::container() 
)
inline

Member Function Documentation

template<class DiscreteFunctionType , class Op >
void Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::apply ( const DiscreteFunctionType &  arg,
DiscreteFunctionType &  dest 
) const
inline

solve the system

Parameters
[in]argright hand side
[out]destsolution

References Dune::Std::min().

template<class DiscreteFunctionType , class Op >
void Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::finalize ( ) const
inline
template<class DiscreteFunctionType , class Op >
int Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::iterations ( ) const
inline
template<class DiscreteFunctionType , class Op >
void Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::operator() ( const DiscreteFunctionType &  arg,
DiscreteFunctionType &  dest 
) const
inlinevirtual

solve the system

Parameters
[in]argright hand side
[out]destsolution

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

References Dune::Fem::Parameter::container().

template<class DiscreteFunctionType , class Op >
void Dune::Fem::OEMGMRESOp< DiscreteFunctionType, Op >::prepare ( const DiscreteFunctionType &  Arg,
DiscreteFunctionType &  Dest 
) const
inline

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