|
My Project
|
Provides all unmodified linear solvers from dune-istl. More...
#include <parallelistlbackend.hh>
Inherits Opm::Linear::ParallelBaseBackend< TypeTag >.
Public Member Functions | |
| ParallelIstlSolverBackend (const Simulator &simulator) | |
Static Public Member Functions | |
| static void | registerParameters () |
| Register all run-time parameters for the linear solver. | |
Protected Member Functions | |
| std::shared_ptr< RawLinearSolver > | prepareSolver_ (ParallelOperator &parOperator, ParallelScalarProduct &parScalarProduct, ParallelPreconditioner &parPreCond) |
| void | cleanupSolver_ () |
| std::pair< bool, int > | runSolver_ (std::shared_ptr< RawLinearSolver > solver) |
Protected Attributes | |
| friend | ParentType |
| LinearSolverWrapper | solverWrapper_ |
Provides all unmodified linear solvers from dune-istl.
To set the linear solver, use
The possible choices for '$SOLVER' are:
Richardson: A fixpoint solver using the Richardson iterationSteepestDescent: The steepest descent solverConjugatedGradients: A conjugated gradients solverBiCGStab: A stabilized bi-conjugated gradients solverMinRes: A solver based on the minimized residual algorithmRestartedGMRes: A restarted GMRES solverChosing the preconditioner works in an analogous way:
Where the choices possible for '$PRECONDITIONER' are: