Base class for linear solvers.
#include <dumux/linear/solver.hh>
◆ Scalar
export Scalar type (might be needed to set parameters from output) TODO: Do we need this?
◆ LinearSolver()
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 |
|
inline |
◆ name()
std::string Dumux::LinearSolver::name |
( |
| ) |
const |
|
inline |
◆ norm()
template<class Vector >
auto Dumux::LinearSolver::norm |
( |
const Vector & |
x | ) |
const |
|
inline |
◆ paramGroup()
const std::string & Dumux::LinearSolver::paramGroup |
( |
| ) |
const |
|
inline |
◆ precondIter()
int Dumux::LinearSolver::precondIter |
( |
| ) |
const |
|
inline |
◆ precondVerbosity()
int Dumux::LinearSolver::precondVerbosity |
( |
| ) |
const |
|
inline |
◆ relaxation()
Scalar Dumux::LinearSolver::relaxation |
( |
| ) |
const |
|
inline |
◆ residReduction()
Scalar Dumux::LinearSolver::residReduction |
( |
| ) |
const |
|
inline |
◆ setMaxIter()
void Dumux::LinearSolver::setMaxIter |
( |
int |
i | ) |
|
|
inline |
◆ setPrecondIter()
void Dumux::LinearSolver::setPrecondIter |
( |
int |
i | ) |
|
|
inline |
◆ setPrecondVerbosity()
void Dumux::LinearSolver::setPrecondVerbosity |
( |
int |
verbosityLevel | ) |
|
|
inline |
◆ setRelaxation()
void Dumux::LinearSolver::setRelaxation |
( |
Scalar |
r | ) |
|
|
inline |
◆ setResidualReduction()
void Dumux::LinearSolver::setResidualReduction |
( |
Scalar |
r | ) |
|
|
inline |
◆ setVerbosity()
void Dumux::LinearSolver::setVerbosity |
( |
int |
v | ) |
|
|
inline |
◆ solve()
template<class Matrix , class Vector >
bool Dumux::LinearSolver::solve |
( |
const Matrix & |
A, |
|
|
Vector & |
x, |
|
|
const Vector & |
b |
|
) |
| |
|
inline |
- Note
- This has to be overloaded by the actual solver
◆ verbosity()
int Dumux::LinearSolver::verbosity |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following file: