Linear solver interface. More...
#include <core/alien/expression/solver/ILinearSolver.h>
Public Types | |
| typedef SolverStatus | Status |
| Type of the solver status. | |
Public Member Functions | |
| ILinearSolver () | |
| Constructor. | |
| virtual | ~ILinearSolver () |
| Free resources. | |
| virtual Arccore::String | getBackEndName () const =0 |
| virtual void | init ()=0 |
| Initialization. | |
| virtual void | end ()=0 |
| Finalization. | |
| virtual void | updateParallelMng (Arccore::MessagePassing::IMessagePassingMng *pm)=0 |
| update parallel_mng, required for redistribution | |
| virtual bool | solve (const IMatrix &A, const IVector &b, IVector &x)=0 |
| Solves a linear system. | |
| virtual SolverStat const & | getSolverStat () const =0 |
| virtual std::shared_ptr< ILinearAlgebra > | algebra () const =0 |
| Get a compatible linear algebra, i.e. a linear algebra matching the solver kernel. | |
| virtual bool | hasParallelSupport () const =0 |
| Whether or not the solver support parallel solve. | |
| virtual const SolverStatus & | getStatus () const =0 |
| Get resolution information. | |
| virtual void | setNullSpaceConstantOption (bool flag)=0 |
| Option to add an extra-equation. | |
Linear solver interface.
Definition at line 70 of file ILinearSolver.h.
Type of the solver status.
Definition at line 77 of file ILinearSolver.h.
|
inline |
Constructor.
Definition at line 81 of file ILinearSolver.h.
Referenced by setNullSpaceConstantOption().
|
inlinevirtual |
Free resources.
Definition at line 84 of file ILinearSolver.h.
|
pure virtual |
Get a compatible linear algebra, i.e. a linear algebra matching the solver kernel.
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Finalization.
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Get resolution information.
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Whether or not the solver support parallel solve.
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Initialization.
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
Option to add an extra-equation.
Option to add an extra-equation to the linear system such as a constraint equation
| [in] | flag | If the option is activated |
Implemented in Alien::LinearSolver< Tag >.
References ILinearSolver().
|
pure virtual |
Solves a linear system.
| [in] | A | The matrix |
| [in] | b | The rhs |
| [in,out] | The | solution |
Implemented in Alien::LinearSolver< Tag >.
|
pure virtual |
update parallel_mng, required for redistribution
| [in] | pm | : new parallel mng |
Implemented in Alien::LinearSolver< Tag >.