Class xlifepp::BicgStabSolver#
-
class BicgStabSolver : public xlifepp::IterativeSolver#
-
Inheritence diagram for xlifepp::BicgStabSolver:
Collaboration diagram for xlifepp::BicgStabSolver:
Implement BiConjugate Gradient Stabilized algorithm.
Public Functions
-
inline BicgStabSolver()#
-
Default Constructor.
-
inline BicgStabSolver(real_t eps, number_t maxOfIt = defaultMaxIterations, number_t vb = theVerboseLevel)#
-
Full Constructor.
-
inline number_t maximumOfIterations(const size_t nbRows)#
-
Return the maximum iteration as a function of linear system size.
- Parameters:
-
nbRows – number of row of vector unknown X
- Returns:
-
Maximum number of iteration BiCGStab is not guaranteed to converge in nbRows iterations so the default value is set to 2*nbRows
-
template<class Mat, class VecB, class VecX>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0)#
-
Template Solvers without a precondition without argument “solType.
-
template<class Mat, class VecB, class VecX, class Prec>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0, Prec &pc, ValueType solType)#
-
Template Solvers with a preconditioner.
-
template<class Mat, class VecB, class VecX>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0, ValueType solType)#
-
Template Solvers without a precondition.
-
inline BicgStabSolver()#