Sequential solver. More...
Public Member Functions | |
| AlinaSequentialSolver (const AlinaCSRMatrixView &matrix_view, const AlinaParameters *parameters) | |
| Build a solver for matrix matrix. | |
| AlinaConvergenceInfo | solve (Arcane::SmallSpan< const double > rhs, Arcane::SmallSpan< double > x) |
| Solve the problem for the given right-hand side. | |
| AlinaConvergenceInfo | solveMatrix (const AlinaCSRMatrixView &matrix_view, Arcane::SmallSpan< const double > rhs, Arcane::SmallSpan< double > x) |
| Solve the problem for the given matrix and the right-hand side. | |
| void | report () |
| Printout solver structure. | |
Private Attributes | |
| std::shared_ptr< AlinaSequentialSolverImpl > | m_p |
Sequential solver.
Definition at line 181 of file AlinaLib.h.
| AlinaSequentialSolver::AlinaSequentialSolver | ( | const AlinaCSRMatrixView & | matrix_view, |
| const AlinaParameters * | parameters ) |
Build a solver for matrix matrix.
The matrix view matrix_view passed as arguments must remain valid for as long as this instance is alive. parameters may be null. In this case we use the default parameters.
Definition at line 220 of file AlinaLib.cc.
References AlinaCSRMatrixView::checkSizes().
| void AlinaSequentialSolver::report | ( | ) |
Printout solver structure.
Definition at line 244 of file AlinaLib.cc.
References Arcane::Alina::PreconditionedSolver< Precond, IterativeSolver >::precond().
| AlinaConvergenceInfo AlinaSequentialSolver::solve | ( | Arcane::SmallSpan< const double > | rhs, |
| Arcane::SmallSpan< double > | x ) |
Solve the problem for the given right-hand side.
Definition at line 255 of file AlinaLib.cc.
| AlinaConvergenceInfo AlinaSequentialSolver::solveMatrix | ( | const AlinaCSRMatrixView & | matrix_view, |
| Arcane::SmallSpan< const double > | rhs, | ||
| Arcane::SmallSpan< double > | x ) |
Solve the problem for the given matrix and the right-hand side.
Definition at line 268 of file AlinaLib.cc.
References ARCCORE_FATAL, AlinaCSRMatrixView::checkSizes(), and Arcane::Alina::PreconditionedSolver< Precond, IterativeSolver >::size().
|
private |
Definition at line 211 of file AlinaLib.h.