version 3.9
Dumux::IterativePreconditionedSolverImpl Class Reference

A general solver backend allowing arbitrary preconditioners and solvers. More...

#include <dumux/linear/seqsolverbackend.hh>

Description

This class is used as a base class for specific solver-preconditioner combinations. Several parameters from the group LinearSolver are read to customize the solver and preconditioner:

  • Verbosity: determines how verbose the linear solver should print output.
  • MaxIterations: the maximum number of iterations for the linear solver.
  • ResidualReduction: the threshold for declaration of convergence.
  • PreconditionerRelaxation: relaxation parameter for the preconditioner.
  • PreconditionerIterations: usually specifies the number of times the preconditioner is applied. In case of ILU(n), it specifies the order of the applied ILU.

Static Public Member Functions

template<class Preconditioner , class Solver , class Matrix , class Vector >
static bool solveWithParamTree (const Matrix &A, Vector &x, const Vector &b, const Dune::ParameterTree &params)
 

Member Function Documentation

◆ solveWithParamTree()

template<class Preconditioner , class Solver , class Matrix , class Vector >
static bool Dumux::IterativePreconditionedSolverImpl::solveWithParamTree ( const Matrix &  A,
Vector &  x,
const Vector &  b,
const Dune::ParameterTree &  params 
)
inlinestatic

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