ShapeOp
0.1.0
|
Sparse linear system solver based on successive over-relaxation (SOR). More...
#include <LSSolver.h>
Public Member Functions | |
SORSolver (ShapeOp::Scalar relaxation=1.6) | |
Solver Constructor. More... | |
virtual void | initialize (const SparseMatrix &A, unsigned int iteration) overridefinal |
Initialize SOR. | |
virtual VectorX | solve (const VectorX &b, const VectorX &x0) const overridefinal |
Solve the linear system by applying SOR. | |
virtual Eigen::ComputationInfo | info () const overridefinal |
Reports whether previous computation was successful. | |
Sparse linear system solver based on successive over-relaxation (SOR).
SHAPEOP_INLINE ShapeOp::SORSolver::SORSolver | ( | ShapeOp::Scalar | relaxation = 1.6 | ) |
Solver Constructor.
relaxation | The relaxation factor. |