Skip to content
Snippets Groups Projects
Commit 9976d38b authored by Tom Fischer's avatar Tom Fischer
Browse files

[MaL/LA/Eigen] More specific info messages for user.

parent f4580799
No related branches found
No related tags found
No related merge requests found
...@@ -52,7 +52,8 @@ class EigenDirectLinearSolver final : public EigenLinearSolverBase ...@@ -52,7 +52,8 @@ class EigenDirectLinearSolver final : public EigenLinearSolverBase
public: public:
bool solve(Matrix& A, Vector const& b, Vector& x, EigenOption& opt) override bool solve(Matrix& A, Vector const& b, Vector& x, EigenOption& opt) override
{ {
INFO("-> solve with {:s}", EigenOption::getSolverName(opt.solver_type)); INFO("-> solve with Eigen direct linear solver {:s}",
EigenOption::getSolverName(opt.solver_type));
if (!A.isCompressed()) if (!A.isCompressed())
{ {
A.makeCompressed(); A.makeCompressed();
...@@ -86,7 +87,7 @@ class EigenIterativeLinearSolver final : public EigenLinearSolverBase ...@@ -86,7 +87,7 @@ class EigenIterativeLinearSolver final : public EigenLinearSolverBase
public: public:
bool solve(Matrix& A, Vector const& b, Vector& x, EigenOption& opt) override bool solve(Matrix& A, Vector const& b, Vector& x, EigenOption& opt) override
{ {
INFO("-> solve with {:s} (precon {:s})", INFO("-> solve with Eigen iterative linear solver {:s} (precon {:s})",
EigenOption::getSolverName(opt.solver_type), EigenOption::getSolverName(opt.solver_type),
EigenOption::getPreconName(opt.precon_type)); EigenOption::getPreconName(opt.precon_type));
solver_.setTolerance(opt.error_tolerance); solver_.setTolerance(opt.error_tolerance);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment