Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)

Public Member Functions | Protected Member Functions | Private Attributes
concepts::GMResFabric< F > Class Template Reference

Fabric class for generalized minimal residual: GMRes. More...

#include <gmresFabric.hh>

Inheritance diagram for concepts::GMResFabric< F >:
Inheritance graph
[legend]
Collaboration diagram for concepts::GMResFabric< F >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 GMResFabric (Real maxeps=EPS, int maxit=0, uint rs=0, uint relres=0)
 Constructor.
virtual Operator< F > * operator() (SparseMatrix< F > &matrix)
virtual Operator< F > * operator() (Operator< F > &matrix)
 Creates a linear solver from matrix.

Protected Member Functions

virtual std::ostream & info (std::ostream &os) const
 Returns information in an output stream.

Private Attributes

Real maxeps_
 Convergence criteria for the solver.
int maxit_
 Convergence criteria for the solver.
uint relres_
 relres = 0: absolute residual, relres = 1: relative residual
uint rs_
 Restart.

Detailed Description

template<typename F>
class concepts::GMResFabric< F >

Fabric class for generalized minimal residual: GMRes.

Author:
Christoph Winkelmann, 2004

Definition at line 24 of file gmresFabric.hh.


Constructor & Destructor Documentation

template<typename F >
concepts::GMResFabric< F >::GMResFabric ( Real  maxeps = EPS,
int  maxit = 0,
uint  rs = 0,
uint  relres = 0 
) [inline]

Constructor.

Parameters:
maxepsMaximal residual
maxitMaximal number of iterations
rsRestart
relres0: absolute residual, 1: relative residual

Definition at line 32 of file gmresFabric.hh.


Member Function Documentation

template<typename F >
virtual std::ostream& concepts::GMResFabric< F >::info ( std::ostream &  os) const [inline, protected, virtual]

Returns information in an output stream.

Reimplemented from concepts::OutputOperator.

Definition at line 39 of file gmresFabric.hh.

template<typename F>
virtual Operator<F>* concepts::SolverFabric< F >::operator() ( SparseMatrix< F > &  matrix) [inline, virtual, inherited]

Definition at line 26 of file solverFabric.hh.

template<typename F >
virtual Operator<F>* concepts::GMResFabric< F >::operator() ( Operator< F > &  matrix) [inline, virtual]

Creates a linear solver from matrix.

The caller is responsible for the deletion of the delivered object.

Returns:
Reference to the linear solver

Implements concepts::SolverFabric< F >.

Definition at line 35 of file gmresFabric.hh.

Here is the call graph for this function:


Member Data Documentation

template<typename F >
Real concepts::GMResFabric< F >::maxeps_ [private]

Convergence criteria for the solver.

Definition at line 46 of file gmresFabric.hh.

template<typename F >
int concepts::GMResFabric< F >::maxit_ [private]

Convergence criteria for the solver.

Definition at line 48 of file gmresFabric.hh.

template<typename F >
uint concepts::GMResFabric< F >::relres_ [private]

relres = 0: absolute residual, relres = 1: relative residual

Definition at line 52 of file gmresFabric.hh.

template<typename F >
uint concepts::GMResFabric< F >::rs_ [private]

Restart.

Definition at line 50 of file gmresFabric.hh.


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

Home | Doxygen Documentation | Tutorials | Developer Tools (restricted)