Internal linear solver interface. More...
#include <core/alien/core/backend/IInternalLinearSolverT.h>
Public Member Functions | |
| virtual | ~IInternalLinearSolver () |
| Free resources. | |
| virtual void | updateParallelMng (Arccore::MessagePassing::IMessagePassingMng *pm) |
| Update parallel manager. | |
| virtual void | init () |
| Initialize the linear solver. | |
| virtual void | end () |
| Finalize the linear solver. | |
| virtual bool | solve (const Matrix &A, const Vector &b, Vector &x)=0 |
| Solve the linear system A * x = b. | |
| virtual SolverStat const & | getSolverStat () const =0 |
| Get statistics on the solve phase. | |
| virtual SolverStat & | getSolverStat ()=0 |
| Get statistics on the solve phase. | |
| virtual bool | hasParallelSupport () const =0 |
| Indicates if the kernel is parallel. | |
| virtual const SolverStatus & | getStatus () const =0 |
| Get solver resolution status. | |
| virtual std::shared_ptr< ILinearAlgebra > | algebra () const |
| Get compatible linear algebra. | |
Internal linear solver interface.
Internal interface for all linear solver package
Definition at line 36 of file IInternalLinearSolverT.h.
|
inlinevirtual |
Free resources.
Definition at line 40 of file IInternalLinearSolverT.h.
|
inlinevirtual |
Get compatible linear algebra.
Definition at line 103 of file IInternalLinearSolverT.h.
|
inlinevirtual |
Finalize the linear solver.
Definition at line 56 of file IInternalLinearSolverT.h.
|
pure virtual |
Get statistics on the solve phase.
Get statistics on the solver phase, such as iteration count, initialization time, solve time, etc.
|
pure virtual |
Get statistics on the solve phase.
Get statistics on the solver phase, such as iteration count, initialization time, solve time, etc.
|
pure virtual |
Get solver resolution status.
|
pure virtual |
Indicates if the kernel is parallel.
|
inlinevirtual |
Initialize the linear solver.
Definition at line 53 of file IInternalLinearSolverT.h.
|
pure virtual |
Solve the linear system A * x = b.
| [in] | A | The matrix to invert |
| [in] | b | The right hand side |
| [in,out] | x | The solution |
|
inlinevirtual |
Update parallel manager.
Allows to change parallel manager in cases where it changes, like solves in a redistributed environment
| [in] | pm | The new parallel manager |
Definition at line 50 of file IInternalLinearSolverT.h.