From c4e453f9f86ce07b985b9d6a9ca8612d4a85f221 Mon Sep 17 00:00:00 2001 From: Thomas Witkowski <thomas.witkowski@gmx.de> Date: Thu, 22 Oct 2009 07:39:05 +0000 Subject: [PATCH] Added UMFPACK 5.4 --- AMDiS/src/UmfPackSolver.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/AMDiS/src/UmfPackSolver.h b/AMDiS/src/UmfPackSolver.h index 04453a6b..183c60e3 100644 --- a/AMDiS/src/UmfPackSolver.h +++ b/AMDiS/src/UmfPackSolver.h @@ -88,9 +88,11 @@ namespace AMDiS { else solver->update(); - // std::cout << "UmfPackSolver: A = \n" << A << "\n"; int code= (*solver)(x, b); + print(x); + std::cout << std::endl; mtl::dense_vector<value_type> r(b); r-= A * x; residual= two_norm(r); + // std::cout.precision(5); std::cout << "UmfPackSolver: ||b-Ax|| = " << residual << "\n"; return code; } -- GitLab