Arcane  4.2.2.0
Developer documentation
Loading...
Searching...
No Matches
AlinaSequentialSolver Class Reference

Sequential solver. More...

#include </__w/arcaneframework.github.io/arcaneframework.github.io/framework/arccore/src/alina/arccore/alina/AlinaLib.h>

Collaboration diagram for AlinaSequentialSolver:

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< AlinaSequentialSolverImplm_p

Detailed Description

Sequential solver.

Definition at line 181 of file AlinaLib.h.

Constructor & Destructor Documentation

◆ AlinaSequentialSolver()

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().

Here is the call graph for this function:

Member Function Documentation

◆ report()

void AlinaSequentialSolver::report ( )

Printout solver structure.

Definition at line 244 of file AlinaLib.cc.

References Arcane::Alina::PreconditionedSolver< Precond, IterativeSolver >::precond().

Here is the call graph for this function:

◆ solve()

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.

◆ solveMatrix()

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().

Here is the call graph for this function:

Member Data Documentation

◆ m_p

std::shared_ptr<AlinaSequentialSolverImpl> AlinaSequentialSolver::m_p
private

Definition at line 211 of file AlinaLib.h.


The documentation for this class was generated from the following files: