OGS
|
Template class for Eigen iterative linear solvers.
Definition at line 265 of file EigenLinearSolver.cpp.
Public Member Functions | |
bool | computeImpl (Matrix &A, EigenOption &opt, MathLib::LinearSolverBehaviour const linear_solver_behaviour) override |
bool | solveImpl (Vector const &b, Vector &x, EigenOption &opt) override |
Public Member Functions inherited from MathLib::EigenLinearSolverBase | |
virtual | ~EigenLinearSolverBase ()=default |
bool | solve (Vector &b, Vector &x, EigenOption &opt) |
bool | compute (Matrix &A, EigenOption &opt, MathLib::LinearSolverBehaviour linear_solver_behaviour) |
Private Attributes | |
T_SOLVER | solver_ |
Matrix | A_ |
Additional Inherited Members | |
Public Types inherited from MathLib::EigenLinearSolverBase | |
using | Vector = EigenVector::RawVectorType |
using | Matrix = EigenMatrix::RawMatrixType |
Protected Member Functions inherited from MathLib::EigenLinearSolverBase |
|
inlineoverridevirtual |
Implements MathLib::EigenLinearSolverBase.
Definition at line 268 of file EigenLinearSolver.cpp.
References MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::A_, MathLib::EigenLinearSolverBase::compute(), ERR(), MathLib::EigenOption::error_tolerance, MathLib::EigenOption::getPreconName(), MathLib::EigenOption::getSolverName(), INFO(), MathLib::EigenOption::max_iterations, OGS_FATAL, MathLib::EigenOption::precon_type, MathLib::RECOMPUTE, MathLib::RECOMPUTE_AND_STORE, MathLib::REUSE, MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::solver_, and MathLib::EigenOption::solver_type.
|
inlineoverridevirtual |
Implements MathLib::EigenLinearSolverBase.
Definition at line 332 of file EigenLinearSolver.cpp.
References ERR(), MathLib::EigenOption::getPreconName(), MathLib::EigenOption::getSolverName(), INFO(), MathLib::EigenOption::max_iterations, MathLib::EigenOption::precon_type, MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::solver_, and MathLib::EigenOption::solver_type.
|
private |
Definition at line 354 of file EigenLinearSolver.cpp.
Referenced by MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::computeImpl().
|
private |
Definition at line 353 of file EigenLinearSolver.cpp.
Referenced by MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::computeImpl(), and MathLib::details::EigenIterativeLinearSolver< T_SOLVER >::solveImpl().