Class xlifepp::SorSolver#

class SorSolver : public xlifepp::IterativeSolver#

Implement Successive Over Relaxation algorithm.

Implement Symmetric Successive Over Relaxation algorithm.

Public Functions

inline SorSolver(const Parameter &p1)#

contructors with key-value system

inline SorSolver(real_t w, real_t eps, number_t maxOfIt = defaultMaxIterations, number_t vb = theVerboseLevel)#

Full constructor.

inline SorSolver(real_t w = 1.)#

Constructor with omega.

template<class Mat, class Vec>
inline Vec operator()(Mat &matA, Vec &vecB)#

runs solver

template<class Mat, class VecB, class VecX>
inline VecX operator()(Mat &matA, VecB &vecB, VecX &vecX0)#

Template Solvers.

inline void print(std::ostream &out) const#

print utility