Linear system solver. More...
Public Member Functions | |
| AlinaSolver (const AlinaSolverParameters ¶ms, const AlinaCSRMatrixView &matrix_view) | |
| Create a solver. | |
| AlinaConvergenceInfo | solve (SmallSpan< const double > rhs, SmallSpan< double > x) |
| Find solution for the given RHS. | |
| AlinaConvergenceInfo | solveMatrix (const AlinaCSRMatrixView &matrix_view, SmallSpan< const double > rhs, SmallSpan< double > x) |
| Solve the problem for the given matrix and the right-hand side. | |
| void | report () |
| Printout solver structure. | |
Public Attributes | |
| std::shared_ptr< IAlinaSolverImpl > | m_p |
Linear system solver.
Definition at line 273 of file AlinaLib.h.
| Arcane::AlinaLib::AlinaSolver::AlinaSolver | ( | const AlinaSolverParameters & | params, |
| const AlinaCSRMatrixView & | matrix_view ) |
Create a solver.
The matrix view matrix_view passed as arguments must remain valid for as long as this instance is alive. The solver is sequential or distributed depending of the values given in params
Definition at line 560 of file AlinaLib.cc.
| void Arcane::AlinaLib::AlinaSolver::report | ( | ) |
Printout solver structure.
Definition at line 574 of file AlinaLib.cc.
| AlinaConvergenceInfo Arcane::AlinaLib::AlinaSolver::solve | ( | SmallSpan< const double > | rhs, |
| SmallSpan< double > | x ) |
Find solution for the given RHS.
Definition at line 583 of file AlinaLib.cc.
| AlinaConvergenceInfo Arcane::AlinaLib::AlinaSolver::solveMatrix | ( | const AlinaCSRMatrixView & | matrix_view, |
| SmallSpan< const double > | rhs, | ||
| SmallSpan< double > | x ) |
Solve the problem for the given matrix and the right-hand side.
Definition at line 592 of file AlinaLib.cc.
| std::shared_ptr<IAlinaSolverImpl> Arcane::AlinaLib::AlinaSolver::m_p |
Definition at line 304 of file AlinaLib.h.