dune-pdelab
2.4.1
|
Sequential congute gradient solver with ILU0 preconditioner. More...
#include <dune/pdelab/backend/istl/seqistlsolverbackend.hh>
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 Dune::template FieldTraits< typename W::ElementType >::real_type 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 |
Sequential congute gradient solver with ILU0 preconditioner.
|
inlineexplicit |
make a linear solver object
[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 |
|
inlineinherited |
solve the given linear system
[in] | A | the given matrix |
[out] | z | the solution vector to be computed |
[in] | r | right hand side |
[in] | reduction | to be achieved |
References Dune::PDELab::Backend::native().
|
inlineinherited |
compute global norm of a vector
[in] | v | the given vector |
References Dune::PDELab::Backend::native().
|
inlineinherited |
Return access to result data.
|
protectedinherited |