Preconditioner refactoring.

1. Added a Preconditioner interface.
2. SCHUR_JACOBI is now its own class and is independent of
SuiteSparse.

Change-Id: Id912ab19cf3736e61d1b90ddaf5bfba33e877ec4
This commit is contained in:
Sameer Agarwal
2013-02-17 16:50:37 -08:00
parent d010de5435
commit 290b975d1d
19 changed files with 583 additions and 196 deletions
+1 -2
View File
@@ -185,8 +185,7 @@ string Solver::Summary::FullReport() const {
if (linear_solver_type_used == SPARSE_NORMAL_CHOLESKY ||
linear_solver_type_used == SPARSE_SCHUR ||
(linear_solver_type_used == ITERATIVE_SCHUR &&
(preconditioner_type == SCHUR_JACOBI ||
preconditioner_type == CLUSTER_JACOBI ||
(preconditioner_type == CLUSTER_JACOBI ||
preconditioner_type == CLUSTER_TRIDIAGONAL))) {
StringAppendF(&report, "\nSparse Linear Algebra Library %15s\n",
SparseLinearAlgebraLibraryTypeToString(