From 7fc52574b9f4ff57f80f4fcff30ce9c225b6ec11 Mon Sep 17 00:00:00 2001 From: Laurent Saboret Date: Mon, 4 Dec 2006 13:56:09 +0000 Subject: [PATCH] Copied Jacobi and SSOR preconditioners for OpenNL's BICGSTAB and Conjugate Gradient from Graphite 1.9. Uses by default Jacobi preconditioner. --- OpenNL/include/OpenNL/preconditioner.h | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/OpenNL/include/OpenNL/preconditioner.h b/OpenNL/include/OpenNL/preconditioner.h index ec3d300d209..7534f264c72 100644 --- a/OpenNL/include/OpenNL/preconditioner.h +++ b/OpenNL/include/OpenNL/preconditioner.h @@ -69,8 +69,7 @@ public: void mult_upper_inverse(const FullVector& x, FullVector& y) const ; /** - * To use this function, the matrix A should be symmetric and - * should have been constructed with the flag store_transpose. + * To use this function, the matrix A should be symmetric. */ void mult_lower_inverse(const FullVector& x, FullVector& y) const ; @@ -181,8 +180,7 @@ public: public: /** - * The matrix A should have been constructed with - * the flag set_transpose. + * The matrix A should be symmetric. */ SSOR_Preconditioner( const SparseMatrix& A, CoeffType omega = 1.0