Direct dune-istl linear solvers.
#include <dumux/linear/istlsolvers.hh>
◆ Scalar
export Scalar type (might be needed to set parameters from output) TODO: Do we need this?
◆ LinearSolver()
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
Dumux::LinearSolver::LinearSolver |
( |
const std::string & |
paramGroup = "" | ) |
|
|
inline |
- Note
- Read parameters from the parameter tree
- LinearSolver.Verbosity the verbosity level of the linear solver
- LinearSolver.MaxIterations the maximum iterations of the solver
- LinearSolver.ResidualReduction the residual reduction threshold, i.e. stopping criterion
- LinearSolver.Preconditioner.Relaxation precondition relaxation
- LinearSolver.Preconditioner.Iterations the number of preconditioner iterations
- LinearSolver.Preconditioner.Verbosity the preconditioner verbosity level
◆ maxIter()
int Dumux::LinearSolver::maxIter |
( |
| ) |
const |
|
inlineinherited |
◆ name()
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
◆ norm()
template<class Vector >
auto Dumux::LinearSolver::norm |
( |
const Vector & |
x | ) |
const |
|
inlineinherited |
◆ paramGroup()
const std::string & Dumux::LinearSolver::paramGroup |
( |
| ) |
const |
|
inlineinherited |
◆ precondIter()
int Dumux::LinearSolver::precondIter |
( |
| ) |
const |
|
inlineinherited |
◆ precondVerbosity()
int Dumux::LinearSolver::precondVerbosity |
( |
| ) |
const |
|
inlineinherited |
◆ relaxation()
Scalar Dumux::LinearSolver::relaxation |
( |
| ) |
const |
|
inlineinherited |
◆ residReduction()
Scalar Dumux::LinearSolver::residReduction |
( |
| ) |
const |
|
inlineinherited |
◆ setMatrix() [1/2]
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
- Note
- The client has to take care of the lifetime management of A
◆ setMatrix() [2/2]
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
◆ setMaxIter()
void Dumux::LinearSolver::setMaxIter |
( |
int |
i | ) |
|
|
inlineinherited |
◆ setPrecondIter()
void Dumux::LinearSolver::setPrecondIter |
( |
int |
i | ) |
|
|
inlineinherited |
◆ setPrecondVerbosity()
void Dumux::LinearSolver::setPrecondVerbosity |
( |
int |
verbosityLevel | ) |
|
|
inlineinherited |
◆ setRelaxation()
void Dumux::LinearSolver::setRelaxation |
( |
Scalar |
r | ) |
|
|
inlineinherited |
◆ setResidualReduction()
void Dumux::LinearSolver::setResidualReduction |
( |
Scalar |
r | ) |
|
|
inlineinherited |
◆ setVerbosity()
void Dumux::LinearSolver::setVerbosity |
( |
int |
v | ) |
|
|
inlineinherited |
◆ solve() [1/3]
template<class Matrix , class Vector >
bool Dumux::LinearSolver::solve |
( |
const Matrix & |
A, |
|
|
Vector & |
x, |
|
|
const Vector & |
b |
|
) |
| |
|
inlineinherited |
- Note
- This has to be overloaded by the actual solver
◆ solve() [2/3]
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
◆ solve() [3/3]
template<class LSTraits , class LATraits , template< class M > class Solver, bool convertMultiTypeVectorAndMatrix = isMultiTypeBlockVector<typename LATraits::Vector>::value>
◆ verbosity()
int Dumux::LinearSolver::verbosity |
( |
| ) |
const |
|
inlineinherited |
The documentation for this class was generated from the following file: