#include <deal.II/lac/trilinos_solver.h>
template<typename VectorType>
class TrilinosWrappers::SolverBelos< VectorType >
Wrapper around the iterate solver package from the Belos package (https://docs.trilinos.org/latest-release/packages/belos/doc/html/index.html), targeting deal.II data structures.
Definition at line 654 of file trilinos_solver.h.
◆ SolverName
template<typename VectorType >
Enumeration object that Trilinos which solver to use. Currently enabled options are:
| Enumerator |
|---|
| cg | Use the conjugate gradient (CG) algorithm.
|
| gmres | Use the generalized minimum residual (GMRES) algorithm.
|
Definition at line 661 of file trilinos_solver.h.
◆ SolverBelos()
template<typename VectorType >
◆ solve()
template<typename VectorType >
template<typename OperatorType , typename PreconditionerType >
| void TrilinosWrappers::SolverBelos< VectorType >::solve |
( |
const OperatorType & |
a, |
|
|
VectorType & |
x, |
|
|
const VectorType & |
b, |
|
|
const PreconditionerType & |
p |
|
) |
| |
Solve the linear system Ax=b with a given preconditioner.
◆ solver_name
template<typename VectorType >
◆ solver_control
template<typename VectorType >
◆ additional_data
template<typename VectorType >
◆ belos_parameters
template<typename VectorType >
The documentation for this class was generated from the following file: