dune-pdelab  2.0.0
Public Member Functions | Protected Attributes | List of all members
Dune::PDELab::ISTLBackend_SEQ_CG_ILUn Class Reference

Sequential congute gradient solver with ILU0 preconditioner. More...

#include <dune/pdelab/backend/seqistlsolverbackend.hh>

Inheritance diagram for Dune::PDELab::ISTLBackend_SEQ_CG_ILUn:
Inheritance graph

Public Member Functions

 ISTLBackend_SEQ_CG_ILUn (int n_, double w_=1.0, unsigned maxiter_=5000, int verbose_=1)
 make a linear solver object More...
 
void apply (M &A, V &z, W &r, typename W::ElementType reduction)
 solve the given linear system More...
 
template<class V >
Dune::template FieldTraits
< typename V::ElementType >
::real_type 
norm (const V &v) const
 compute global norm of a vector More...
 
const
Dune::PDELab::LinearSolverResult
< double > & 
result () const
 Return access to result data. More...
 

Protected Attributes

Dune::PDELab::LinearSolverResult
< double > 
res
 

Detailed Description

Sequential congute gradient solver with ILU0 preconditioner.

Constructor & Destructor Documentation

Dune::PDELab::ISTLBackend_SEQ_CG_ILUn::ISTLBackend_SEQ_CG_ILUn ( int  n_,
double  w_ = 1.0,
unsigned  maxiter_ = 5000,
int  verbose_ = 1 
)
inlineexplicit

make a linear solver object

Parameters
[in]n_The number of levels to be used.
[in]w_The relaxation factor.
[in]maxiter_maximum number of iterations to do
[in]verbose_print messages if true

Member Function Documentation

void Dune::PDELab::ISTLBackend_SEQ_ILUn< Dune::CGSolver >::apply ( M &  A,
V &  z,
W &  r,
typename W::ElementType  reduction 
)
inlineinherited
template<class V >
Dune::template FieldTraits<typename V::ElementType >::real_type Dune::PDELab::SequentialNorm::norm ( const V &  v) const
inlineinherited

compute global norm of a vector

Parameters
[in]vthe given vector

References Dune::PDELab::istl::raw().

const Dune::PDELab::LinearSolverResult<double>& Dune::PDELab::LinearResultStorage::result ( ) const
inlineinherited

Return access to result data.

References Dune::PDELab::LinearResultStorage::res.

Member Data Documentation

Dune::PDELab::LinearSolverResult<double> Dune::PDELab::LinearResultStorage::res
protectedinherited

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